aboutsummaryrefslogtreecommitdiff
path: root/script/helm/garage/templates/workload.yaml
diff options
context:
space:
mode:
authorEugene Davis <eugene@eugenemdavis.net>2024-10-26 21:00:53 +0200
committerEugene Davis <eugene@eugenemdavis.net>2024-10-26 21:14:08 +0200
commit116ad479a839b08092663936a818317e2e624bfa (patch)
tree046b259cfeeda5d6d1fadcfd053a495d2475b48e /script/helm/garage/templates/workload.yaml
parenta18b3f0d1fb932df5abce6f5e79169ca01006e3b (diff)
downloadgarage-116ad479a839b08092663936a818317e2e624bfa.tar.gz
garage-116ad479a839b08092663936a818317e2e624bfa.zip
add extraVolumes and extraVolumeMounts to helm chart
Diffstat (limited to 'script/helm/garage/templates/workload.yaml')
-rw-r--r--script/helm/garage/templates/workload.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/script/helm/garage/templates/workload.yaml b/script/helm/garage/templates/workload.yaml
index 635e70e0..251813e4 100644
--- a/script/helm/garage/templates/workload.yaml
+++ b/script/helm/garage/templates/workload.yaml
@@ -76,6 +76,9 @@ spec:
- name: etc
mountPath: /etc/garage.toml
subPath: garage.toml
+ {{- with .Values.extraVolumeMounts }}
+ {{- toYaml . | nindent 12 }}
+ {{- end }}
# TODO
# livenessProbe:
# httpGet:
@@ -110,6 +113,9 @@ spec:
- name: data
emptyDir: {}
{{- end }}
+ {{- with .Values.extraVolumes }}
+ {{- toYaml . | nindent 8 }}
+ {{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}