--- charts-original/templates/deployment.yaml +++ charts/templates/deployment.yaml @@ -33,7 +33,7 @@ {{- end }} containers: - name: {{ .Chart.Name }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" + image: "{{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }}" args: {{ range .Values.extraArgs }} - {{ . -}} {{ end }} @@ -51,10 +51,10 @@ securityContext: {{ toYaml .Values.podSecurityContext | nindent 8 }} {{- end }} - {{- with .Values.nodeSelector }} + {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} - {{- end }} + {{- end }} {{- with .Values.affinity }} affinity: {{- toYaml . | nindent 8 }}