mirror of https://git.rancher.io/rke2-charts
14 lines
779 B
Diff
14 lines
779 B
Diff
--- charts-original/templates/controller-daemonset.yaml
|
|
+++ charts/templates/controller-daemonset.yaml
|
|
@@ -67,9 +67,7 @@
|
|
{{- end }}
|
|
containers:
|
|
- name: {{ .Values.controller.containerName }}
|
|
- {{- with .Values.controller.image }}
|
|
- image: "{{- if .repository -}}{{ .repository }}{{ else }}{{ .registry }}/{{ .image }}{{- end -}}:{{ .tag }}{{- if (.digest) -}} @{{.digest}} {{- end -}}"
|
|
- {{- end }}
|
|
+ image: "{{ template "system_default_registry" . }}{{ template "repository_or_registry_and_image" .Values.controller.image }}"
|
|
imagePullPolicy: {{ .Values.controller.image.pullPolicy }}
|
|
{{- if .Values.controller.lifecycle }}
|
|
lifecycle: {{ toYaml .Values.controller.lifecycle | nindent 12 }}
|