What steps did you take and what happened:
[A clear and concise description on how to REPRODUCE the bug.]
The roles specified for KCP here might not be needed
https://github.com/kubernetes-sigs/cluster-api/blob/69347982dc6983615cd439e975cccb397083859e/controlplane/kubeadm/config/rbac/role.yaml#L68
These roles are not used
What did you expect to happen:
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
kubectl version):/etc/os-release):/kind bug
[One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels]
@sedefsavas Can you investigate + triage?
Yes, I am looking into this.
/priority awaiting-more-evidence
/milestone Next
These are unused rbac rules added to control plane. I don't think removing them will affect anything. Have a PR open, I think it can go in v0.3.9.
/milestone v0.3.9
/cc @detiber
+1 to removing these rules
/priority important-soon