Skip to content

Commit 6f55b82

Browse files
authored
fix: Backport Add RBAC permission to patch events (#619)
1 parent 89b7dbc commit 6f55b82

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
@@ -36,6 +36,8 @@ All notable changes to this project will be documented in this file.
3636
- The default Kubernetes cluster domain name is now fetched from the kubelet API unless explicitly configured.
3737
- This requires operators to have the RBAC permission to get nodes/proxy in the apiGroup "". The helm-chart takes care of this.
3838
- The CLI argument `--kubernetes-node-name` or env variable `KUBERNETES_NODE_NAME` needs to be set. The helm-chart takes care of this.
39+
- The operator helm-chart now grants RBAC `patch` permissions on `events.k8s.io/events`,
40+
so events can be aggregated (e.g. "error happened 10 times over the last 5 minutes") ([#617]).
3941

4042
### Fixed
4143

@@ -59,6 +61,7 @@ All notable changes to this project will be documented in this file.
5961
[#605]: https://github.com/stackabletech/hive-operator/pull/605
6062
[#613]: https://github.com/stackabletech/hive-operator/pull/613
6163
[#615]: https://github.com/stackabletech/hive-operator/pull/615
64+
[#617]: https://github.com/stackabletech/hive-operator/pull/617
6265

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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ rules:
162162
- events
163163
verbs:
164164
- create
165+
- patch
165166
{{ if .Capabilities.APIVersions.Has "security.openshift.io/v1" }}
166167
- apiGroups:
167168
- security.openshift.io

0 commit comments

Comments
 (0)