diff options
author | mahendrr <mahendra.raghuwanshi@amdocs.com> | 2019-04-12 07:11:32 +0000 |
---|---|---|
committer | mahendrr <mahendra.raghuwanshi@amdocs.com> | 2019-04-12 07:12:10 +0000 |
commit | 91fc6a9db5da0ab60325e1f83b3f6310e185044a (patch) | |
tree | d04fe4ca9227ec1771352f32959d83d66fff2467 /kubernetes/common | |
parent | c22ceb9913b31ad2738a1f1391b382352a5de67d (diff) |
mariadb-galera initContainer not honour pullPolicy
Change-Id: Ie1f76bd81c001b688aaf2a34b04b3399520a6999
Issue-ID: OOM-1794
Signed-off-by: mahendrr <mahendra.raghuwanshi@amdocs.com>
Diffstat (limited to 'kubernetes/common')
-rw-r--r-- | kubernetes/common/mariadb-galera/templates/statefulset.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/common/mariadb-galera/templates/statefulset.yaml b/kubernetes/common/mariadb-galera/templates/statefulset.yaml index 601057ff6f..6dc5a7aad6 100644 --- a/kubernetes/common/mariadb-galera/templates/statefulset.yaml +++ b/kubernetes/common/mariadb-galera/templates/statefulset.yaml @@ -113,6 +113,7 @@ spec: initContainers: - name: mariadb-galera-prepare image: "{{ include "common.repository" . }}/{{ .Values.imageInit }}" + imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy | quote}} command: ["sh", "-c", "chown -R 27:27 /var/lib/mysql"] volumeMounts: - name: {{ include "common.fullname" . }}-data |