Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove unneeded /status,verbs=get RBAC #808

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pmalek
Copy link
Member

@pmalek pmalek commented Oct 25, 2024

What this PR does / why we need it:

There is no need to add explicit /status RBAC policy rule for verb=get as we never explicitly call this.

As a matter of fact, it's not possible using controller-runtime's client: https://pkg.go.dev/sigs.k8s.io/[email protected]/pkg/client#SubResourceWriter

@pmalek pmalek self-assigned this Oct 25, 2024
@pmalek pmalek force-pushed the remove-unneeded-status-get-rbac branch from 01bd78b to f135566 Compare October 29, 2024 13:01
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.

1 participant