Skip to content

Commit 33070ca

Browse files
authored
fix(rbac): add missing eventing.keda.sh permissions (#714)
Add r/w permissions for cloudeventsources and clustercloudeventsources in the minimal-rbac ClusterRole template. These are required to prevent a crashloop when shipping the operator with the `watchNamespace` property. Fixes #6084 Signed-off-by: Gaston Festari <[email protected]>
1 parent 3e58b2a commit 33070ca

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

keda/templates/manager/minimal-rbac.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,19 @@ rules:
113113
- update
114114
- watch
115115
{{- end }}
116+
- apiGroups:
117+
- eventing.keda.sh
118+
resources:
119+
- cloudeventsources
120+
- cloudeventsources/status
121+
- clustercloudeventsources
122+
- clustercloudeventsources/status
123+
verbs:
124+
- get
125+
- list
126+
- patch
127+
- update
128+
- watch
116129
---
117130
apiVersion: rbac.authorization.k8s.io/v1
118131
kind: ClusterRoleBinding

0 commit comments

Comments
 (0)