summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mariadb-galera
diff options
context:
space:
mode:
authormahendrr <mahendra.raghuwanshi@amdocs.com>2019-04-12 07:11:32 +0000
committermahendrr <mahendra.raghuwanshi@amdocs.com>2019-04-12 07:12:10 +0000
commit91fc6a9db5da0ab60325e1f83b3f6310e185044a (patch)
treed04fe4ca9227ec1771352f32959d83d66fff2467 /kubernetes/common/mariadb-galera
parentc22ceb9913b31ad2738a1f1391b382352a5de67d (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/mariadb-galera')
-rw-r--r--kubernetes/common/mariadb-galera/templates/statefulset.yaml1
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