|
37 | 37 | {{- end }} |
38 | 38 | containers: |
39 | 39 | - name: st2-apply-rbac-definitions |
40 | | - image: '{{ template "imageRepository" . }}/st2actionrunner:{{ .Chart.AppVersion }}' |
| 40 | + image: '{{ template "imageRepository" . }}/st2actionrunner:{{ tpl (.Values.jobs.image.tag | default (.Values.st2actionrunner.image.tag | default .Values.image.tag)) . }}' |
41 | 41 | imagePullPolicy: {{ .Values.image.pullPolicy }} |
42 | 42 | command: |
43 | 43 | - st2-apply-rbac-definitions |
@@ -125,7 +125,7 @@ spec: |
125 | 125 | done |
126 | 126 | # Sidecar container for generating st2client config with st2 username & password pair and sharing produced file with the main container |
127 | 127 | - name: generate-st2client-config |
128 | | - image: '{{ template "imageRepository" . }}/st2actionrunner:{{ .Chart.AppVersion }}' |
| 128 | + image: '{{ template "imageRepository" . }}/st2actionrunner:{{ tpl (.Values.jobs.image.tag | default (.Values.st2actionrunner.image.tag | default .Values.image.tag)) . }}' |
129 | 129 | imagePullPolicy: {{ .Values.image.pullPolicy }} |
130 | 130 | envFrom: |
131 | 131 | - configMapRef: |
@@ -156,7 +156,7 @@ spec: |
156 | 156 | EOT |
157 | 157 | containers: |
158 | 158 | - name: st2-apikey-load |
159 | | - image: '{{ template "imageRepository" . }}/st2actionrunner:{{ .Chart.AppVersion }}' |
| 159 | + image: '{{ template "imageRepository" . }}/st2actionrunner:{{ tpl (.Values.jobs.image.tag | default (.Values.st2actionrunner.image.tag | default .Values.image.tag)) . }}' |
160 | 160 | imagePullPolicy: {{ .Values.image.pullPolicy }} |
161 | 161 | command: |
162 | 162 | - st2 |
@@ -223,7 +223,7 @@ spec: |
223 | 223 | {{ include "init-containers-wait-for-db" . | indent 6 }} |
224 | 224 | # Sidecar container for generating st2client config with st2 username & password pair and sharing produced file with the main container |
225 | 225 | - name: generate-st2client-config |
226 | | - image: '{{ template "imageRepository" . }}/st2actionrunner:{{ .Chart.AppVersion }}' |
| 226 | + image: '{{ template "imageRepository" . }}/st2actionrunner:{{ tpl (.Values.jobs.image.tag | default (.Values.st2actionrunner.image.tag | default .Values.image.tag)) . }}' |
227 | 227 | imagePullPolicy: {{ .Values.image.pullPolicy }} |
228 | 228 | envFrom: |
229 | 229 | - configMapRef: |
@@ -254,7 +254,7 @@ spec: |
254 | 254 | EOT |
255 | 255 | containers: |
256 | 256 | - name: st2-key-load |
257 | | - image: '{{ template "imageRepository" . }}/st2actionrunner:{{ .Chart.AppVersion }}' |
| 257 | + image: '{{ template "imageRepository" . }}/st2actionrunner:{{ tpl (.Values.jobs.image.tag | default (.Values.st2actionrunner.image.tag | default .Values.image.tag)) . }}' |
258 | 258 | imagePullPolicy: {{ .Values.image.pullPolicy }} |
259 | 259 | command: |
260 | 260 | - st2 |
@@ -336,7 +336,7 @@ spec: |
336 | 336 | {{ end }} |
337 | 337 | containers: |
338 | 338 | - name: st2-register-content |
339 | | - image: '{{ template "imageRepository" . }}/st2actionrunner:{{ .Chart.AppVersion }}' |
| 339 | + image: '{{ template "imageRepository" . }}/st2actionrunner:{{ tpl (.Values.jobs.image.tag | default (.Values.st2actionrunner.image.tag | default .Values.image.tag)) . }}' |
340 | 340 | imagePullPolicy: {{ .Values.image.pullPolicy }} |
341 | 341 | command: |
342 | 342 | - st2-register-content |
|
0 commit comments