[Bug]: matrixone operator may lack CRD resource even helm install return success #365
Open
1 task done
Labels
kind/bug
Something isn't working
Is there an existing issue for the same bug?
Environment
Actual Behavior
Steps to reproduce:
helm install
to install mo operatorhelm uninstall mo-operator
to uninstall a mo operatorhelm install
to reinstall mo operator, executed immediately after uninstalling mo-operatorafter step 4, it will shows that install successfully, but after a moment the mo operator will report an error that lack CRD.
the reason behind this error is that helm does not check if an already existed CRD is been deleting (It's deletiontimestamp is not nil) when installing chart. and after install successfully, the CRD which been deleting will be deleted
Expected Behavior
If a CRD is been deleting, the
helm install
command should failSteps to Reproduce
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: