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

Uninstall the chart cannot delete all kubernetes resources associated with that release #1959

Closed
ChenYi015 opened this issue Apr 9, 2024 · 0 comments · Fixed by #2016
Closed

Comments

@ChenYi015
Copy link
Contributor

ChenYi015 commented Apr 9, 2024

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
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.

1 participant