Skip to content

chore(rbac): include events.k8s.io in clusterrole#203

Merged
terinjokes merged 1 commit into
trunkfrom
terin/rbac
May 8, 2026
Merged

chore(rbac): include events.k8s.io in clusterrole#203
terinjokes merged 1 commit into
trunkfrom
terin/rbac

Conversation

@terinjokes
Copy link
Copy Markdown
Contributor

As part of the upgrade to controller-runtime v0.23.1 this issuer switched from the deprecated manager.GetEventRecorderFor to the replacement manager.GetEventRecorder. This new event recorder uses new Event resources in the events.k8s.io. However the RBAC rules were still defined to use the Event resources from the core group.

Bug: #202
Fixes: 92785e3 ("chore: issuer-lib: v0.9.0 -> v0.10.0")

As part of the upgrade to controller-runtime v0.23.1 this issuer
switched from the deprecated `manager.GetEventRecorderFor` to the
replacement `manager.GetEventRecorder`. This new event recorder uses
new Event resources in the events.k8s.io. However the RBAC rules were
still defined to use the Event resources from the core group.

Bug: #202
Fixes: 92785e3 ("chore: issuer-lib: v0.9.0 -> v0.10.0")
@terinjokes terinjokes requested a review from a team May 7, 2026 15:45
@terinjokes terinjokes self-assigned this May 7, 2026
@terinjokes terinjokes merged commit 7970e9e into trunk May 8, 2026
22 checks passed
@terinjokes terinjokes deleted the terin/rbac branch May 8, 2026 11:47
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.

2 participants