File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
charts/metrics-operator/templates Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3333 - name : {{ .Chart.Name }}-init
3434 securityContext :
3535 {{- toYaml .Values.securityContext | nindent 12 }}
36- image : " {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
36+ image : " {{ ternary " " (print (.Values.global).imageRegistry " /") (empty (.Values.global).imageRegistry) }}{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
3737 imagePullPolicy : {{ .Values.image.pullPolicy }}
3838 args :
3939 - init
@@ -108,7 +108,7 @@ spec:
108108 - name : {{ .Chart.Name }}
109109 securityContext :
110110 {{- toYaml .Values.securityContext | nindent 12 }}
111- image : " {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
111+ image : " {{ ternary " " (print (.Values.global).imageRegistry " /") (empty (.Values.global).imageRegistry) }}{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
112112 imagePullPolicy : {{ .Values.image.pullPolicy }}
113113 args :
114114 - start
You can’t perform that action at this time.
0 commit comments