add service account to argocd notifications

Signed-off-by: Cesar Okuti <cesar.okuti@gmail.com>
This commit is contained in:
Cesar Okuti 2021-04-12 21:16:40 -03:00
parent b8f483fb73
commit c3806b3504
No known key found for this signature in database
GPG key ID: 04254D08BF7B9AEB
3 changed files with 12 additions and 0 deletions

View file

@ -5,4 +5,8 @@ metadata:
name: {{ include "argocd-notifications.bots.slack.serviceAccountName" . }} name: {{ include "argocd-notifications.bots.slack.serviceAccountName" . }}
labels: labels:
{{- include "argocd-notifications.bots.slack.labels" . | nindent 4 }} {{- include "argocd-notifications.bots.slack.labels" . | nindent 4 }}
{{- if .Values.bots.slack.serviceAccount.annotations }}
annotations:
{{- toYaml ".Values.bots.slack.serviceAccount.annotations" . | nindent 4 }}
{{ end }}
{{ end }} {{ end }}

View file

@ -5,4 +5,8 @@ metadata:
name: {{ include "argocd-notifications.serviceAccountName" . }} name: {{ include "argocd-notifications.serviceAccountName" . }}
labels: labels:
{{- include "argocd-notifications.labels" . | nindent 4 }} {{- include "argocd-notifications.labels" . | nindent 4 }}
{{- if .Values.serviceAccount.annotations }}
annotations:
{{- toYaml ".Values.serviceAccount.annotations" . | nindent 4 }}
{{- end }}
{{- end }} {{- end }}

View file

@ -81,6 +81,8 @@ serviceAccount:
# If not set and create is true, a name is generated using the fullname template # If not set and create is true, a name is generated using the fullname template
name: argocd-notifications-controller name: argocd-notifications-controller
annotations: {}
subscriptions: subscriptions:
# For more information: https://argocd-notifications.readthedocs.io/en/stable/subscriptions/ # For more information: https://argocd-notifications.readthedocs.io/en/stable/subscriptions/
@ -355,6 +357,8 @@ bots:
# If not set and create is true, a name is generated using the fullname template # If not set and create is true, a name is generated using the fullname template
name: argocd-notifications-bot name: argocd-notifications-bot
annotations: {}
resources: {} resources: {}
# limits: # limits:
# cpu: 100m # cpu: 100m