Skip to content

Commit 81d950c

Browse files
committed
chore: Remove unused product ClusterRole permission
Note: Products should not be creating/updating events, the operator does that.
1 parent 52a2621 commit 81d950c

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,6 @@ metadata:
154154
labels:
155155
{{- include "operator.labels" . | nindent 4 }}
156156
rules:
157-
# Allows Hive pods to emit Kubernetes events.
158-
- apiGroups:
159-
- events.k8s.io
160-
resources:
161-
- events
162-
verbs:
163-
- create
164-
- patch
165157
{{ if .Capabilities.APIVersions.Has "security.openshift.io/v1" }}
166158
# Required on OpenShift to allow the Hive pods to run as a non-root user.
167159
- apiGroups:

0 commit comments

Comments
 (0)