Add RBAC rules for clusters, machines, secrets, and configmaps to the bootstrap provider. Roles are generated from kubebuilder rules in the controller code. Also re-run make component to update the bootstrap-components.yaml manifest.
Testing
Deploy management cluster with RBAC enabled:
snap install microk8s --classic
microk8s enable rbac dns
Summary
Add RBAC rules for clusters, machines, secrets, and configmaps to the bootstrap provider. Roles are generated from kubebuilder rules in the controller code. Also re-run
make component
to update thebootstrap-components.yaml
manifest.Testing
Install and configure clusterctl
Deploy a cluster on OpenStack and AWS (based on the cluster templates found in https://github.com/canonical/cluster-api-bootstrap-provider-microk8s/pull/22
Testing is manual for now.