14 lines
427 B
YAML
14 lines
427 B
YAML
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
|
kind: RoleBinding
|
||
|
|
metadata:
|
||
|
|
name: {{ include "argocd-notifications.name" . }}-controller
|
||
|
|
labels:
|
||
|
|
{{- include "argocd-notifications.labels" . | nindent 4 }}
|
||
|
|
roleRef:
|
||
|
|
apiGroup: rbac.authorization.k8s.io
|
||
|
|
kind: Role
|
||
|
|
name: {{ include "argocd-notifications.name" . }}-controller
|
||
|
|
subjects:
|
||
|
|
- kind: ServiceAccount
|
||
|
|
name: {{ include "argocd-notifications.serviceAccountName" . }}
|