2021-02-26 01:34:15 +00:00
|
|
|
--- charts-original/templates/controller-daemonset.yaml
|
|
|
|
+++ charts/templates/controller-daemonset.yaml
|
2022-04-26 02:34:15 +00:00
|
|
|
@@ -73,9 +73,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 }}
|
2022-04-26 02:34:15 +00:00
|
|
|
- image: "{{- if .repository -}}{{ .repository }}{{ else }}{{ .registry }}/{{ include "ingress-nginx.image" . }}{{- end -}}:{{ .tag }}{{ include "ingress-nginx.imageDigest" . }}"
|
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 }}
|