--- charts-original/templates/controller-deployment.yaml +++ charts/templates/controller-deployment.yaml @@ -66,10 +66,8 @@ {{- end }} {{- end }} containers: - - name: controller - {{- with .Values.controller.image }} - image: "{{.repository}}:{{ .tag }}{{- if (.digest) -}} @{{.digest}} {{- end -}}" - {{- end }} + - name: rke2-ingress-nginx-controller + 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 }}