[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:
parent
4c4fe59901
commit
3a2c980044
8 changed files with 50 additions and 4 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue