-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
No need to list all secret in the namespace to find just one #5669
Conversation
Signed-off-by: Jirka Kremser <[email protected]>
/run-e2e internal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Could you please add entry to Changelog (Other section), you can link just this PR there.
We are planning release on Thursday, any chance we can incorporate the feedback? |
changelog: d3427f8 |
Signed-off-by: Jirka Kremser <[email protected]>
6f949a8
to
9f817b5
Compare
/run-e2e internal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks a lot!
There is no need to list all the secrets in the
kedaNamespace
and then iterate through them to find the one we are looking for. Instead, just get the one we are looking for -> this has an impact on the required RBAC since "list > get". If only get is required, we can restrict this even further using name allowlist for secrets.Relates to kedacore/charts#624