feat(argocd-notifications): Add slack icon and signingSecret support and Grafana support (#384)

* Add icon and signingSecret support

* Fix typo

* Add grafana support

* Fix trailing spaces

* Fix trailing spaces 2

* Fix grafana comments

* Add bot manifests

* Bump version

* No new line character

* Values.yaml new line character

* Add comments

* Add slack.enabled flag

* Move slack bot to bots/slack folder

Co-authored-by: sergeyshaykhullin <sergeyshaykhullin@gmail.com>
Co-authored-by: Sergey Shaykhullin <46970457+sergeyshaykhullin@users.noreply.github.com>
This commit is contained in:
appanycd 2020-06-23 23:40:18 +03:00 committed by GitHub
parent 209d69558e
commit 422752023d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 194 additions and 2 deletions

View file

@ -0,0 +1,13 @@
{{ if .Values.bots.slack.enabled }}
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: {{ include "argocd-notifications.name" . }}-bot
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: {{ include "argocd-notifications.name" . }}-bot
subjects:
- kind: ServiceAccount
name: {{ include "argocd-notifications.bots.slack.serviceAccountName" . }}
{{ end }}