Skip to content

Explain the two ways to upgrade CRDs with Helm - #2908

Open
caseydavenport wants to merge 1 commit into
tigera:mainfrom
caseydavenport:casey-helm-crd-options
Open

Explain the two ways to upgrade CRDs with Helm#2908
caseydavenport wants to merge 1 commit into
tigera:mainfrom
caseydavenport:casey-helm-crd-options

Conversation

@caseydavenport

Copy link
Copy Markdown
Member

The tigera-operator chart no longer ships the CRDs, and the upgrade docs only showed the manual apply. That leaves users with manageCRDs: true in their values wondering whether the manual step is still needed, and users on GitOps tooling wondering whether they need a second HelmRelease. Came up in Slack.

Adds a short section to the Helm upgrade instructions covering both options and why we recommend applying the CRDs yourself: the new CRDs land before the new operator starts, so new configuration can be set ahead of the upgrade. Also adds the helm template form of the CRD apply next to the raw manifest URL, which is easier to wire into GitOps tooling.

Applied to Calico latest, Calico 3.32, and Calico Enterprise. The Enterprise version also notes that manageCRDs does not cover the Prometheus and ECK CRDs.

Users hit this when the operator chart stopped shipping CRDs.
Copilot AI review requested due to automatic review settings August 7, 2026 15:00
@caseydavenport
caseydavenport requested a review from a team as a code owner August 7, 2026 15:00
@netlify

netlify Bot commented Aug 7, 2026

Copy link
Copy Markdown

Deploy Preview succeeded!

Built without sensitive environment variables

Name Link
🔨 Latest commit 7213ae9
🔍 Latest deploy log https://app.netlify.com/projects/tigera/deploys/6a75f30544b2f7000717a5e5
😎 Deploy Preview https://deploy-preview-2908--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: 69 (🟢 up 3 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 Aug 7, 2026

Copy link
Copy Markdown

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

Name Link
🔨 Latest commit 7213ae9
🔍 Latest deploy log https://app.netlify.com/projects/calico-docs-preview-next/deploys/6a75f3051df5bc00081d0b8c
😎 Deploy Preview https://deploy-preview-2908--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

This PR updates the Helm upgrade documentation to explicitly explain the two available approaches for CRD upgrades now that the tigera-operator chart no longer ships CRDs, helping users understand how manageCRDs: true affects upgrade flow and how to support GitOps workflows.

Changes:

  • Adds guidance describing the two CRD-upgrade approaches (manual apply vs. operator-managed via manageCRDs: true) and why manual apply is recommended.
  • Adds a helm template … | kubectl apply … option for applying CRDs (useful for GitOps pipelines).
  • Updates Calico Enterprise Helm upgrade docs to clarify CRD scope and note that Prometheus/ECK CRDs are still manual.

Reviewed changes

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

File Description
calico/operations/upgrading/kubernetes-upgrade.mdx Documents the two CRD upgrade options and adds Helm templating as an alternative to applying the raw CRD manifest.
calico-enterprise/getting-started/upgrading/upgrading-enterprise/kubernetes-upgrade-tsee/helm.mdx Adds explanation of CRD upgrade approaches and clarifies manageCRDs limitations for Prometheus/ECK CRDs.
calico_versioned_docs/version-3.32/operations/upgrading/kubernetes-upgrade.mdx Backports the two-option CRD upgrade guidance and Helm templating option to the 3.32 versioned docs.

Comment on lines +60 to 66
Or, using the CRD chart:

```bash
helm template calico-crds projectcalico/crd.projectcalico.org.v1 --version $[releaseTitle] | kubectl apply --server-side --force-conflicts -f -
```

1. Run the Helm upgrade:
@ctauchen

Copy link
Copy Markdown
Collaborator

LGTM, feel free to merge.

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.

4 participants