Fix volume handling and persistence flag
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
parent
f285cb6ecf
commit
bf5868a71d
1 changed files with 2 additions and 2 deletions
|
@ -81,16 +81,16 @@ spec:
|
||||||
name: {{ include "garage.fullname" . }}-config
|
name: {{ include "garage.fullname" . }}-config
|
||||||
- name: etc
|
- name: etc
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
{{- if eq .Values.deployment.kind "DaemonSet" }}
|
|
||||||
{{- if .Values.persistence.enabled }}
|
{{- if .Values.persistence.enabled }}
|
||||||
|
{{- if eq .Values.deployment.kind "DaemonSet" }}
|
||||||
- name: meta
|
- name: meta
|
||||||
hostPath:
|
hostPath:
|
||||||
path: {{ .Values.persistence.meta.hostPath }}
|
path: {{ .Values.persistence.meta.hostPath }}
|
||||||
- name: data
|
- name: data
|
||||||
hostPath:
|
hostPath:
|
||||||
path: {{ .Values.persistence.data.hostPath }}
|
path: {{ .Values.persistence.data.hostPath }}
|
||||||
{{- else }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
- name: meta
|
- name: meta
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
- name: data
|
- name: data
|
||||||
|
|
Loading…
Reference in a new issue