Skip to content
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

none at head: The ClusterRoleBinding "storage-provisioner" is invalid: cannot change roleRef #6510

Closed
tstromberg opened this issue Feb 5, 2020 · 1 comment · Fixed by #6511

Comments

@tstromberg
Copy link
Contributor

It seems that with #6156 - cluster upgrades now emit a warning (but still work):

I0205 13:49:59.565997  113522 addons.go:211] Running: /usr/bin/sudo KUBECONFIG=/var/lib/minikube/kubeconfig /var/lib/minikube/binaries/v1.17.2/kubectl apply -f /etc/kubernetes/addons/storage-provisioner.yaml
⚠️  Enabling 'storage-provisioner' returned an error: running callbacks: [addon apply: sudo KUBECONFIG=/var/lib/minikube/kubeconfig /var/lib/minikube/binaries/v1.17.2/kubectl apply -f /etc/kubernetes/addons/storage-provisioner.yaml: exit status 1
stdout:
serviceaccount/storage-provisioner unchanged
pod/storage-provisioner configured

stderr:
The ClusterRoleBinding "storage-provisioner" is invalid: roleRef: Invalid value: rbac.RoleRef{APIGroup:"rbac.authorization.k8s.io", Kind:"ClusterRole", Name:"cluster-admin"}: cannot change roleRef
]

We should fix this so the YAML so that it upgrades existing clusters cleanly.

@limbuu
Copy link

limbuu commented Feb 23, 2020

i am facing same issue.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants