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

delete-service-accounts-and-roles-before-creation #1384

Conversation

TiansuYu
Copy link
Contributor

@TiansuYu TiansuYu commented Nov 10, 2021

Related with issue #1359

The current version of helm chart does not handle hook tearing-down automatically. So after the uninstall, spark-operator will leave three artifacts serviceAccount, ClusterRole and ClusterRoleBinding inside the k8s config. Attempts to reinstall the same spark-operator will be blocked because rbac.yaml will try to install these as pre-install hook, despite the fact that they are already there.

Suggest to add the before-hook-creation inside hook-delete-policy as suggested by @swartz-k, to fix this issue.

@liyinan926
Copy link
Collaborator

Please bump up the chart version.

@TiansuYu TiansuYu force-pushed the delete-service-accounts-and-roles-before-creation branch from 73f2c88 to ec9c886 Compare November 14, 2021 18:31
@TiansuYu
Copy link
Contributor Author

rebased with main to solve version conflicts issue

@liyinan926 liyinan926 merged commit eb5dc1d into kubeflow:master Nov 18, 2021
@TiansuYu TiansuYu deleted the delete-service-accounts-and-roles-before-creation branch November 19, 2021 13:48
jbhalodia-slack pushed a commit to jbhalodia-slack/spark-operator that referenced this pull request Oct 4, 2024
* delete-service-accounts-and-roles-before-creation

* bump spark-operator version
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 this pull request may close these issues.

2 participants