Closed thockin closed 11 months ago
Need to adapt this to v3 (https://github.com/kubernetes/git-sync/pull/775)
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: karlkfi, thockin
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Previously, errors from askpass and credential storage were being ignored, causing git clone/fetch to later error with hard-to-read errors.
Now the error indicates the credential refresh as the problem, and either does not try to sync (if no creds) or tries to use previous creds (if they were fetched at some point).
Replaces #774