Skip to content

Commit e9090cf

Browse files
committed
chore: Remove the events.k8s.io rule from the product ClusterRole unless the products actually emit Kubernetes events
1 parent 833009b commit e9090cf

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

  • deploy/helm/opensearch-operator/templates

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,6 @@ metadata:
136136
labels:
137137
{{- include "operator.labels" . | nindent 4 }}
138138
rules:
139-
# Allows OpenSearch pods to emit Kubernetes events.
140-
- apiGroups:
141-
- events.k8s.io
142-
resources:
143-
- events
144-
verbs:
145-
- create
146-
- patch
147139
{{ if .Capabilities.APIVersions.Has "security.openshift.io/v1" }}
148140
# Required on OpenShift to allow the OpenSearch pods to run as a non-root user.
149141
- apiGroups:

0 commit comments

Comments
 (0)