Skip to content

Update the CRD migration docs for DatastoreMigration v1 - #2888

Draft
caseydavenport wants to merge 3 commits into
tigera:mainfrom
caseydavenport:casey-migration-crd-v1
Draft

Update the CRD migration docs for DatastoreMigration v1#2888
caseydavenport wants to merge 3 commits into
tigera:mainfrom
caseydavenport:casey-migration-crd-v1

Conversation

@caseydavenport

Copy link
Copy Markdown
Member

The DatastoreMigration CRD is moving to migration.projectcalico.org/v1 on master (projectcalico/calico#13383). Bumps the example CR, and adds a note that an existing v1beta1 CRD has to be deleted first: Kubernetes rejects an update that drops a version still listed in storedVersions, so kubectl apply fails with a fairly confusing error otherwise. Deleting the CRD also deletes any DatastoreMigration resource, so the note calls that out too.

Also fixes the second copy of the migration steps in onpremises.mdx, which was still on v1beta1 and pointed at a CRD path inside the kube-controllers source tree. That path is going away, so it now uses the published manifest like the main page does.

Versioned docs are untouched. version-3.32 correctly documents v1beta1, which is what that release serves.

Related: CORE-12573

Bumps the example apiVersion and adds a note that an existing v1beta1
CRD has to be deleted first, since Kubernetes rejects dropping a
version that's still in storedVersions.
Same v1 bump and delete-old-CRD note as crd-migration.mdx, plus the
DatastoreMigration CRD path needs to point at manifests/ instead of
the in-tree kube-controllers path, which is going away.
Copilot AI review requested due to automatic review settings July 30, 2026 01:06
@netlify

netlify Bot commented Jul 30, 2026

Copy link
Copy Markdown

Deploy Preview succeeded!

Built without sensitive environment variables

Name Link
🔨 Latest commit 74bd43a
🔍 Latest deploy log https://app.netlify.com/projects/tigera/deploys/6a6aa38d6ba9e50008a6cdc0
😎 Deploy Preview https://deploy-preview-2888--tigera.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 94 (🟢 up 18 from production)
Accessibility: 98 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Jul 30, 2026

Copy link
Copy Markdown

Deploy Preview for calico-docs-preview-next ready!

Name Link
🔨 Latest commit 74bd43a
🔍 Latest deploy log https://app.netlify.com/projects/calico-docs-preview-next/deploys/6a6aa38dd45ef9000856032e
😎 Deploy Preview https://deploy-preview-2888--calico-docs-preview-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Calico and Calico Enterprise CRD migration documentation to reflect the DatastoreMigration CRD/API moving to migration.projectcalico.org/v1, and aligns the on-prem/self-managed guide with the published CRD manifest location.

Changes:

  • Update DatastoreMigration example resources to apiVersion: migration.projectcalico.org/v1.
  • Add guidance about deleting an existing DatastoreMigration CRD when upgrading from earlier releases (due to status.storedVersions constraints).
  • Fix the on-prem guide to reference the published DatastoreMigration CRD manifest instead of a kube-controllers source-tree path.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
calico/operations/crd-migration.mdx Updates DatastoreMigration API version to v1 and adds upgrade note about storedVersions/CRD deletion.
calico/getting-started/kubernetes/self-managed-onprem/onpremises.mdx Switches CRD install to published manifest URL, updates API version to v1, and adds the storedVersions/CRD deletion note.
calico-enterprise/operations/crd-migration.mdx Mirrors the Calico doc updates for Enterprise: v1 apiVersion and CRD deletion note.


:::note

If you installed the DatastoreMigration CRD on an earlier release, delete it before applying this one:

:::note

If you installed the DatastoreMigration CRD on an earlier release, delete it before applying this one:

:::note

If you installed the DatastoreMigration CRD on an earlier release, delete it before applying this one:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants