fix: push perm check for gitlab image registry#3263
fix: push perm check for gitlab image registry#3263knative-prow[bot] merged 2 commits intoknative:mainfrom
Conversation
For whatever reason the gitlab integrated image registry returns 403 instead of 401 when password is empty. Signed-off-by: Matej Vašek <matejvasek@gmail.com>
|
Skipping CI for Draft Pull Request. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3263 +/- ##
==========================================
+ Coverage 54.52% 54.55% +0.02%
==========================================
Files 162 162
Lines 19216 19219 +3
==========================================
+ Hits 10478 10484 +6
+ Misses 7694 7692 -2
+ Partials 1044 1043 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
The CredentialsCallback shall return creds.ErrCredentialsNotFound not nil error if the callback is not appropriate for given registry. Signed-off-by: Matej Vašek <matejvasek@gmail.com>
a1034c7 to
697d086
Compare
|
PTAL @lkingland @gauron99 |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gauron99, matejvasek The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Changes
fixes #3183
For whatever reason the gitlab integrated image registry returns 403 instead of 401 when password is empty.
/kind bug