Skip to content

Commit bbeb8c0

Browse files
committed
fix: Always allow list/watch on customresourcedefinitions for the operator
Note: required by the startup condition regardless of crd maintenance
1 parent 7888e8a commit bbeb8c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deploy/helm/kafka-operator/templates/roles.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ rules:
8484
{{- if .Values.maintenance.customResourceDefinitions.maintain }}
8585
- create
8686
- patch
87+
{{- end }}
8788
# Required for startup condition
8889
- list
8990
- watch
90-
{{- end }}
9191
# Record Kubernetes events for reconciliation outcomes
9292
- apiGroups:
9393
- events.k8s.io

0 commit comments

Comments
 (0)