--- charts-original/templates/cilium-preflight/daemonset.yaml +++ charts/templates/cilium-preflight/daemonset.yaml @@ -28,14 +28,14 @@ {{- end }} initContainers: - name: clean-cilium-state - image: {{ include "cilium.image" .Values.preflight.image | quote }} + image: "{{ template "system_default_registry" . }}{{ include "cilium.image" .Values.preflight.image }}" imagePullPolicy: {{ .Values.preflight.image.pullPolicy }} command: ["/bin/echo"] args: - "hello" containers: - name: cilium-pre-flight-check - image: {{ include "cilium.image" .Values.preflight.image | quote }} + image: "{{ template "system_default_registry" . }}{{ include "cilium.image" .Values.preflight.image }}" imagePullPolicy: {{ .Values.preflight.image.pullPolicy }} command: ["/bin/sh"] args: @@ -82,7 +82,7 @@ {{- end }} {{- if ne .Values.preflight.tofqdnsPreCache "" }} - name: cilium-pre-flight-fqdn-precache - image: {{ include "cilium.image" .Values.preflight.image | quote }} + image: "{{ template "system_default_registry" . }}{{ include "cilium.image" .Values.preflight.image }}" imagePullPolicy: {{ .Values.preflight.image.pullPolicy }} name: cilium-pre-flight-fqdn-precache command: ["/bin/sh"]