diff options
author | Alexis de Talhouƫt <adetalhouet89@gmail.com> | 2019-04-17 12:24:47 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-17 12:24:47 +0000 |
commit | f0e8c2986c297c16a80dd60615ad43e5c5b755e8 (patch) | |
tree | 3543f45a0db69609b07f47b723a82053b3230679 | |
parent | ca07406a0be8f6fa5cffd37765c3760531d4b032 (diff) | |
parent | 91fc6a9db5da0ab60325e1f83b3f6310e185044a (diff) |
Merge "mariadb-galera initContainer not honour pullPolicy"
-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 |