[charts/argo-cd] add support of custom environment variables (#181)

Signed-off-by: Léo Depriester <leo.depriester@camptocamp.com>
* Fix controller env path
* Updating chart bump to patch as this is a backwards compatible change
This commit is contained in:
Léo Depriester 2019-12-06 00:50:47 +01:00 committed by Sean Johnson
parent 4c4fe59901
commit 3a2c980044
8 changed files with 50 additions and 4 deletions

View file

@ -34,9 +34,14 @@ spec:
- "no"
image: {{ .Values.redis.image.repository }}:{{ .Values.redis.image.tag }}
imagePullPolicy: {{ .Values.redis.image.imagePullPolicy}}
{{- if .Values.redis.env }}
env:
{{- toYaml .Values.redis.env | nindent 8 }}
{{- end }}
ports:
- containerPort: {{ .Values.redis.containerPort }}
{{- if .Values.redis.volumeMounts }}
volumeMounts:
{{- toYaml .Values.redis.volumeMounts | nindent 10 }}
{{- end }}