Skip to content

Commit 567df2b

Browse files
authored
fix: Add RBAC permission to patch events (#660)
* fix: Add RBAC permission to patch events * changelog * changelog
1 parent b38492d commit 567df2b

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

4244
### Fixed
4345

@@ -66,6 +68,7 @@
6668
[#649]: https://github.com/stackabletech/airflow-operator/pull/649
6769
[#651]: https://github.com/stackabletech/airflow-operator/pull/651
6870
[#656]: https://github.com/stackabletech/airflow-operator/pull/656
71+
[#660]: https://github.com/stackabletech/airflow-operator/pull/660
6972

7073
## [25.3.0] - 2025-03-21
7174

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)