mariadb: fix hostpath values

Use the correct declaration of the hostpath

Change-Id: I7661083ad24abfb8469700ab2039b4b7be5dd681
This commit is contained in:
Itxaka 2019-05-29 14:06:21 +02:00
parent ed200cb3b0
commit ce086f7e41
No known key found for this signature in database
GPG Key ID: 0FFB0E56C3539E24

View File

@ -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 }}