-
Notifications
You must be signed in to change notification settings - Fork 453
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
Implement password input on the command line #997
Implement password input on the command line #997
Conversation
Welcome @sgaist! |
91d3ed2
to
f30f7f2
Compare
@haircommander PTAL |
cmd/crictl/image.go
Outdated
@@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); | |||
you may not use this file except in compliance with the License. | |||
You may obtain a copy of the License at | |||
|
|||
http://www.apache.org/licenses/LICENSE-2.0 | |||
http://www.apache.org/licenses/LICENSE-2.0 |
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.
nit: if you end up updating something, can you revert this change?
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.
actually, the boilerplate linter is failing because of this
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.
Strange, it is something that was changed when I used one of go mod vendor
or gofmt
but running either of them again after reverting the change does not mention it anymore.
I was wrong, with my editor I saw that I used spaces in place of tabs as the surrounding code and applied a cleanup to be consistent with the rest of the file hence the change to that line.
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!
Rather than writing full credentials on the command line this option allows user to pass a username and get asked for the password as can be done with the ssh command line application.
f30f7f2
to
4b984dd
Compare
/lgtm |
@haircommander: changing LGTM is restricted to collaborators In 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/test-infra repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: saschagrunert, sgaist The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Rather than writing full credentials on the command line when pulling an image this option allows user to pass a username and get asked for the password as can be done with the ssh command line application.
Which issue(s) this PR fixes:
Fixes #996
Special notes for your reviewer:
Does this PR introduce a user-facing change?