-
Notifications
You must be signed in to change notification settings - Fork 511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(v1/remote): return an error if both auth and keychain are set #1334
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). For more information, open the CLA check for this pull request. |
99795ab
to
4e03e69
Compare
I haven't verified myself but I'm a little worried about how this might interact with the crane and gcrane packages, which use a keychain my default. This might break callers who supply |
@jonjohnsonjr I'll investigate and update this PR if I find a reasonable fix. |
From what I can see there is no way a caller that passes a |
Codecov Report
@@ Coverage Diff @@
## main #1334 +/- ##
==========================================
- Coverage 74.07% 74.04% -0.03%
==========================================
Files 112 112
Lines 8385 8391 +6
==========================================
+ Hits 6211 6213 +2
- Misses 1570 1574 +4
Partials 604 604
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
go-containerregistry now raises error when both keychain and auth are set(google/go-containerregistry#1334). With this commit, tkn will ignore keychain when auth is provided with flag. fixes: tektoncd#1718
go-containerregistry now raises error when both keychain and auth are set(google/go-containerregistry#1334). With this commit, tkn will ignore keychain when auth is provided with flag. fixes: #1718
Fixes #1332
ping @imjasonh