-
Notifications
You must be signed in to change notification settings - Fork 128
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
BranchPlanner cant create terraform resources in kubernetes (RC4) #1266
Comments
AFAICT, there was a PR to scope down the RBAC to make things safer. @yitsushi not sure if you could help point out what we would need here for the branch planner permissions? |
I think we need a The PR went through as it says "for the reconciler", but in reality, branch planner uses the same service account. So I guess the proper solution would be to create a separate role set and use that for branch planner. For example the branch planner don't have to be able to create or patch finalizers, not even list them. |
Hi Team.
Seems like we have missing permissions in RC4 for branch-planner as it can't create
terraform
under the hood.In RC3 we had ClusterRoleBinding that allows to do anything on the cluster
https://github.com/flux-iac/tofu-controller/blob/v0.16.0-rc.3/charts/tf-controller/templates/rbac.yaml#L166
It is removed in rc4 but we have nothing to allows branch-planner to create terraform resources. It uses tf-controller service account.
The text was updated successfully, but these errors were encountered: