Skip to content

Commit 165a126

Browse files
committed
fix: Add RBAC permission to patch events (#660)
* fix: Add RBAC permission to patch events * changelog * changelog
1 parent a7f1729 commit 165a126

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

4446
### Fixed
4547

@@ -68,6 +70,7 @@
6870
[#649]: https://github.com/stackabletech/airflow-operator/pull/649
6971
[#651]: https://github.com/stackabletech/airflow-operator/pull/651
7072
[#656]: https://github.com/stackabletech/airflow-operator/pull/656
73+
[#660]: https://github.com/stackabletech/airflow-operator/pull/660
7174

7275
## [25.3.0] - 2025-03-21
7376

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ rules:
180180
- events
181181
verbs:
182182
- create
183+
- patch
183184
{{ if .Capabilities.APIVersions.Has "security.openshift.io/v1" }}
184185
- apiGroups:
185186
- security.openshift.io

0 commit comments

Comments
 (0)