aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/helm/garage/templates/workload.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/helm/garage/templates/workload.yaml b/script/helm/garage/templates/workload.yaml
index f41eff6f..26ff153f 100644
--- a/script/helm/garage/templates/workload.yaml
+++ b/script/helm/garage/templates/workload.yaml
@@ -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