aboutsummaryrefslogtreecommitdiff
path: root/script/helm/garage
diff options
context:
space:
mode:
authormaximilien <me@mricher.fr>2024-11-19 22:23:13 +0000
committermaximilien <me@mricher.fr>2024-11-19 22:23:13 +0000
commit906c8708fd53880d998c595ccd39ab9f08866457 (patch)
tree0b31d9a6ecfd8c6f8c213259abfec04aaf604433 /script/helm/garage
parent747889a0969d3342c54b17f7935b46e692711c5d (diff)
parent116ad479a839b08092663936a818317e2e624bfa (diff)
downloadgarage-906c8708fd53880d998c595ccd39ab9f08866457.tar.gz
garage-906c8708fd53880d998c595ccd39ab9f08866457.zip
Merge pull request 'add extraVolumes and extraVolumeMounts to helm chart' (#896) from eugene-davis/garage:main into mainHEADmain
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/896 Reviewed-by: maximilien <me@mricher.fr>
Diffstat (limited to 'script/helm/garage')
-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