feat(argocd-notifications): add service account annotations (#673)

* add service account to argocd notifications

Signed-off-by: Cesar Okuti <cesar.okuti@gmail.com>

* change chart.yaml

Signed-off-by: Cesar Okuti <cesar.okuti@gmail.com>

* remove dots and quotes from toYaml serviceaccount

Signed-off-by: Cesar Okuti <cesar.okuti@gmail.com>

* chore: Apply suggestions from code review

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

Co-authored-by: Oliver Bähler <oliverbaehler@hotmail.com>

* fix: bump chart version

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

Co-authored-by: Oliver Bähler <oliverbaehler@hotmail.com>
Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
main argocd-notifications-1.3.2
César Yuji Okuti 2021-05-26 18:41:33 -03:00 committed by GitHub
parent be7c6c5721
commit e2975df4c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 1 deletions

View File

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

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 }}
{{- with .Values.bots.slack.serviceAccount.annotations }}
annotations:
{{- toYaml . | 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 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }} {{- end }}

View File

@ -93,6 +93,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: {}
cm: cm:
# Whether helm chart creates controller config map # Whether helm chart creates controller config map
create: true create: true
@ -371,6 +373,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