Skip to content

Commit 8de306b

Browse files
committed
fix(helm): support global registry override for sidecar
Since grafana#19246 the sidecar image would resolve to registry-mirror.example.com/docker.io/kiwigrid/k8s-sidecar when a global registry mirror was defined. Signed-off-by: Sefa Eyeoglu <[email protected]>
1 parent b90ae22 commit 8de306b

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

docs/sources/setup/install/helm/reference.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12240,13 +12240,21 @@ false
1224012240
"IfNotPresent"
1224112241
</pre>
1224212242
</td>
12243+
</tr>
12244+
<tr>
12245+
<td>sidecar.image.registry</td>
12246+
<td>string</td>
12247+
<td>The Docker registry for the k8s sidecar</td>
12248+
<td><pre lang="json">
12249+
"docker.io"
12250+
</pre>
1224312251
</tr>
1224412252
<tr>
1224512253
<td>sidecar.image.repository</td>
1224612254
<td>string</td>
12247-
<td>The Docker registry and image for the k8s sidecar</td>
12255+
<td>Docker image repository for the k8s sidecar</td>
1224812256
<td><pre lang="json">
12249-
"docker.io/kiwigrid/k8s-sidecar"
12257+
"kiwigrid/k8s-sidecar"
1225012258
</pre>
1225112259
</td>
1225212260
</tr>

production/helm/loki/values.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3984,8 +3984,10 @@ extraObjects: null
39843984

39853985
sidecar:
39863986
image:
3987-
# -- The Docker registry and image for the k8s sidecar
3988-
repository: docker.io/kiwigrid/k8s-sidecar
3987+
# -- The Docker registry for the k8s sidecar
3988+
registry: docker.io
3989+
# -- Docker image repository for the k8s sidecar
3990+
repository: kiwigrid/k8s-sidecar
39893991
# -- Docker image tag
39903992
tag: 1.30.10
39913993
# -- Docker image sha. If empty, no sha will be used

0 commit comments

Comments
 (0)