Enable daemonset deployment using the helm chart #409

Merged
lx merged 5 commits from kaiyou/garage:feat-k8s-daemonset into main 2023-01-26 21:07:58 +00:00
Showing only changes of commit 49a138b670 - Show all commits

View file

@ -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