aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaiyou <dev@kaiyou.fr>2022-11-06 17:50:06 +0100
committerkaiyou <dev@kaiyou.fr>2022-12-25 13:30:14 +0100
commit49a138b670cf820a69b76ed8de1fa3a10d9070ff (patch)
tree544defe99a885134146954ac67b1e058e7b8b494
parente94d6f78d7584b64115905d4d6f7959160dd1936 (diff)
downloadgarage-49a138b670cf820a69b76ed8de1fa3a10d9070ff.tar.gz
garage-49a138b670cf820a69b76ed8de1fa3a10d9070ff.zip
Fix volume handling and persistence flag
-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