Skip to content

Add reference docs for calicoctl datastore migrate-policy-names#2877

Open
caseydavenport wants to merge 2 commits into
tigera:mainfrom
caseydavenport:casey-migrate-policy-names-ref
Open

Add reference docs for calicoctl datastore migrate-policy-names#2877
caseydavenport wants to merge 2 commits into
tigera:mainfrom
caseydavenport:casey-migrate-policy-names-ref

Conversation

@caseydavenport

Copy link
Copy Markdown
Member

Adds reference docs for the new calicoctl datastore migrate-policy-names command (projectcalico/calico#13257), for both the Next and 3.32 docs.

The command rewrites pre-v3.32 policy names in an etcdv3 datastore so the stored name matches the v3 resource name. You only need it on an etcdv3 datastore (for example OpenStack) that was upgraded in place from before v3.32 - a Kubernetes datastore is migrated automatically by kube-controllers.

This is the reference-doc companion to Nell's OpenStack upgrade procedure in #2851, and like that PR it's aimed at the v3.32.2 release. OSS only for now, since the command hasn't merged to Calico Enterprise yet.

While I was in the datastore overview I also fixed the help-text heading, which said calicoctl datastore migrate --help but shows the calicoctl datastore --help output.

Related: CORE-13170

Documents the new command for the Next and v3.32 docs. OSS only for now,
since the command has not merged to Calico Enterprise yet.
@caseydavenport
caseydavenport requested a review from a team as a code owner July 23, 2026 15:29
Copilot AI review requested due to automatic review settings July 23, 2026 15:29
@netlify

netlify Bot commented Jul 23, 2026

Copy link
Copy Markdown

Deploy Preview succeeded!

Built without sensitive environment variables

Name Link
🔨 Latest commit dcdb691
🔍 Latest deploy log https://app.netlify.com/projects/tigera/deploys/6a62380793ad880008bfd4bb
😎 Deploy Preview https://deploy-preview-2877--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: 70 (🔴 down 25 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

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

@netlify

netlify Bot commented Jul 23, 2026

Copy link
Copy Markdown

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

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

QR Code

Use your smartphone camera to open QR code link.

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

Adds Calico Open Source reference documentation for the new calicoctl datastore migrate-policy-names command, and wires it into both the “next” (unversioned) docs and the Calico v3.32 versioned docs navigation.

Changes:

  • Add new reference pages for calicoctl datastore migrate-policy-names (next + v3.32).
  • Update calicoctl datastore overview pages to show the correct --help header and include the new subcommand/link.
  • Add the new doc to both unversioned and v3.32 sidebars.

Reviewed changes

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

Show a summary per file
File Description
sidebars-calico.js Adds the new reference doc to the unversioned Calico sidebar navigation.
calico/reference/calicoctl/datastore/overview.mdx Fixes the help-text heading and lists the new migrate-policy-names subcommand + link.
calico/reference/calicoctl/datastore/migrate-policy-names.mdx New reference page documenting purpose, help output, examples, and related links.
calico_versioned_sidebars/version-3.32-sidebars.json Adds the new reference doc to the v3.32 versioned sidebar.
calico_versioned_docs/version-3.32/reference/calicoctl/datastore/overview.mdx Same overview updates as unversioned docs for v3.32.
calico_versioned_docs/version-3.32/reference/calicoctl/datastore/migrate-policy-names.mdx New v3.32 reference page (includes v3.32.2+ availability note).

Comment thread calico/reference/calicoctl/datastore/overview.mdx Outdated
Comment thread calico_versioned_docs/version-3.32/reference/calicoctl/datastore/overview.mdx Outdated
Matches the CLI wording clarification (calicoctl now says it drops the
legacy "default." tier prefix).

@nelljerram nelljerram left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. But if the plan is to merge this when 3.32.2 is released, couldn't we also immediately populate Enterprise Next and Cloud Next at that time, and hence include those changes in this PR?

Obviously will need to get @ctauchen 's review also.

@caseydavenport

Copy link
Copy Markdown
Member Author

@nelljerram I left it out of those docs given those products don't include OpenStack or etcdv3 datastore support

@nelljerram

Copy link
Copy Markdown
Member

@nelljerram I left it out of those docs given those products don't include OpenStack or etcdv3 datastore support

That makes perfect sense. But the PR description makes it sound like it was for a different reason related to code merge timing: "OSS only for now, since the command hasn't merged to Calico Enterprise yet."

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.

3 participants