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
|
|
@ -66,7 +66,7 @@ spec:
|
|||
{{- range .Values.notifications.extraArgs }}
|
||||
- {{ . | squote }}
|
||||
{{- end }}
|
||||
{{- with .Values.notifications.extraEnv }}
|
||||
{{- with (concat .Values.global.env .Values.notifications.extraEnv) }}
|
||||
env:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue