-
Notifications
You must be signed in to change notification settings - Fork 118
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: pull secret getting created even when no authentication is selected #927
fix: pull secret getting created even when no authentication is selected #927
Conversation
Signed-off-by: Harikrishnan Balagopal <harikrishmenon@gmail.com>
Thanks for making a pull request! 😃 |
@@ -143,14 +144,16 @@ func (p registryPreProcessor) preprocess(ir irtypes.IR) (irtypes.IR, error) { | |||
ps := qaengine.FetchStringAnswer(qaKey, fmt.Sprintf("[%s] Enter the name of the pull secret : ", registry), []string{"The pull secret should exist in the namespace where you will be deploying the application."}, "", nil) | |||
imagePullSecrets[registry] = ps | |||
case usernamePasswordLogin: | |||
createPullSecret = true |
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.
createPullSecret = true | |
createPullSecretFromDockerConfig = true |
Partially fixes #902 |
This fixes the pull secret getting created even when we answer
|
This also fixes the pull secret getting created when we select
|
Signed-off-by: Harikrishnan Balagopal harikrishmenon@gmail.com