argocd-helm/charts/argo-cd/templates/argocd-notifications/bots/slack/rolebinding.yaml
Marco Kilchhofer d542b1e426
fix(argo-cd): Fix server.config.url and slack service account (#1208)
* fix(argo-cd): Set 'server.config.url' to empty string

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

* fix(argo-cd): Do not create slack service account

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2022-04-02 20:44:48 +02:00

13 lines
456 B
YAML

{{ if and .Values.notifications.enabled .Values.notifications.bots.slack.enabled }}
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: {{ template "argo-cd.notifications.fullname" . }}-bot
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: {{ template "argo-cd.notifications.fullname" . }}-bot
subjects:
- kind: ServiceAccount
name: {{ template "argo-cd.notificationsBotsSlackServiceAccountName" . }}
{{ end }}