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

ClusterReader Fine Grained Access Control #297

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

avo-sepp
Copy link

@avo-sepp avo-sepp commented Mar 21, 2024

The goal of this commit is to allow end users to opt out of list secrets using the values file. Instead of having to write a new version of the Cluster Reader role. Because permissions are additive, the commit must first break out the * glob permission. Then add a section where the list secret can be enabled with a values boolean. The new boolean is under clusterReader.enableListSecrets.

This is cleaner than expecting users to fork the chart or maintain their own RBAC permissions.

ClusterReader RBAC Role should provide minimal permissions.
Also enable end-users to decide via Values whether to enable
verb list on k8s secrets.
@PierreBart
Copy link

Hey @avo-sepp,

When are you planning to merge this PR? I am looking forward to this feature.

@avo-sepp
Copy link
Author

avo-sepp commented May 13, 2024

Hey @avo-sepp,

When are you planning to merge this PR? I am looking forward to this feature.

@PierreBart

I am waiting on the Wiz team to review the PR. I cannot merge it.

@Dan-Rediske
Copy link

This would address this issue I opened:

Pinging my Wiz contacts to see if traction can be gained here- as it is undesirable to have to hack around the wildcard permissions and inclusion of watch, list when it's not documented as needed this widely.

Copy link

@Dan-Rediske Dan-Rediske left a comment

Choose a reason for hiding this comment

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

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.

3 participants