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

Add Secret GET to keda-operator minimal RBAC #689

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

wozniakjan
Copy link
Member

@wozniakjan wozniakjan commented Sep 16, 2024

This is a followup to: #643

Technically this PR is not necessary because the keda-operator uses an informer cache and GET requests are handled internally (the cache is formed by LIST and then WATCH), but this is to remain consistent with the documentation where all three LIST, WATCH and GET are explicitly mentioned.
https://keda.sh/docs/2.15/operate/cluster/#restrict-secret-access

Worthy to mention adding GET along LIST doesn't elevate any permissions. It's an implementation detail of the RBAC in kube-apiserver.

Checklist

Relates to: #685

Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
@wozniakjan wozniakjan requested a review from a team as a code owner September 16, 2024 09:36
@wozniakjan wozniakjan merged commit 714d29f into kedacore:main Sep 23, 2024
36 checks passed
wozniakjan added a commit that referenced this pull request Sep 25, 2024
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
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