Skip to content

Commit b4ef70c

Browse files
committed
fix: Add RBAC permission to patch events (#774)
* fix: Add RBAC permission to patch events * changelog
1 parent b83acf3 commit b4ef70c

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

4547
### Fixed
4648

@@ -80,6 +82,7 @@ All notable changes to this project will be documented in this file.
8082
[#766]: https://github.com/stackabletech/trino-operator/pull/766
8183
[#769]: https://github.com/stackabletech/trino-operator/pull/769
8284
[#771]: https://github.com/stackabletech/trino-operator/pull/771
85+
[#774]: https://github.com/stackabletech/trino-operator/pull/774
8386

8487
## [25.3.0] - 2025-03-21
8588

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)