Skip to content

Commit d858983

Browse files
committed
fix: Add RBAC permission to patch events (#824)
* fix: Add RBAC permission to patch events * changelog
1 parent 7265124 commit d858983

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

4446
### Fixed
4547

@@ -74,6 +76,7 @@ All notable changes to this project will be documented in this file.
7476
[#818]: https://github.com/stackabletech/nifi-operator/pull/818
7577
[#819]: https://github.com/stackabletech/nifi-operator/pull/819
7678
[#822]: https://github.com/stackabletech/nifi-operator/pull/822
79+
[#824]: https://github.com/stackabletech/nifi-operator/pull/824
7780

7881
## [25.3.0] - 2025-03-21
7982

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)