matrixone-operator
matrixone-operator copied to clipboard
[Bug]: matrixone operator may lack CRD resource even helm install return success
Is there an existing issue for the same bug?
- [X] I have checked the existing issues.
Environment
- Version or commit-id (e.g. v0.1.0 or 8b23a93):
- Hardware parameters:
- OS type:
- Others:
Actual Behavior
Steps to reproduce:
- use
helm installto install mo operator - deploy a mo cluster, wait all pods to start successfully, includes logset pod/cn pod/dn pod
- use
helm uninstall mo-operatorto uninstall a mo operator - use
helm installto reinstall mo operator, executed immediately after uninstalling mo-operator
after 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 fail
Steps to Reproduce
No response
Additional information
No response