juju destroy model doesn't delete clusterrole in microk8s
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Confirmed
|
Low
|
Unassigned |
Bug Description
juju add-model will create a clusterrole : <modelname>
Steps to reproduce:
1. creat a new juju model
ubuntu@microk8s:~$ juju add-model test-model
Added 'test-model' model on microk8s/localhost with credential 'microk8s' for user 'admin'
2. check clusterrole
ubuntu@microk8s:~$ kubectl get clusterroles | grep test-model
test-model-
3. delete the juju model
ubuntu@microk8s:~$ juju destroy-model test-model
WARNING! This command will destroy the "test-model" model.
This includes all containers, applications, data and other resources.
Continue [y/N]? y
Destroying model
Waiting for model to be removed.
Model destroyed.
4. the previous clusterrole still remain
ubuntu@microk8s:~$ kubectl get clusterroles | grep test-model
test-model-
Changed in juju: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
This Medium-priority bug has not been updated in 60 days, so we're marking it Low importance. If you believe this is incorrect, please update the importance.