Upgrading Kubernaut¶
Before upgrading, read the notes for every minor version between your current version and the target version.
General Upgrade Procedure¶
Use helm upgrade to apply configuration changes or move to a new chart version:
helm upgrade kubernaut oci://quay.io/kubernaut-ai/charts/kubernaut \
-n kubernaut-system --reuse-values \
--set holmesgptApi.llm.model=gpt-4o-mini
To upgrade to a specific version, add --version <new-version>.
CRD Schema Changes¶
Helm does not upgrade CRDs on helm upgrade. Starting with v1.1, the chart includes a pre-upgrade hook that automatically applies all CRD manifests via kubectl apply --server-side --force-conflicts before the upgrade proceeds. This ensures CRD schema changes (field additions, removals, default changes) take effect without manual intervention.
Upgrading from chart versions before v1.1
If you are upgrading from a chart version that does not include the pre-upgrade hook, you must manually apply the new CRDs first:
Key Upgrade Behaviors¶
- CRD schemas are applied automatically via the pre-upgrade hook using server-side apply with force-conflicts.
- TLS certificates (
tls.mode: hook): Renewed automatically if expiring within 30 days. Incert-managermode, cert-manager handles renewal. - Database migrations run automatically via the post-upgrade hook.
- PVCs are not modified (immutable for bound claims).
- ConfigMaps and Secrets are updated to reflect new values.
Secret Changes¶
Starting with chart version v1.1.0-rc14, the chart no longer auto-generates PostgreSQL or Valkey credentials. All database and cache secrets must be pre-created before running helm install or helm upgrade.
Key changes:
datastorage-db-secretconsolidated intopostgresql-secret— Thedb-secrets.yamlkey that was previously in a separatedatastorage-db-secretis now expected insidepostgresql-secret. This eliminates password mismatch risks between the two secrets.datastorage.dbExistingSecretdeprecated — Leave empty to use the consolidatedpostgresql-secret. Only set if you need DataStorage to read from a separate secret.- Mandatory pre-creation — If a required secret is missing,
helm install/helm upgradefails at template time with a descriptive error including the exactkubectl create secretcommand needed.
See the installation guide for the full pre-creation commands.
Version-Specific Notes¶
No active version-specific migration guides. v1.0 is end-of-life and no longer documented.