summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <adetalhouet89@gmail.com>2019-04-17 12:24:47 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-17 12:24:47 +0000
commitf0e8c2986c297c16a80dd60615ad43e5c5b755e8 (patch)
tree3543f45a0db69609b07f47b723a82053b3230679
parentca07406a0be8f6fa5cffd37765c3760531d4b032 (diff)
parent91fc6a9db5da0ab60325e1f83b3f6310e185044a (diff)
Merge "mariadb-galera initContainer not honour pullPolicy"
-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