Skip to content

Commit

Permalink
fix(rbac): add missing eventing.keda.sh permissions (#714)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
cilindrox authored Jan 22, 2025
1 parent 3e58b2a commit 33070ca
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions keda/templates/manager/minimal-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,19 @@ rules:
- update
- watch
{{- end }}
- apiGroups:
- eventing.keda.sh
resources:
- cloudeventsources
- cloudeventsources/status
- clustercloudeventsources
- clustercloudeventsources/status
verbs:
- get
- list
- patch
- update
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand Down

0 comments on commit 33070ca

Please sign in to comment.