-
Notifications
You must be signed in to change notification settings - Fork 625
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
OpenShift SCC in declarative form #4609
Comments
Hey @errordeveloper so with this cluster role instead of running a command for each controller SA, people can just do a kubectl apply? If so then I think it's a great UX improvement. |
@stefanprodan exactly :) |
@errordeveloper can you please post on #4625 the exact YAML that would work for Flux? |
Could this be something flux does on bootstrap? |
Adding that SCC YAML to the repo before bootstrap should be straight forward https://fluxcd.io/flux/installation/configuration/boostrap-customization/ |
Currently OpenShift docs have this:
This can be expressed as a role:
I based the above on something I wrote for Cilium here: https://github.com/cilium/cilium-olm/blob/d595d9b949ee9eab66968cd5e32636bb79f2fe9d/config/operator/rbac.cue#L50-L66
Happy to make a PR to the docs with an expanded YAML version once I have a bit of time.
The text was updated successfully, but these errors were encountered: