Skip to content

Commit 4b61020

Browse files
authored
fix: Add RBAC permission to patch events (#824)
* fix: Add RBAC permission to patch events * changelog
1 parent 362114c commit 4b61020

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 @@ All notable changes to this project will be documented in this file.
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") ([#824]).
4143

4244
### Fixed
4345

@@ -72,6 +74,7 @@ All notable changes to this project will be documented in this file.
7274
[#818]: https://github.com/stackabletech/nifi-operator/pull/818
7375
[#819]: https://github.com/stackabletech/nifi-operator/pull/819
7476
[#822]: https://github.com/stackabletech/nifi-operator/pull/822
77+
[#824]: https://github.com/stackabletech/nifi-operator/pull/824
7578

7679
## [25.3.0] - 2025-03-21
7780

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ rules:
164164
- events
165165
verbs:
166166
- create
167+
- patch
167168
# Required for Kubernetes-managed clustering, see https://nifi.apache.org/nifi-docs/administration-guide.html#kubernetes-clustering
168169
- apiGroups:
169170
- coordination.k8s.io

0 commit comments

Comments
 (0)