Merge "mariadb: fix hostpath values"

This commit is contained in:
Zuul 2019-05-30 19:46:14 +00:00 committed by Gerrit Code Review
commit c34dbeeec8
1 changed files with 3 additions and 1 deletions

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