mariadb: fix hostpath values
Use the correct declaration of the hostpath Change-Id: I7661083ad24abfb8469700ab2039b4b7be5dd681
This commit is contained in:
parent
ed200cb3b0
commit
ce086f7e41
@ -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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user