Skip to content

Commit 79c5066

Browse files
authored
fix: Add RBAC permission to patch events (#774)
* fix: Add RBAC permission to patch events * changelog
1 parent e2ff1d8 commit 79c5066

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

4345
### Fixed
4446

@@ -78,6 +80,7 @@ All notable changes to this project will be documented in this file.
7880
[#766]: https://github.com/stackabletech/trino-operator/pull/766
7981
[#769]: https://github.com/stackabletech/trino-operator/pull/769
8082
[#771]: https://github.com/stackabletech/trino-operator/pull/771
83+
[#774]: https://github.com/stackabletech/trino-operator/pull/774
8184

8285
## [25.3.0] - 2025-03-21
8386

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ rules:
190190
- events
191191
verbs:
192192
- create
193+
- patch
193194
{{ if .Capabilities.APIVersions.Has "security.openshift.io/v1" }}
194195
- apiGroups:
195196
- security.openshift.io

0 commit comments

Comments
 (0)