Skip to content

keda: grant admission webhook RBAC to emit events#872

Merged
wozniakjan merged 1 commit into
kedacore:mainfrom
wozniakjan:adapter_events_rbac
Jun 5, 2026
Merged

keda: grant admission webhook RBAC to emit events#872
wozniakjan merged 1 commit into
kedacore:mainfrom
wozniakjan:adapter_events_rbac

Conversation

@wozniakjan

Copy link
Copy Markdown
Member

fixes #870

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses issue #870 by granting the keda-webhook (admission webhook) ClusterRole the RBAC permissions required to emit Kubernetes Events via the events.k8s.io API group, preventing “cannot patch resource events” errors in webhook logs.

Changes:

  • Add a new RBAC rule to allow the webhook ClusterRole to create and patch events.events.k8s.io.

@wozniakjan wozniakjan merged commit 0d8d2b9 into kedacore:main Jun 5, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

keda-admission-webhooks - cannot patch resource "events" in API group "events.k8s.io"

3 participants