mirror of https://git.rancher.io/rke2-charts
12 lines
584 B
Diff
12 lines
584 B
Diff
|
--- charts-original/templates/controller-deployment.yaml
|
||
|
+++ charts/templates/controller-deployment.yaml
|
||
|
@@ -65,7 +65,7 @@
|
||
|
containers:
|
||
|
- name: controller
|
||
|
{{- with .Values.controller.image }}
|
||
|
- image: "{{.repository}}:{{ .tag }}{{- if (.digest) -}} @{{.digest}} {{- end -}}"
|
||
|
+ image: "{{ template "system_default_registry" . }}{{.repository}}:{{ .tag }}{{- if (.digest) -}} @{{.digest}} {{- end -}}"
|
||
|
{{- end }}
|
||
|
imagePullPolicy: {{ .Values.controller.image.pullPolicy }}
|
||
|
{{- if .Values.controller.lifecycle }}
|