capi-kubeadm-control-plane-manager-rolebinding no longer uses aggregated-manager-role #4935
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/active
Indicates that an issue or PR is actively being worked on by a contributor.
Milestone
What steps did you take and what happened:
[A clear and concise description on how to REPRODUCE the bug.]
In v0.3.20
The
capi-kubeadm-control-plane-manager-rolebinding
used thecapi-kubeadm-control-plane-aggregated-manager-role
ClusterRole which allows the use ofkubeadm.controlplane.cluster.x-k8s.io/aggregate-to-manager: "true"
for thecapi-kubeadm-control-plane-manager
deployment to have additional RBAC permissions.In in v0.4.0 the same
ClusterRoleBinding
is andkubeadm.controlplane.cluster.x-k8s.io/aggregate-to-manager: "true"
no longer works:What did you expect to happen:
The behavior should be the same in the new version v0.4.0.
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Originally reported in https://kubernetes.slack.com/archives/C8TSNPY4T/p1625630307101000
Its possible to workaround this by creating an additional
ClusterRoleBinding
:Environment:
v0.4.0
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]
The text was updated successfully, but these errors were encountered: