apiVersion: v1
kind: ServiceAccount
metadata:
name: argocd-notifications-controller
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
rules:
- apiGroups:
- argoproj.io
resources:
- applications
- appprojects
verbs:
- get
- list
- watch
- update
- patch
- ""
- secrets
- configmaps
kind: RoleBinding
roleRef:
apiGroup: rbac.authorization.k8s.io
subjects:
- kind: ServiceAccount
apiVersion: apps/v1
kind: Deployment
spec:
selector:
matchLabels:
app.kubernetes.io/name: argocd-notifications-controller
strategy:
type: Recreate
template:
labels:
containers:
- command:
- /app/argocd-notifications
- controller
image: argoprojlabs/argocd-notifications:v0.7.0
imagePullPolicy: Always
workingDir: /app
serviceAccountName: argocd-notifications-controller