Skip to content

Commit 6b455e2

Browse files
committed
fix: Add RBAC permission to patch events (#678)
* fix: Add RBAC permission to patch events * changelog
1 parent 4923202 commit 6b455e2

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 @@
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") ([#678]).
3739

3840
### Fixed
3941

@@ -64,6 +66,7 @@
6466
[#661]: https://github.com/stackabletech/hbase-operator/pull/661
6567
[#672]: https://github.com/stackabletech/hbase-operator/pull/672
6668
[#675]: https://github.com/stackabletech/hbase-operator/pull/675
69+
[#678]: https://github.com/stackabletech/hbase-operator/pull/678
6770

6871
## [25.3.0] - 2025-03-21
6972

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ rules:
135135
- events
136136
verbs:
137137
- create
138+
- patch
138139
{{ if .Capabilities.APIVersions.Has "security.openshift.io/v1" }}
139140
- apiGroups:
140141
- security.openshift.io

0 commit comments

Comments
 (0)