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

[grafana] Add global image registry support for extraInitContainers #2748

Conversation

pvallone
Copy link
Contributor

If a client sets global.imageRegistry, that registry should override whatever registries are specified in extraInitContainers.

Signed-off-by: Philip Vallone <vallonephilip@gmail.com>
Signed-off-by: Philip Vallone <vallonephilip@gmail.com>
@zanhsieh zanhsieh merged commit d9ef6ab into grafana:main Oct 31, 2023
@buroa
Copy link

buroa commented Oct 31, 2023

This completely breaks any customization of init containers to only the variables specified (name, image, volume mounts):

https://github.com/buroa/k8s-gitops/blob/master/kubernetes/apps/monitoring/grafana/app/helmrelease.yaml#L28-L34

@zanhsieh @pvallone We should maintain functionality, so either revert or revise.

@onedr0p
Copy link
Contributor

onedr0p commented Oct 31, 2023

An init container could be from any registry even ones outside the default global registry, please revert this.

@samip5
Copy link

samip5 commented Oct 31, 2023

Please revert or revise.

@buroa buroa mentioned this pull request Nov 1, 2023
kashalls added a commit to kashalls/home-cluster that referenced this pull request Nov 1, 2023
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.

None yet

5 participants