cilium: Fix image URI of mount-cgroup init container

It was missing the system_default_registry tag.

Ref: #1894
Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
pull/164/head
Michal Rostecki 2021-10-07 12:19:30 +02:00
parent 6b92466167
commit 924c5478e3
2 changed files with 10 additions and 1 deletions

View File

@ -28,6 +28,15 @@
imagePullPolicy: {{ .Values.image.pullPolicy }}
volumeMounts:
- mountPath: /var/run/cilium
@@ -393,7 +390,7 @@
# same directory where we install cilium cni plugin so that exec permissions
# are available.
- 'cp /usr/bin/cilium-mount /hostbin/cilium-mount && nsenter --cgroup=/hostproc/1/ns/cgroup --mount=/hostproc/1/ns/mnt "${BIN_PATH}/cilium-mount" $CGROUP_ROOT; rm /hostbin/cilium-mount'
- image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}{{ if .Values.image.useDigest }}@{{ .Values.image.digest }}{{ end }}"
+ image: {{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }}{{ if .Values.image.useDigest }}@{{ .Values.image.digest }}{{ end }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
volumeMounts:
- mountPath: /hostproc
@@ -406,8 +403,10 @@
{{- if and .Values.nodeinit.enabled (not (eq .Values.nodeinit.bootstrapFile "")) }}
- name: wait-for-node-init

View File

@ -1,3 +1,3 @@
url: local
packageVersion: 03
packageVersion: 04
releaseCandidateVersion: 00