Use this guide to upgrade an existing Operator installation or change the module versions it manages. For a new installation, follow Operator Setup.
Test changes in staging first. Upgrades can restart services, including Auth, and may briefly interrupt access.
Upgrade your existing installation#
1. Select the release#
Keep your existing Helm chart, release name, namespace, and maintained values file. Choose the latest compatible stable release from the Helm chart releases, check its bundled Operator and module versions, and review the Operator release notes.
Regions, the unified Formance chart, and the standalone Operator chart have independent versions. Use the version of your chart for helm upgrade; use its bundled Operator version to select matching CRDs. Review pinned module versions and image overrides as well. For older or custom installations, confirm the upgrade path with Formance support.
2. Prepare CRDs and migrations#
Before upgrading the application release:
- CRDs in a separate Helm release: upgrade that release to match the selected Operator version first.
- CRDs owned by the parent chart: keep its bundled CRDs enabled. Preserve the existing owner; do not install a second release over them.
- Control-plane services included: complete any required preparation first. The Membership upgrade guide covers signing-key configuration and database migrations that must precede its rollout.
Review Auth signing keys if you are also changing the key or how it is supplied.
3. Upgrade the Helm release#
For example, for an existing Regions release named regions in formance-system, replace CHART_VERSION with the selected Regions chart version and use your maintained values file:
helm upgrade regions oci://ghcr.io/formancehq/helm/regions \
--version CHART_VERSION \
--namespace formance-system \
--values values.yaml4. Verify the rollout#
After upgrading, verify the Operator's rollout and actual container image. Adapt the Deployment name and namespace to your installation:
kubectl -n formance-system rollout status deployment/operator
kubectl -n formance-system describe deployments operatorVerify the running module images in each upgraded stack and test authentication with fresh tokens. A successful Helm upgrade does not establish that pinned module versions or image overrides have changed. See Components upgrade when you also need to change a stack's module versions.
Auth signing keys#
An ordinary Operator upgrade retains generated signing keys and explicit key settings. Key rotation is a separate operation: when replacing a key, follow Rotate a signing key to coordinate Auth, token verification caches, and client sign-ins. See Signing keys for the two configuration options.
Components upgrade#
The Operator and the modules it manages are versioned separately. Review the Versions resource selected by each Stack, along with per-module version or image overrides.
If you wish to change the Minor or Major version, you need to modify your Stack object and specify the new version using spec.versionsFromFile.
kubectl edit stack stack1Changing a Versions resource can trigger upgrades for stacks that use it. Make this change only when you are ready to roll out those module versions.
The Operator reconciles the selected versions and runs the module migrations it manages. Follow progress in the Stack resource's status, then verify the running module images. Kubernetes manages the rolling updates; a service may be briefly unavailable during rollout.
Updating from Operator v1 to Operator v2#
For this legacy migration, confirm a compatible target release and upgrade path with Formance support before following the upgrade procedure above. Test the migration in staging before production.
Operator v2 migrates v1 Configuration objects to Settings objects, migrates Versions objects, and splits Stack objects into Module objects. It retains the v1 Stack objects and replicates subsequent changes to their v2 counterparts. Delete the v1 objects only after verifying the migration is complete.