From ce086f7e41b512768bc87a7e2bf72bd6acc5bf86 Mon Sep 17 00:00:00 2001 From: Itxaka Date: Wed, 29 May 2019 14:06:21 +0200 Subject: [PATCH] mariadb: fix hostpath values Use the correct declaration of the hostpath Change-Id: I7661083ad24abfb8469700ab2039b4b7be5dd681 --- mariadb/templates/statefulset.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mariadb/templates/statefulset.yaml b/mariadb/templates/statefulset.yaml index 1ab707935..5767a5a80 100644 --- a/mariadb/templates/statefulset.yaml +++ b/mariadb/templates/statefulset.yaml @@ -240,7 +240,9 @@ spec: {{- if not .Values.volume.enabled }} - name: mysql-data {{- if .Values.volume.use_local_path_for_single_pod_cluster.enabled }} - hostPath: {{ .Values.volume.use_local_path_for_single_pod_cluster.host_path }} + hostPath: + path: {{ .Values.volume.use_local_path_for_single_pod_cluster.host_path }} + type: DirectoryOrCreate {{- else }} emptyDir: {} {{- end }}