Skip to content

Commit e892700

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

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

  • deploy/helm/zookeeper-operator/templates

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -166,14 +166,6 @@ metadata:
166166
labels:
167167
{{- include "operator.labels" . | nindent 4 }}
168168
rules:
169-
# ZooKeeper pods emit events to report operational status.
170-
- apiGroups:
171-
- events.k8s.io
172-
resources:
173-
- events
174-
verbs:
175-
- create
176-
- patch
177169
{{ if .Capabilities.APIVersions.Has "security.openshift.io/v1" }}
178170
# Required on OpenShift to allow ZooKeeper pods to run as a non-root user.
179171
- apiGroups:

0 commit comments

Comments
 (0)