-
Notifications
You must be signed in to change notification settings - Fork 174
Clean up auth for host builder #3298
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
Conversation
Signed-off-by: Matej Vašek <matejvasek@gmail.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3298 +/- ##
=======================================
Coverage 54.92% 54.92%
=======================================
Files 170 170
Lines 19744 19736 -8
=======================================
- Hits 10844 10840 -4
+ Misses 7832 7831 -1
+ Partials 1068 1065 -3
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:
|
| uname := viper.GetString("username") | ||
| passw := viper.GetString("password") | ||
| token := viper.GetString("token") |
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.
I know, I know… is not neat, but still better that that context …thing…
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.
This way the ugly crap is isolated just in one package (cmd).
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.
I agree. The context thing was just a stop-gap for a better solution as we transition (hopefully) to a shared creds package that supports username/password more natively.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lkingland, 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 |
|
/help |
|
/cherry-pick release-1.20 |
|
@matejvasek: new pull request created: #3300 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Signed-off-by: Matej Vašek <matejvasek@gmail.com>
Changes
contextsince we already pass credentials in a different way.FUNC_[USERNAME|PASSWORD]environment variables now work also for the pushers other that thehostpusher.