volcano-admission-init error is reported when the volcano is uninstalled and reinstalled or the helm is used to upgrade the volcano #2833
Labels
kind/bug
Categorizes issue or PR as related to a bug.
What happened:
After the Volcano is installed, if you uninstall and reinstall the Volcano or use the helm upgrade tool to upgrade the Volcano, the volcano-admission-init-k6kct fails. The symptoms are as follows:
Error log information of volcano-admission-init:
Helm upgrade error information:
During Volcano installation, a secret is created using a job. When Volcano is uninstalled, the original secret is not cleared. When Volcano is installed or upgraded again, an error is reported when volcano-admission-init creates a secret with the same name.
volcano/installer/dockerfile/webhook-manager/gen-admission-secret.sh
Lines 93 to 100 in ff3ff9e
What you expected to happen:
When the volcano-admission-init command is used to create a secret, if the secret with the same name already exists, the system does not create a secret and returns a success message.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
kubectl version
):uname -a
):The text was updated successfully, but these errors were encountered: