virtualization
virtualization copied to clipboard
chore(module): use v1alpha3 to install vmclass/generic
Description
- Change vmclass generic manifest to use strings for coreFractions.
- Fix error when hook trying to patch vmclass/generic without annotations.
Why do we need it, and what problem does it solve?
- Upgrade vmclass version after merging #1601.
- Fix blocking the main queue when new vmclass generic is created, but module-state secret is not created. E.g. this error may occur during the first installation of the module when ModuleConfig is invalid.
What is the expected result?
Newly created vmclass/generic has "apiVersion: virtualization.deckhouse.io/v1alpha3".
Checklist
- [ ] The code is covered by unit tests.
- [ ] e2e tests passed.
- [ ] Documentation updated according to the changes.
- [ ] Changes were tested in the Kubernetes cluster manually.
Changelog entries
section: module
type: chore
summary: Upgrade version to v1alpha3 for vmclass/generic, fix blocking main queue in case of unsuccessful module installation.