feat(helm): support global.imageRegistry/global.image.registry#4866
feat(helm): support global.imageRegistry/global.image.registry#4866marcsanmi merged 1 commit intografana:mainfrom
Conversation
simonswine
left a comment
There was a problem hiding this comment.
Not quite sure if this can/should also impact the sub charts that we have:
pyroscope/operations/pyroscope/helm/pyroscope/Chart.yaml
Lines 10 to 23 in e7cc2ff
Note: This would also change the default image to be with docker.io, don't think this is risky.
|
I think this would be a breaking change for users who have a full registry in
Could you default {{- $registry := .Values.global.imageRegistry | default $values.image.registry -}}
image: "{{ if $registry }}{{ $registry }}/{{ end }}{{ $values.image.repository }}:{{ $values.image.tag | default .Chart.AppVersion }}"This way existing users with repository: |
|
Thanks for addressing my earlier feedback @okhowang To address @simonswine's comment about sub-charts: could you rename Also, CI needs the generated files updated — please run |
|
I read both |
operations/pyroscope/helm/pyroscope/templates/deployments-statefulsets.yaml
Outdated
Show resolved
Hide resolved
|
Thanks for the updates. As you might have noticed, there isn't a consistent standard across Grafana charts for the global image registry key:
Loki ended up supporting both with @simonswine — should we support both keys like Loki does (which is what this PR currently implements), or pick just |
|
For reference, the Bitnami common library only uses Given there's no consistent standard across Grafana charts either, maybe I'd lean toward following Bitnami's convention and only supporting |
Agree with that, I have also done a github code search for either and it is about 44k matches for |
|
@okhowang I think you need to run |
marcsanmi
left a comment
There was a problem hiding this comment.
LGTM, thanks for addressing all the changes.
Bump chart version to include the global.imageRegistry feature from #4866. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Bump chart version to include the global.imageRegistry feature from #4866. Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
Bump chart version to include the global.imageRegistry feature from #4866. Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>

Note
Low Risk
Low risk: a small Helm templating change that only affects how container image names are constructed when optional registry values are set.
Overview
Adds support for overriding the container image registry in the Pyroscope Helm chart via either a new
global.imageRegistryvalue (applies across the chart) orpyroscope.image.registry(per-chart).Updates the deployment/statefulset template to prefix images with the chosen registry, and documents/threads the new values through
values.yamland generatedjsonnet/values.json.Written by Cursor Bugbot for commit ef56d98. This will update automatically on new commits. Configure here.