rke2-charts/packages/rke2-ingress-nginx/generated-changes/patch/templates/controller-daemonset.yaml.p...

16 lines
837 B
Diff
Raw Normal View History

--- charts-original/templates/controller-daemonset.yaml
+++ charts/templates/controller-daemonset.yaml
@@ -62,10 +62,8 @@
{{- end }}
{{- end }}
containers:
- - name: controller
- {{- with .Values.controller.image }}
- image: "{{.repository}}:{{ .tag }}{{- if (.digest) -}} @{{.digest}} {{- end -}}"
- {{- end }}
+ - name: rke2-ingress-nginx-controller
+ image: "{{ template "system_default_registry" . }}{{ .Values.controller.image.repository }}:{{ .Values.controller.image.tag }}{{- if (.Values.controller.image.digest) -}} @{{.Values.controller.image.digest}} {{- end -}}"
imagePullPolicy: {{ .Values.controller.image.pullPolicy }}
{{- if .Values.controller.lifecycle }}
lifecycle: {{ toYaml .Values.controller.lifecycle | nindent 12 }}