2021-02-26 01:34:15 +00:00
|
|
|
--- charts-original/templates/controller-daemonset.yaml
|
|
|
|
+++ charts/templates/controller-daemonset.yaml
|
2021-05-11 17:07:23 +00:00
|
|
|
@@ -62,10 +62,8 @@
|
|
|
|
{{- end }}
|
2021-05-07 19:43:34 +00:00
|
|
|
{{- end }}
|
2021-02-26 01:34:15 +00:00
|
|
|
containers:
|
2021-05-11 17:07:23 +00:00
|
|
|
- - name: controller
|
2021-05-07 19:43:34 +00:00
|
|
|
- {{- with .Values.controller.image }}
|
|
|
|
- image: "{{.repository}}:{{ .tag }}{{- if (.digest) -}} @{{.digest}} {{- end -}}"
|
|
|
|
- {{- end }}
|
2021-05-11 17:07:23 +00:00
|
|
|
+ - name: rke2-ingress-nginx-controller
|
2021-05-07 19:43:34 +00:00
|
|
|
+ image: "{{ template "system_default_registry" . }}{{ .Values.controller.image.repository }}:{{ .Values.controller.image.tag }}{{- if (.Values.controller.image.digest) -}} @{{.Values.controller.image.digest}} {{- end -}}"
|
|
|
|
imagePullPolicy: {{ .Values.controller.image.pullPolicy }}
|
|
|
|
{{- if .Values.controller.lifecycle }}
|
|
|
|
lifecycle: {{ toYaml .Values.controller.lifecycle | nindent 12 }}
|