Skip to content

Fix: try empty credentials as last option#1100

Merged
knative-prow[bot] merged 1 commit intoknative:mainfrom
matejvasek:fix-empty-cred-as-last
Jul 8, 2022
Merged

Fix: try empty credentials as last option#1100
knative-prow[bot] merged 1 commit intoknative:mainfrom
matejvasek:fix-empty-cred-as-last

Conversation

@matejvasek
Copy link
Contributor

@matejvasek matejvasek commented Jul 8, 2022

Changes

  • 🐛 Fix using empty credentials for docker.io, the issue is that docker.io recognizes empty credentials (as opposed to for instance quay.io), but only for read operations. So authentication passes but not authorization.

/kind bug

bugfix: using empty credentials for docker.io

Signed-off-by: Matej Vasek <mvasek@redhat.com>
@knative-prow knative-prow bot added kind/bug Bugs size/XS 🤖 PR changes 0-9 lines, ignoring generated files. labels Jul 8, 2022
@knative-prow
Copy link

knative-prow bot commented Jul 8, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: matejvasek

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow knative-prow bot added the approved 🤖 PR has been approved by an approver from all required OWNERS files. label Jul 8, 2022
@codecov
Copy link

codecov bot commented Jul 8, 2022

Codecov Report

Merging #1100 (64a62ec) into main (afd224f) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1100   +/-   ##
=======================================
  Coverage   44.94%   44.94%           
=======================================
  Files          64       64           
  Lines        8502     8502           
=======================================
  Hits         3821     3821           
  Misses       4298     4298           
  Partials      383      383           
Impacted Files Coverage Δ
docker/creds/credentials.go 69.25% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update afd224f...64a62ec. Read the comment docs.

@lance
Copy link
Contributor

lance commented Jul 8, 2022

/lgtm
/hold for tests

@knative-prow knative-prow bot added the do-not-merge/hold 🤖 PR should not merge because someone has issued a /hold command. label Jul 8, 2022
@knative-prow knative-prow bot added the lgtm 🤖 PR is ready to be merged. label Jul 8, 2022
@lance
Copy link
Contributor

lance commented Jul 8, 2022

/unhold

@knative-prow knative-prow bot removed the do-not-merge/hold 🤖 PR should not merge because someone has issued a /hold command. label Jul 8, 2022
@knative-prow knative-prow bot merged commit f0a33bd into knative:main Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved 🤖 PR has been approved by an approver from all required OWNERS files. kind/bug Bugs lgtm 🤖 PR is ready to be merged. size/XS 🤖 PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants