-
Notifications
You must be signed in to change notification settings - Fork 2k
cluster/test-deploy/aws/openshift: Set the pull secret as a string #1362
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
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: wking If they are not already assigned, you can assign the PR to them by writing 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 |
Catching up with openshift/installer@8a84eb2e (*: Replace PullSecretPath with PullSecret, 2018-09-05, openshift/installer#208). The jq call ensures the secret JSON is on a single line, otherwise we'd need to be a bit more careful about injecting it into the YAML as a valid string literal. I've replaced the inputs.yaml copy with a sed invocation to avoid leaking the internal pull secret into the output artifacts. I'm not sure how sensitive it is though, maybe we don't mind leaking the secret?
fa61f1b to
4b5af22
Compare
|
/uncc |
|
openshift/installer#208 landed, so we're good to go here. /hold cancel @stevekuznetsov, @smarterclayton, can one of take a look? |
|
Maybe I should drop the |
|
The secret isn't that secure, but it would be better to accept it as a file. Images in 4.0 will continue to be protected, and the ci infra will likely start using that mechanism as well to ensure it is always functioning. |
Thoughts on openshift/installer#205 then? Don't set the pull secret there at all? |
|
@wking: PR needs rebase. DetailsInstructions 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. |
|
This is obsolete since #1677. While that is still inserting the pull secret as a path, |
Catching up with openshift/installer#208.
I've replaced the
inputs.yamlcopy with asedinvocation to avoid leaking the internal pull secret into the output artifacts. I'm not sure how sensitive it is though, maybe we don't mind leaking the secret?/hold
We don't want to merge this until the installer PR lands.