aboutsummaryrefslogtreecommitdiff
path: root/script/helm
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
parenta18b3f0d1fb932df5abce6f5e79169ca01006e3b (diff)
downloadgarage-116ad479a839b08092663936a818317e2e624bfa.tar.gz
garage-116ad479a839b08092663936a818317e2e624bfa.zip
add extraVolumes and extraVolumeMounts to helm chart
Diffstat (limited to 'script/helm')
-rw-r--r--script/helm/garage/templates/workload.yaml6
-rw-r--r--script/helm/garage/values.yaml4
2 files changed, 10 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 }}
diff --git a/script/helm/garage/values.yaml b/script/helm/garage/values.yaml
index 5c381f16..013aa022 100644
--- a/script/helm/garage/values.yaml
+++ b/script/helm/garage/values.yaml
@@ -218,6 +218,10 @@ affinity: {}
environment: {}
+extraVolumes: {}
+
+extraVolumeMounts: {}
+
monitoring:
metrics:
# If true, a service for monitoring is created with a prometheus.io/scrape annotation