From 91fc6a9db5da0ab60325e1f83b3f6310e185044a Mon Sep 17 00:00:00 2001 From: mahendrr Date: Fri, 12 Apr 2019 07:11:32 +0000 Subject: mariadb-galera initContainer not honour pullPolicy Change-Id: Ie1f76bd81c001b688aaf2a34b04b3399520a6999 Issue-ID: OOM-1794 Signed-off-by: mahendrr --- kubernetes/common/mariadb-galera/templates/statefulset.yaml | 1 + 1 file changed, 1 insertion(+) 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 -- cgit 1.2.3-korg