add service account to argocd notifications
Signed-off-by: Cesar Okuti <cesar.okuti@gmail.com>
This commit is contained in:
parent
b8f483fb73
commit
c3806b3504
3 changed files with 12 additions and 0 deletions
|
@ -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 }}
|
||||||
|
|
|
@ -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 }}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue