Skip to content

Commit ef3c646

Browse files
authored
fix: Add RBAC permission to patch events (#963)
* fix: Add RBAC permission to patch events * changelog
1 parent b411e20 commit ef3c646

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

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

3840
### Fixed
3941

@@ -58,6 +60,7 @@ All notable changes to this project will be documented in this file.
5860
[#955]: https://github.com/stackabletech/zookeeper-operator/pull/955
5961
[#957]: https://github.com/stackabletech/zookeeper-operator/pull/957
6062
[#961]: https://github.com/stackabletech/zookeeper-operator/pull/961
63+
[#963]: https://github.com/stackabletech/zookeeper-operator/pull/963
6164

6265
## [25.3.0] - 2025-03-21
6366

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ rules:
164164
- events
165165
verbs:
166166
- create
167+
- patch
167168
{{ if .Capabilities.APIVersions.Has "security.openshift.io/v1" }}
168169
- apiGroups:
169170
- security.openshift.io

0 commit comments

Comments
 (0)