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 helm knob to control ClusterRoleBinding creation #7578

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

zaccari
Copy link

@zaccari zaccari commented Mar 28, 2025

Proposed changes

Adds a knob to toggle creation of the ClusterRoleBinding, closing #7577. This is a follow-up to #5228.

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto main
  • I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

zaccari added 2 commits March 28, 2025 09:07
A knob already exists for the ClusterRole. When deploying `nginx-ingress`
into multiple namespaces within the same cluster, it is possible
for the ClusterRoleBinding to be overwritten, causing the controllers
to get into a bad state with their RBAC.

Having this knob in place allows an operator to own the CRB and not compete
against the helm chart when `rbac.clusterrolebinding.create: false`.
@zaccari zaccari requested review from a team as code owners March 28, 2025 13:31
@github-actions github-actions bot added documentation Pull requests/issues for documentation helm_chart Pull requests that update the Helm Chart labels Mar 28, 2025
Copy link

github-actions bot commented Mar 28, 2025

✅ All required contributors have signed the F5 CLA for this PR. Thank you!
Posted by the CLA Assistant Lite bot.

@zaccari
Copy link
Author

zaccari commented Mar 28, 2025

I have hereby read the F5 CLA and agree to its terms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Pull requests/issues for documentation helm_chart Pull requests that update the Helm Chart
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant