mirror of https://git.rancher.io/rke2-charts
14 lines
798 B
Diff
14 lines
798 B
Diff
--- charts-original/templates/controller-deployment.yaml
|
|
+++ charts/templates/controller-deployment.yaml
|
|
@@ -78,9 +78,7 @@
|
|
{{- end }}
|
|
containers:
|
|
- name: {{ .Values.controller.containerName }}
|
|
- {{- with .Values.controller.image }}
|
|
- image: {{ if .repository }}{{ .repository }}{{ else }}{{ .registry }}/{{ include "ingress-nginx.image" . }}{{ end }}:{{ .tag }}{{ include "ingress-nginx.imageDigest" . }}
|
|
- {{- 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 }}
|