feat(argo-cd): Add "global.env" for all deployed containers (#2096)
* add global env for argo-cd Signed-off-by: Joe Lee <lj_2005@163.com> * update readme Signed-off-by: Joe Lee <lj_2005@163.com> * fix typo Signed-off-by: Joe Lee <lj_2005@163.com> * feat(argo-cd): Add "global.env" for all deployed containers Signed-off-by: Joe Lee <lj_2005@163.com> * update doc Signed-off-by: Joe Lee <lj_2005@163.com> * remove note Signed-off-by: Joe Lee <lj_2005@163.com> * update changes Signed-off-by: Joe Lee <lj_2005@163.com> --------- Signed-off-by: Joe Lee <lj_2005@163.com>
This commit is contained in:
parent
2538371fec
commit
49c2ca2548
10 changed files with 14 additions and 12 deletions
|
|
@ -61,7 +61,7 @@ spec:
|
|||
{{- with .Values.redis.extraArgs }}
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.redis.env }}
|
||||
{{- with (concat .Values.global.env .Values.redis.env) }}
|
||||
env:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
|
|
@ -92,7 +92,7 @@ spec:
|
|||
value: {{ printf "redis://localhost:%v" .Values.redis.containerPorts.redis }}
|
||||
- name: REDIS_EXPORTER_WEB_LISTEN_ADDRESS
|
||||
value: {{ printf "0.0.0.0:%v" .Values.redis.containerPorts.metrics }}
|
||||
{{- with .Values.redis.exporter.env }}
|
||||
{{- with (concat .Values.global.env .Values.redis.exporter.env) }}
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
ports:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue