Skip to content

Commit f8dca10

Browse files
authored
fix: Backport Add RBAC permission to patch events (#747)
1 parent 0f7b645 commit f8dca10

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ All notable changes to this project will be documented in this file.
4949
- The default Kubernetes cluster domain name is now fetched from the kubelet API unless explicitly configured.
5050
- This requires operators to have the RBAC permission to get nodes/proxy in the apiGroup "". The helm-chart takes care of this.
5151
- The CLI argument `--kubernetes-node-name` or env variable `KUBERNETES_NODE_NAME` needs to be set. The helm-chart takes care of this.
52+
- The operator helm-chart now grants RBAC `patch` permissions on `events.k8s.io/events`,
53+
so events can be aggregated (e.g. "error happened 10 times over the last 5 minutes") ([#745]).
5254

5355
### Fixed
5456

@@ -76,6 +78,7 @@ All notable changes to this project will be documented in this file.
7678
[#737]: https://github.com/stackabletech/opa-operator/pull/737
7779
[#743]: https://github.com/stackabletech/opa-operator/pull/743
7880
[#744]: https://github.com/stackabletech/opa-operator/pull/744
81+
[#745]: https://github.com/stackabletech/opa-operator/pull/745
7982

8083
## [25.3.0] - 2025-03-21
8184

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ rules:
8282
- events.k8s.io
8383
resources:
8484
- events
85-
- patch
8685
verbs:
8786
- create
8887
- patch
@@ -134,6 +133,7 @@ rules:
134133
- events
135134
verbs:
136135
- create
136+
- patch
137137
{{ if .Capabilities.APIVersions.Has "security.openshift.io/v1" }}
138138
- apiGroups:
139139
- security.openshift.io

0 commit comments

Comments
 (0)