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

Create RBAC resources by default when operator is enabled #37

Merged
merged 2 commits into from
Apr 28, 2021

Conversation

florisvdg
Copy link
Member

Previously, to get an out-of-the-box working operator, you'd have to add 4 flags: --set operator.create=true --set operator.clusterRole.create=true --set operator.serviceAccount.create=true --set operator.roleBinding.create=true.

This PR changes this behavior by taking whatever value the operator.create flag has as the default value of the RBAC resource creation flags.

So now, you only have to add --set operator.create=true and you get the correct RBAC setup. The resources can still individually be disabled by explicitly setting them to false.

@florisvdg florisvdg merged commit 1b97756 into main Apr 28, 2021
@florisvdg florisvdg deleted the operator-rbac-defaults branch April 28, 2021 18:21
This was referenced May 3, 2021
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