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

View File

@ -240,7 +240,9 @@ spec:
{{- if not .Values.volume.enabled }} {{- if not .Values.volume.enabled }}
- name: mysql-data - name: mysql-data
{{- if .Values.volume.use_local_path_for_single_pod_cluster.enabled }} {{- 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 }} {{- else }}
emptyDir: {} emptyDir: {}
{{- end }} {{- end }}