Skip to content
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

Add global imagePullSecrets to overwrite any other existing one #989

Merged
merged 5 commits into from
Mar 12, 2019
Merged

Add global imagePullSecrets to overwrite any other existing one #989

merged 5 commits into from
Mar 12, 2019

Conversation

carrodher
Copy link
Contributor

Signed-off-by: Carlos Rodriguez Hernandez crhernandez@bitnami.com

What this PR does/why we need it:

This PR allows using a global parameter to indicate the array of secret names to use as Image Registry Secret.

Use:

$ kubectl create secret XXXX ...
$ helm install bitnami/kubeapps --name kubeapps --set global.imagePullSecrets=XXXX ...

Specify a secret globally for a specific registry, in this way, we are able to modify the registry and the secret for pulling images for all Charts globally without having to specify this per image

Carlos Rodriguez Hernandez added 2 commits March 12, 2019 14:41
Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
chart/kubeapps/templates/_helpers.tpl Outdated Show resolved Hide resolved
chart/kubeapps/values.yaml Outdated Show resolved Hide resolved
Carlos Rodriguez Hernandez added 2 commits March 12, 2019 15:46
Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
Copy link
Contributor

@andresmgot andresmgot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (apart from the comment)

chart/kubeapps/templates/_helpers.tpl Outdated Show resolved Hide resolved
Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
@andresmgot
Copy link
Contributor

Thanks for the PR @carrodher

@andresmgot andresmgot merged commit 0dc038c into vmware-tanzu:master Mar 12, 2019
@carrodher carrodher deleted the globalPull branch March 21, 2019 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants