Skip to content

Commit ab656a9

Browse files
committed
chore: Remove the events.k8s.io rule from the product ClusterRole. The operator manages the Kubernetes events.
1 parent b045677 commit ab656a9

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -143,14 +143,6 @@ metadata:
143143
labels:
144144
{{- include "operator.labels" . | nindent 4 }}
145145
rules:
146-
# Allows Kafka pods to emit Kubernetes events.
147-
- apiGroups:
148-
- events.k8s.io
149-
resources:
150-
- events
151-
verbs:
152-
- create
153-
- patch
154146
{{ if .Capabilities.APIVersions.Has "security.openshift.io/v1" }}
155147
# On OpenShift, the workload pods must be allowed to use the nonroot-v2 SCC
156148
- apiGroups:

0 commit comments

Comments
 (0)