Skip to main content
Version 3.0

First the foundation,
then each component.

Move an installation made with Helm to a new chart version: what to check first, the order in which CRDs, the license, operators, and components are upgraded, and how to validate and roll back.

CompatibilityKubernetes1.32+OpenShift4.19+Rancher2.10.x+Helm3.2.0+

Upgrading TDP with Helm means repeating each component's same helm upgrade, release by release, with the new chart version and your values file, after upgrading the CRDs, license and operators on which the components depend.

Your environment

If you fill in your environment details here, examples and commands on the page use what you entered. The namespace, release name and values file are your choices, not the chart's. The release name varies by component: enter the one for the component you are upgrading now.

Before starting

Read the target version's release notes: they list what changes between releases and any extra steps. For installations made through GitOps, follow Upgrade through Argo CD.

Scenarios​

Current versions, workload readiness, values and volume backups.

There is a new chart version and you are upgrading an installation made with Helm. Before changing anything, record the current state: which versions are installed, whether workloads are stable, and a copy of values and data that allows you to go back. A failure that predates the upgrade, discovered only afterwards, confuses diagnosis.

Release

Each component is a Helm release. helm list shows the revision, status, chart and application version for each release.

Values

helm get values exports what was passed to the release. This is the basis for your values file for the new version.

Data

Helm does not copy persistent volumes. A VolumeSnapshot, when supported by the StorageClass, is the data backup.

List the current versions

Know which version each release starts from and which one is available in the registry.

Terminal input
helm list -n <NAMESPACE>
helm list -n tdp-system

# Latest chart version in the registry
helm show chart oci://registry.tecnisys.com.br/tdp/charts/<CHART_NAME>

Success when

The output lists each release with its chart and application version. Note the current revision: rollback returns to it.
$ helm list -n tdp
NAME             NAMESPACE        REVISION  UPDATED                                STATUS    CHART                 APP VERSION
tdp-postgresql   tdp              1         2026-03-31 11:49:29.1148779 -0300 -03  deployed  tdp-postgresql-<CHART_VERSION>  <APP_VERSION>

Confirm that workloads are ready

Start from a stable installation.

Terminal input
kubectl get pods -n <NAMESPACE>
kubectl get statefulset -n <NAMESPACE>
kubectl get deploy -n <NAMESPACE>

Success when

The pods are Running with a complete READY column, and StatefulSets and Deployments show all replicas ready.
$ kubectl get pods -n tdp
NAME                              READY  STATUS   RESTARTS  AGE
tdp-postgresql-0                  1/1    Running  0         21m

$ kubectl get statefulset -n tdp
NAME                            READY  AGE
tdp-postgresql                  1/1    23m

Export each release's values

One values file per release, as the basis for the new version.

Terminal input
helm get values <RELEASE_NAME> -n <NAMESPACE> -o yaml > <RELEASE_NAME>-values-backup.yaml

Repeat for each release to be upgraded.

Back up persistent volumes

A copy of the data that allows recovery in case of a serious failure.

Terminal input
# The component's PVCs
kubectl get pvc -n <NAMESPACE> -l app.kubernetes.io/instance=<RELEASE_NAME>

# One snapshot per volume (if supported by the StorageClass)
kubectl apply -f - <<EOF
apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshot
metadata:
name: <RELEASE_NAME>-snapshot
namespace: <NAMESPACE>
spec:
volumeSnapshotClassName: <SNAPSHOT_CLASS>
source:
persistentVolumeClaimName: <PVC_NAME>
EOF

kubectl get volumesnapshot -n <NAMESPACE>

Success when

Each VolumeSnapshot appears with READYTOUSE set to true.
$ kubectl get volumesnapshot -n tdp
NAME                     READYTOUSE  SOURCEPVC                 RESTORESIZE  SNAPSHOTCLASS   AGE
tdp-postgresql-snapshot  true    data-tdp-postgresql-0     1Gi          <SNAPSHOT_CLASS>  2m
caution

In case of a serious failure, these backups are the recovery path.

Next steps​