Resolving the failure to create ClusterRoleBinding for ubiquity-k8s-provisioner
The plugin installation might fail with the following error:
Error from server (Forbidden): error when creating
"./yamls/ubiquity-k8s-provisioner-clusterroles.yml":
clusterroles.rbac.authorization.k8s.io "ubiquity-k8s-provisioner"
is forbidden: attempt to grant extra privileges:
To resolve this, create a
clusterrolebinding for the admin user with the
cluster-role value set to
cluster-admin:kubectl create clusterrolebinding myname-cluster-admin-binding
--clusterrole=cluster-admin --user=admin