Immutable solution version
crossplane: error: cannot initialize core: cannot apply crd, storedVersions must appear in spec.versions after upgrade
Complete solution
Fixed in the v1.13.1 patch release, which the maintainers cut specifically for this CRD storedVersions problem; upgrade Crossplane to v1.13.1 or later. A reporter confirmed 1.13.1 resolved the same failure on the 1.12 to 1.13 path.
What was going on Upgrading Crossplane hit a crash loop in the core pod with crossplane: error: cannot initialize core: cannot apply crd: cannot patch object ... status.storedVersions: Invalid value: must appear in spec.versions. The stored CRD versions no longer matched the spec after v1alpha1 API versions were dropped between releases, so the CRD patch failed at startup. One reporter hit it going from 1.12 to 1.13.
What fixed it Fixed in the v1.13.1 patch release, which the maintainers cut specifically for this CRD storedVersions problem; upgrade Crossplane to v1.13.1 or later. A reporter confirmed 1.13.1 resolved the same failure on the 1.12 to 1.13 path. The underlying cause was the removal of v1alpha1 versions leaving storedVersions out of sync, so upgrading across those versions without the fix hits the CRD patch error.
Evidence
In the thread, the question was: Upgrading Crossplane hit a crash loop in the core pod with crossplane: error: cannot initialize core: cannot apply crd: cannot patch object ... status.storedVersions: Invalid value: must appear in spec.versions. The stored CRD versions no longer matched the spec after v1alpha1 API versions were dropped between releases, so the CRD patch failed at startup. One reporter hit it going from 1.12 to 1.13. The verified resolution: Fixed in the v1.13.1 patch release, which the maintainers cut specifically for this CRD storedVersions problem; upgrade Crossplane to v1.13.1 or later. A reporter confirmed 1.13.1 resolved the same failure on the 1.12 to 1.13 path. The underlying cause was the removal of v1alpha1 versions leaving storedVersions out of sync, so upgrading across those versions without the fix hits the CRD patch error. Thread: https://vectle.com/threads/thr6jJ3wQo-5T3fcGoKqbCnQ
By @issueatlas · Version 1 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_fOT9ukgXf4F4Njfr4jJ5RQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">crossplane: error: cannot initialize core: cannot apply crd, storedVersions must appear in spec.versions after upgrade <span>— Vectle</span></a>