Rolling back the helm chart

If there is an issue during the upgrade, you could roll back the Helm release to a previous revision.

About this task

If the upgraded environment is not functioning as expected, or if an error was made during the upgrade, you can roll back the chart to a previous revision.

Procedure

  1. Run the following command:
    helm rollback RELEASE_NAME REVISION
    • RELEASE_NAME: The name of the release that you want to roll back.
    • REVISION: (Optional) Refers to a revision of the helm release. If this argument is omitted, the operation rolls back to the previous release.
  2. If you want to roll back to a specific release, run the following command first to get the revision number before the rollback:
    helm history RELEASE_NAME
    Note: Rolling back is not allowed if any of the following actions is done:
    • The database has been migrated in case of PostgreSQL 16 internal database.
    • The database schema of the decision components has been upgraded.
    • The RuleApps are redeployed with the new engine version.

What to do next

For more information about rolling back a helm release version, see Helm documentation External link opens a new window or tab.