feat(argocd-notifications): Add support of custom environment variables. (#580)

Signed-off-by: 1Psy <41047934+1Psy@users.noreply.github.com>

Co-authored-by: Alexander Matyushentsev <Alexander_Matyushentsev@intuit.com>
This commit is contained in:
Sergey 2021-02-16 07:23:19 +03:00 committed by GitHub
parent 43d61e7493
commit 2fd551c60f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 1 deletions

View file

@ -3,7 +3,7 @@ appVersion: 1.0.1
description: A Helm chart for ArgoCD notifications, an add-on to ArgoCD.
name: argocd-notifications
type: application
version: 1.0.13
version: 1.0.14
home: https://github.com/argoproj/argo-helm
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
keywords:

View file

@ -51,6 +51,9 @@ spec:
name: metrics
protocol: TCP
{{- end }}
{{- with .Values.extraEnv }}
env: {{ toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}

View file

@ -54,6 +54,9 @@ metrics:
# interval: 30s
# scrapeTimeout: 10s
# Additional container environment variables
extraEnv: []
notifiers:
# For more information: https://argocd-notifications.readthedocs.io/en/stable/services/overview/