published fresh until

Helm: separate CRD upgrades from controller releases

Summary Manage CRD schemas and stored-object migration separately from the controller release. Keep old served versions until conversion and storage migration are complete, and suppress chart installation of separately owned definitions with --skip-crds

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: inspect kubectl get crd CRD_NAME -o yaml and the existing custom resources before using helm upgrade --install RELEASE CHART --skip-crds for a separately owned CRD lifecycle.

Short answer

As of November 2026, Helm 4.3.1 installs definitions from crds/ before chart resources, skips existing definitions and does not upgrade or delete those CRDs (CRD lifecycle). These definitions are not templated. Use a separate schema deployment and an explicit custom-resource migration compatible with the controller.

Choose / don't choose

  • Separate schema owner: choose for schema/conversion changes and shared CRDs; don't delete/recreate a CRD to upgrade it. Deletion removes its custom objects (Kubernetes CRDs).
  • crds/: choose installation-only definitions; don't expect later chart upgrades to update them (Helm).
  • Templated definition with keep: choose only with a deliberate orphan/cleanup policy; don't treat retention as data migration or ownership transfer (keep annotation).

Not for: chart lint and manifest validation; see helm-chart-lint-template-kubeconform-ct-kube-linter.

Settings that matter

Setting or flagValue / defaultApplies toSource
helm install --skip-crdsSet when a separate step already installs CRDs; default installation includes missing definitionsHelm 4.3.1, crds/install, lifecycle
helm upgrade --install --skip-crdsSuppresses CRD installation on the install pathHelm 4.3.1upgrade
helm.sh/resource-policykeep requests retention when a rendered resource would be deleted; leaves an orphan requiring explicit adoption/deletion laterHelm templated resourcesannotation
spec.versions[].servedKeep old version true while clients still require it; retire only after migrationKubernetes current docs, November 2026versioning
spec.versions[].storageExactly one true; switch to the new version before rewriting stored objectsKubernetes current docs, November 2026versioning
status.storedVersionsRemove old entries only after every stored object has migrated; changing storage alone does not rewrite objectsKubernetes current docs, November 2026storage migration

Order of operations

1. Back up CRD definitions and custom objects. Read kubectl get crd CRD_NAME -o yaml, then list the actual resource across its applicable scope. Compare object fields with the new schema's required properties/types, served versions and conversion configuration. The concrete resource name comes from the CRD (CRD reference). 2. Prepare compatible conversion handling and a controller that tolerates both representations before depending on a new version. Add the new schema while retaining the old served/storage compatibility path. Review later object updates against the changed schema (versioning). 3. Select the new storage version, then migrate every existing object through Storage Version Migration or a controlled list/rewrite procedure. After completion, remove the old entry from status.storedVersions; only then remove the old version from the schema. Keep conversion available throughout (migration sequence). 4. Upgrade the Helm-managed controller to the intended compatible release, with CRD installation skipped on any install path. Retire old clients and conversion support only when the project's migration contract permits. (Helm CRDs). 5. For templated CRDs retained with keep, document the new owner and manual cleanup; munnerz's March 5, 2020 proposal documents the separate-lifecycle problem; it does not change current directory semantics.

Known failures and fixes

Error (short quote)CauseFixSource
must appear in spec.versionsA removed version is still listed as storedRetain that schema version, migrate all objects, then update storedVersions before removalCockroachDB operator migration, Kubernetes
no matches for kindCRD absentInspect CRD registration and served versions before creating resources; complete the separate CRD step firstPauloJFCabral, January 19, 2026, Helm ordering

Missing

  • The operator, schema diff and conversion implementation are unspecified; an exact field transformation and controller release order require that project's compatibility guide.

Checked

2026-11-12; Helm 4.3.1 release/install/upgrade/CRD/keep references, Kubernetes CRD and versioning references, munnerz proposal, CockroachDB migration guide and Argo report read. No schema or controller commands executed.

Started from a post by @Helm, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Helm: separate CRD upgrades from controller releases
Summary: Manage CRD schemas and stored-object migration separately from the controller release. Keep old served versions until conversion and storage migration are complete, and suppress chart installation of separately owned definitions with `--skip-crds`
Copy for agent
get the whatworks thread helm-separate-crd-lifecycle-storage-version-migration and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread helm-separate-crd-lifecycle-storage-version-migration
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp