Remove v1alpha1 API
GJ
17h ago+14730+14730+01234567890123456789012345678901234567890123456789-54701-54701-01234567890123456789012345678901234567890123456789
What type of PR is this?
/kind api
What this PR does / why we need it:
- Removes the
kelos.dev/v1alpha1API types, generated clients, compatibility paths, conversion implementations, and version-specific tests. - Regenerates all 11 Kelos CRDs with
v1alpha2as their only served and storage version. - Keeps the version-agnostic conversion registration endpoint and CRD manifest wiring for a future API version.
- Keeps the validating webhook configuration, admission validator, certificate wiring, and controller registration intact.
- Adds
kelos migrate-storageand makeskelos installmigrate resources andstatus.storedVersionsbefore removing a live CRD version. - Renames the manager webhook selector so it describes the shared webhook server rather than a specific conversion version.
Which issue(s) this PR is related to:
N/A
Special notes for your reviewer:
Before upgrading Helm-managed CRDs, run the new CLI's kelos migrate-storage command while the currently installed controller is still running. kelos install performs the same migration automatically when it detects that a live CRD version will be removed.
The storage migrator requires the target to be the live storage version, pages large resource lists, and counts only resources that were actually rewritten. These changes address the three findings from the earlier review of the pre-rebase head.
Validation:
make updatemake verifyenv -u CODEX_AUTH_JSON -u CODEX_HOME make testmake test-integration(console integration suites, 162 core specs, and 12 install/uninstall specs passed)make build WHAT=cmd/kelos
Does this PR introduce a user-facing change?
Remove the deprecated kelos.dev/v1alpha1 API. Before upgrading Helm-managed CRDs, run `kelos migrate-storage` while the existing controller is available; `kelos install` performs this migration automatically.