Merge pull request 'Add environment variable dict to helm chart.' (#843) from Benjamin/garage:main into main

Reviewed-on: Deuxfleurs/garage#843
Reviewed-by: maximilien <me@mricher.fr>
This commit is contained in:
maximilien 2024-08-06 21:45:35 +00:00
commit a5ed1161c6
2 changed files with 6 additions and 0 deletions

View file

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

View file

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