2021-02-26 01:34:15 +00:00
|
|
|
--- charts-original/templates/controller-daemonset.yaml
|
|
|
|
+++ charts/templates/controller-daemonset.yaml
|
2021-07-08 23:40:54 +00:00
|
|
|
@@ -64,9 +64,7 @@
|
2021-05-07 19:43:34 +00:00
|
|
|
{{- end }}
|
2021-02-26 01:34:15 +00:00
|
|
|
containers:
|
2021-07-08 23:40:54 +00:00
|
|
|
- name: {{ .Values.controller.containerName }}
|
2021-05-07 19:43:34 +00:00
|
|
|
- {{- with .Values.controller.image }}
|
2021-07-08 23:40:54 +00:00
|
|
|
- image: "{{- if .repository -}}{{ .repository }}{{ else }}{{ .registry }}/{{ .image }}{{- end -}}:{{ .tag }}{{- if (.digest) -}} @{{.digest}} {{- end -}}"
|
2021-05-07 19:43:34 +00:00
|
|
|
- {{- end }}
|
2021-07-08 23:40:54 +00:00
|
|
|
+ image: "{{ template "system_default_registry" . }}{{ template "repository_or_registry_and_image" .Values.controller.image }}"
|
2021-05-07 19:43:34 +00:00
|
|
|
imagePullPolicy: {{ .Values.controller.image.pullPolicy }}
|
|
|
|
{{- if .Values.controller.lifecycle }}
|
|
|
|
lifecycle: {{ toYaml .Values.controller.lifecycle | nindent 12 }}
|