virtualization
virtualization copied to clipboard
feat(vi,vd): add storage class ready condition, waiting in pending while storage class not ready
Description
Introduces a readiness condition and validation for StorageClass specified in VirtualImage and VirtualDisk. If the specified StorageClass is not ready, the resource will remain in a pending state.
Why do we need it, and what problem does it solve?
What is the expected result?
Checklist
- [x] The code is covered by unit tests.
- [ ] e2e tests passed.
- [ ] Documentation updated according to the changes.
- [x] Changes were tested in the Kubernetes cluster manually.