Uninstall the chart cannot delete all kubernetes resources associated with that release
ChenYi015 opened this issue · 0 comments
ChenYi015 commented
Before I install the spark operator chart, there is no rbac resources associated with spark:
$ kubectl get serviceaccounts,role,rolebindings,clusterrole,clusterrolebindings | grep spark
And then, I install and uninstall the helm chart:
$ helm install spark-operator spark-operator/spark-operator
NAME: spark-operator
LAST DEPLOYED: Tue Apr 9 11:06:37 2024
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
$ helm uninstall spark-operator
release "spark-operator" uninstalled
There is some RBAC resources which will not be deleted:
$ kubectl get serviceaccounts,role,rolebindings,clusterrole,clusterrolebindings | grep spark
serviceaccount/spark-operator 0 10s
clusterrole.rbac.authorization.k8s.io/spark-operator 2024-04-09T03:06:38Z
clusterrolebinding.rbac.authorization.k8s.io/spark-operator ClusterRole/spark-operator 9s