forked from Deuxfleurs/garage
Fix volume handling and persistence flag
This commit is contained in:
parent
e94d6f78d7
commit
49a138b670
1 changed files with 2 additions and 2 deletions
|
@ -81,16 +81,16 @@ spec:
|
|||
name: {{ include "garage.fullname" . }}-config
|
||||
- name: etc
|
||||
emptyDir: {}
|
||||
{{- if eq .Values.deployment.kind "DaemonSet" }}
|
||||
{{- if .Values.persistence.enabled }}
|
||||
{{- if eq .Values.deployment.kind "DaemonSet" }}
|
||||
- name: meta
|
||||
hostPath:
|
||||
path: {{ .Values.persistence.meta.hostPath }}
|
||||
- name: data
|
||||
hostPath:
|
||||
path: {{ .Values.persistence.data.hostPath }}
|
||||
{{- else }}
|
||||
{{- end }}
|
||||
{{- else }}
|
||||
- name: meta
|
||||
emptyDir: {}
|
||||
- name: data
|
||||
|
|
Loading…
Reference in a new issue