Commit 5a80da6
committed
fix: standardize global image registry to match other Grafana charts
Fixes #19212
This PR standardizes the global image registry configuration to match
other Grafana charts by supporting the standard global.imageRegistry format
while maintaining backwards compatibility.
Changes:
- Add support for standard global.imageRegistry in _helpers.tpl
- Add global.imageRegistry to values.yaml with proper documentation
- Maintain backwards compatibility with existing global.image.registry
- Update precedence order: global.imageRegistry > global.image.registry > global.registry
Users can now use the standard format across all Grafana charts:
global:
imageRegistry: my-registry.com
While existing configurations continue to work:
global:
image:
registry: my-registry.com
Signed-off-by: puretension <[email protected]>1 parent 37eddab commit 5a80da6
File tree
3 files changed
+5
-3
lines changed- production/helm/loki
- templates
3 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | | - | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
0 commit comments