It seems we need to cleanup all wenhooks before redeploy the kubeflow cluster. run the below command to do the cleanup.
./istioctl manifest generate -s profile=minimal -s values.global.istioNamespace=kubeflow | kubectl delete --ignore-not-found=true -f -
kubectl delete mutatingwebhookconfiguration istio-sidecar-injector-kubeflow
then redeploy the kubeflow it works fine.
It seems we need to cleanup all wenhooks before redeploy the kubeflow cluster. run the below command to do the cleanup.
./istioctl manifest generate -s profile=minimal -s values. global. istioNamespace= kubeflow | not-found= true -f -
kubectl delete --ignore-
kubectl delete mutatingwebhook configuration istio-sidecar- injector- kubeflow
then redeploy the kubeflow it works fine.