Compare commits

..

2 commits

Author SHA1 Message Date
a5ed1161c6 Merge pull request 'Add environment variable dict to helm chart.' (#843) from Benjamin/garage:main into main
All checks were successful
ci/woodpecker/push/debug Pipeline was successful
Reviewed-on: #843
Reviewed-by: maximilien <me@mricher.fr>
2024-08-06 21:45:35 +00:00
Benjamin von Mossner
222674432b This commit adds an environment dict to garage helm chart. Using it, env variables can be set into the garage container environment, useful to set eg. GARAGE_ADMIN_TOKEN or GARAGE_METRICS_TOKEN
All checks were successful
ci/woodpecker/pr/debug Pipeline was successful
2024-07-25 11:42:13 +02:00
2 changed files with 6 additions and 0 deletions

View file

@ -64,6 +64,10 @@ spec:
name: web-api
- containerPort: 3903
name: admin
{{- with .Values.environment }}
env:
{{- toYaml . | nindent 12 }}
{{- end }}
volumeMounts:
- name: meta
mountPath: /mnt/meta

View file

@ -216,6 +216,8 @@ tolerations: []
affinity: {}
environment: {}
monitoring:
metrics:
# If true, a service for monitoring is created with a prometheus.io/scrape annotation