Upgrading the Zitadel Helm chart on Kubernetes

A planning guide for upgrading self-hosted Zitadel through the official Helm chart, covering chart and app versions, README breaking changes, the Login V2 workload and setup jobs before new pods.

On this page

How to upgrade the Zitadel Helm chart on Kubernetes without breaking logins

A platform team running Zitadel through the official Helm chart on Kubernetes moves to a newer release by working through three things in order: the chart version, the Zitadel application version the chart deploys, and the chart README notes for every major step crossed. The supported path is to take each documented step in sequence rather than jumping straight to the newest chart, because breaking changes are recorded per chart release and a skipped note is the most common reason a login path stops working after an upgrade. Start by reading the chart README for every version between your current and target chart, and record which values keys, workloads and jobs change at each step.

The chart version and the Zitadel app version are separate numbers. The chart is the packaging: templates, default values, the setup and runtime workloads and their dependencies. The app version is the Zitadel binary the chart runs, set through the image tag. One chart release can deploy a different app version than the previous one, and an app version can be run by more than one chart version, so a chart bump is not a complete description of what changes in production. Planning therefore needs two inventories: the chart version and values file in use today, and the image tag the running pods report. Confirm the pairing for your target with the chart README and the Zitadel releases page rather than inferring it from version numbers, because this page does not establish compatibility between specific chart and app versions.

What changes in a Helm chart upgrade and what each change requires

This table compares the four kinds of change that affect a Zitadel Helm upgrade, from version numbering to setup jobs and the Login V2 workload. Read each row as a check to run against your target chart version before you change anything in the cluster. The main takeaway is that chart major versions and Login V2 defaults can change behavior even when the Zitadel application version looks familiar.

ChangeImpactAction needed
Chart version versus app versionThe chart version and the Zitadel application version are separate numbers, so a chart upgrade can move the app version and a chart pin can hold it back.Record the chart version and the image tag currently running, then confirm the app version the target chart deploys in its values and README.
Chart README notes for major chart steps (v8 to v9)Major chart releases can rename or remove values and change defaults that your existing values file depends on.Read the v8 to v9 section of the chart README, compare each listed change with your values file, and update the file before rendering templates.
Chart README notes for major chart steps (v9 to v10)A later major step can add its own breaking changes, so skipping an intermediate major version can leave gaps in your values.Walk through each major README section in order if you are upgrading across more than one major version, and confirm exact keys for your target.
Login V2 workload deployed by newer chartsNewer charts may deploy a Login V2 workload by default even though existing instances have not enabled Login V2, which adds a running component you did not configure.Decide whether you want the workload now. Set login.enabled to false to omit it, or plan and test its deployment, and confirm the default for your chart version.
Setup jobs that must complete before new pods startSetup jobs prepare the database and instance state that the new runtime expects, so starting new pods before they finish can cause failed starts or inconsistent state.Confirm the setup job completes successfully and check its logs before the new application pods roll out, and make this a gate in your deployment pipeline.
Values and secrets compatibilityRenamed or restructured keys can silently fall back to defaults, which may change database, domain or TLS settings.Render the chart with your values, diff the output against the running release, and check that database and masterkey settings are unchanged.

Why the setup job and the Login V2 workload matter for ordering

The ordering risk in a Helm upgrade is that the chart rolls out new runtime pods while the database schema, setup state or instance configuration still reflects the previous release. A Zitadel chart typically renders a set of Deployments for the API and login components alongside one or more Kubernetes Jobs that run the setup and schema steps. Helm applies these resources in an order, but a Job finishing successfully is a separate event from a Deployment becoming ready, so the upgrade is only safe when you confirm the setup Job has completed before any new runtime pod receives traffic. Check the rendered output with helm template and the chart's own templates to identify the exact Job names, their hook annotations and whether they run as pre-upgrade hooks. Then decide how your pipeline will block on the Job, for example by waiting on its completion status and failing the rollout if it does not succeed. Record the Job logs as part of the change evidence.

The Login V2 workload is the second ordering concern because it can appear in an upgrade you did not plan as a login change. Newer charts may deploy a Login V2 component by default even when your existing instance has not enabled Login V2, so the pods exist before any instance setting routes users to them. Treat this as a deployment inventory change: a new Deployment, Service and ingress path may be created, and it needs its own readiness check, network policy and TLS coverage in your environment. If you do not want the workload running, the chart's login.enabled value controls whether it is rendered, and the README of the target chart version lists breaking changes that affect this and other values. Confirm the setting in the chart README and your values file before you run the upgrade, and document the expected state of each workload afterward.

Backup and setup finish before the new runtime takes traffic

The diagram starts with the inventory of the PostgreSQL database and values files, then moves through a rendered and diffed chart before the setup job runs to completion. Only after setup succeeds does the new runtime roll out, followed by a decision on whether the Login V2 workload is enabled or omitted with login.enabled: false. Verification either confirms the release or sends the team back to the prior chart release through the rollback branch.

The upgrade sequence, with a rollback branch to the prior chart release.

What to prepare before changing the chart version

Most failed Helm upgrades trace back to preparation gaps rather than the upgrade command itself. The six items below give you a recovery point, a clear picture of what you are changing, and a tested path back. Work through them in order before any chart version changes in production.

Database backup before setup runs

Take a verified PostgreSQL backup before the setup job runs, because the chart's setup jobs write schema and data changes that a new app version depends on. Confirm your PostgreSQL server is on a supported major version in the range 14 through 18, and record the backup identifier alongside the Helm release. Test that the backup restores into a scratch database before you rely on it.

Database docs

Inventory of values and overrides

List every value file, --set flag and secret reference used for the current release, including login.enabled. Newer charts may deploy a Login V2 workload by default, so an explicit login.enabled: false decides whether that workload appears in your cluster. Store the rendered output of helm get values in version control so the next upgrade can be diffed against it.

Record of chart and app versions

Write down the installed chart version and the Zitadel app version as separate entries, since they do not move in lockstep. Capture the output of helm list and the image tags in the running deployments. This record tells you which chart README sections apply to your jump and what a rollback must restore.

Staging cluster that matches production

Run the full upgrade in a staging cluster with the same Kubernetes version, ingress controller, TLS setup, database major version and values file as production. Differences in these areas are the most common reason an upgrade passes in test and fails in production. Confirm with your platform team that staging reflects the production network path that users and relying parties actually reach.

Chart README review for each major step

Read the chart README for every major version you cross, not only the target. Breaking changes such as renamed keys, removed defaults or new required workloads are listed there. Write each one down against your values inventory so that every item is either applied, intentionally kept or confirmed as not applicable to your deployment.

Kubernetes operations docs

Rollback plan using the prior release

Keep the previous Helm release revision available and agree on the rollback trigger before the upgrade starts. Helm can return the release to its prior revision, but it cannot undo database migrations that already ran, so the backup from the first card must be part of the plan. Rehearse the rollback in staging and name the person who decides to invoke it.

The upgrade sequence for the Zitadel Helm chart

This sequence moves a self-hosted Zitadel release to a newer Helm chart in a controlled order, so that data, configuration and the setup job are protected before any production pod changes. Each step ends with a check that confirms it is safe to continue.

  1. Read the target chart README and intermediate notes

    The platform or identity engineer who owns the deployment reads the chart README for the target version and every major-version note between the current chart and the target, such as the v8 to v9 and v9 to v10 notes. They record each breaking change, renamed value and required manual action in a change record. Newer charts may deploy a Login V2 workload by default, so the reader must note that behavior specifically. The step is complete when every intermediate note has been read and each required action has an owner. Rollback point: nothing has changed yet, so no rollback is needed.

  2. Back up PostgreSQL and Helm values

    The database owner takes a verified PostgreSQL backup of the Zitadel database, and the deployment engineer exports the current Helm values and the rendered manifests from the running release. Both are stored outside the cluster, in a location the rollback procedure can reach. Confirm the backup restores into a scratch database before relying on it, and confirm the database version is within the supported range of PostgreSQL 14 through 18. The step is complete when a restore test has succeeded and the exported values file is committed to version control. Rollback point: this backup and values set is the baseline for every later step.

  3. Rehearse the upgrade in staging

    The team deploys the target chart to a staging environment that uses a copy of the production values and a restored copy of the production database. They run the upgrade with the same commands planned for production and watch for failed hooks, changed values, pods that do not start and unexpected changes in the rendered diff. Any fixes go back into the production values and the change record. The step is complete when a full staging upgrade finishes cleanly and the team can repeat it from the written procedure. Rollback point: staging can be reverted to the prior release, which shows whether the reversal path works before it is needed in production.

  4. Confirm the setup job completes before new pods

    The deployment engineer checks that the Zitadel setup job from the new chart finishes successfully before the new application pods serve traffic. Setup jobs apply database migrations and initialization, so new pods that start early can fail or run against an unmigrated schema. The engineer reviews the job logs, confirms the completion status and only then confirms that the new replica set is scaling up. The step is complete when the job log shows a successful finish and the application pods report ready. Rollback point: if the job fails, stop the rollout, keep the old pods running and restore from the backup taken earlier if the schema was partly changed.

  5. Decide on login.enabled and Login V2

    The platform owner and the identity team decide whether the new release deploys the Login V2 workload and whether it should be set in the values file. Setting login.enabled to false omits that workload, which keeps the existing login behavior, while leaving it enabled deploys the component without switching existing instances to Login V2. The decision, the reason for it and the values change are recorded before production. The step is complete when the chosen value is in the reviewed values file and staging was tested with that same setting. Rollback point: reverting this value in the values file and re-running the upgrade returns the release to the previous login configuration.

  6. Roll out the upgrade in production

    During an agreed change window, the deployment engineer applies the reviewed values and chart version to production using the exact procedure proven in staging. The engineer watches the setup job, the rollout status of each workload and the pod events, and pauses if any step deviates from staging. The team does not run further changes until the rollout reports complete. The step is complete when every workload reports the new version and no pods are in a crash or restart loop. Rollback point: the previous release revision and the database backup remain available, so the team can return to the prior state if the rollout fails.

  7. Run health checks and login tests

    The operations team checks the health endpoints and readiness probes for each Zitadel component, then runs end-to-end login tests against the test applications that depend on the instance. Tests cover the console, a password and a passkey login where enabled, token issuance and at least one federated identity provider used by the organization. The team reviews logs for errors after the rollout and compares them with the pre-upgrade baseline. The step is complete when the agreed test cases pass and the logs show no new recurring errors. Rollback point: if a critical test fails, the team reverts to the previous release revision while the cause is investigated.

  8. Hold the rollback point until verification passes

    The change owner keeps the previous release revision, the values backup and the database backup available until the health checks, login tests and a defined period of monitoring are complete, as agreed in the change plan. Only then does the team remove the old revision and close the change record. The owner records the chart version, app version, values decisions and test results so that the next upgrade starts from a documented baseline. The step is complete when the change record is signed off and the retained artifacts are either archived or removed under the retention policy. Rollback point: until sign-off, the rollback artifacts stay in place and are not deleted.

How to test an upgrade and roll it back safely

Test the upgraded instance against the logins your organization depends on before you call the upgrade finished, and plan the rollback around the database rather than the chart. After the rollout, check OIDC and SAML login for each organization, because each customer organization can federate to its own identity provider and a failure may only show up for one tenant. Confirm that tokens are issued with the expected claims and signing behavior for a representative relying party, that SCIM provisioning still creates, updates and deactivates users, that administrators can reach the console through the ingress path they normally use, and that federated logins through Google, Entra ID, Okta or any other provider you rely on still complete end to end. Run these checks in a staging environment built from the same chart values as production, using test accounts in each organization.

Be clear about what a Helm rollback does and does not undo. A helm rollback restores the previous chart release, meaning the Deployments, Services and configuration that the chart rendered. It does not automatically reverse database schema or data changes made by the setup job, so an older application version may not start cleanly against a migrated database. For that reason, take a verified PostgreSQL backup immediately before the setup job runs, and treat that backup as the real rollback point. Test a restore of that backup in a non-production environment before the production window, and confirm with Zitadel's upgrade notes for your target version exactly which setup steps are reversible and whether any older release can read the newer schema. Record the chart version, app version, values file and backup identifier together so the rollback decision can be made quickly.

What makes a Zitadel chart upgrade take longer

This table lists the factors that stretch a Zitadel Helm chart upgrade and what each one adds to the work. Read each row as a question to answer about your own environment before you pick a window. The main takeaway is that custom values, v1 API usage and backup size usually set the pace more than the chart upgrade command itself.

DriverWhy it adds effortHow to reduce it
Custom values and overridesEvery override file must be compared with the new chart's default values, and keys can be renamed or removed between major chart versions.Keep values in version control, diff them against the new chart defaults, and test the merged file in a staging cluster first.
Number of instances and organizationsEach instance and its organizations carry their own configuration, users and integrations, so checks and rollback tests multiply with scope.Inventory instances and organizations before the upgrade and define a smoke-test script that covers each one.
Identity provider federationsEach federated provider depends on callback URLs and trust settings that a chart change or domain change can disturb.List every federated provider, its redirect URI and its owner, then confirm logins through each one in staging.
Custom ActionsActions run in your hosted code paths, so runtime or login version changes can alter their behavior or their expected inputs.Export the Action inventory, test each Action in staging, and confirm which login version each depends on.
Integrations using v1 APIsScripts and services that call the use-case based v1 APIs need code review and testing when the chart moves to a newer product release.Identify every v1 call with a code search, check its v2 equivalent, and schedule the port separately from the chart upgrade.
Database size and backup durationA full PostgreSQL backup must finish and be verified before the upgrade, and larger databases lengthen that window and any restore test.Measure backup and restore time in staging, use a consistent snapshot method, and confirm restore steps with your database team.
Number of major chart versions crossedEach major chart release can carry breaking changes listed in its README, so jumping several majors at once means reading and testing each set of changes.Upgrade through one major step at a time where possible and read the chart README notes for every version crossed.
Availability target for the clusterA higher availability target requires rolling changes, setup jobs that finish before new pods start, and a tested rollback path.Confirm the required availability with the business owner, rehearse the rollout in staging, and check probes and pod disruption settings before the window.

Questions teams ask before upgrading the Zitadel Helm chart

What drives the cost and effort of a Zitadel Helm chart upgrade?

The effort follows the distance between your current chart and the target chart, plus how much your environment deviates from defaults. The main drivers are the number of major chart versions you cross, the chart README notes for each of those versions, your database and ingress setup, custom values files, and how many environments (development, staging, production) must be moved in order. Each of these adds review, testing and rollback planning. Costs split between internal staff time, which recurs with every upgrade cycle, and any external help, which is usually a one-time scope agreed in writing. Ask any partner to quote from a written list of the chart versions, environments and values changes in scope.

How long does a Zitadel Helm chart upgrade take?

Duration depends on the same drivers as cost: the chart versions crossed, the number of environments, the size of your custom values, and how quickly your team can run staging tests and approve production changes. Two checkpoints often take longer than the technical steps itself: validating login flows and relying parties after the upgrade, and agreeing a maintenance window. Read the chart README for every version between your current release and the target before you set a schedule, because breaking changes listed there can add work. Ask any partner to show how they will split the upgrade into staging and production phases, with the checks each phase needs.

What does an upgrade need from our internal platform team?

Your platform team needs access to the Kubernetes cluster, the Helm release and the values files, plus permission to change the Zitadel deployment and its PostgreSQL database. Someone must own the decision to upgrade, the rollback plan and the sign-off. Application owners who run OIDC or SAML clients should confirm which flows and tokens they depend on. Keep a current backup of the PostgreSQL database and the Helm values before you start, and make sure the team knows where the Zitadel logs and health probes are. Confirm exact permissions with your own security team, since they depend on your cluster policies.

Can our team upgrade the Zitadel Helm chart without outside help?

Yes, a team with Kubernetes, Helm and PostgreSQL experience can perform the upgrade using the official chart documentation and README. The questions to answer honestly are whether your team has upgraded this chart before, whether it can test in a staging cluster that matches production, and whether it can handle a failed setup job at short notice. Outside help is usually most useful for a first major-version crossing, for dependent application testing, or for a rollback plan you have not rehearsed. If you bring in a partner, DeployOpen works on fixed-scope engagements with written scope, deliverables and timelines agreed before work starts, and offers retainers for ongoing support.

How does Login V2 affect a Zitadel Helm chart upgrade?

Newer Zitadel charts may deploy a Login V2 workload by default, even though existing instances have not enabled Login V2. That means new pods and services can appear after the upgrade without changing how users sign in. Decide before the upgrade whether you want that workload running. If you do not plan to use it yet, set login.enabled: false in your values so the workload is omitted, and confirm this against the chart README for your target version. Check ingress routes and resource limits for the extra workload in staging, so an unplanned pod does not surprise your network or capacity teams.

What happens if a Zitadel setup job fails during the upgrade?

Setup jobs must complete before the new application pods start, so a failed job normally stops the rollout and leaves the previous pods running. Start by reading the job logs and the pod events in your cluster, then fix the cause, such as a database connection or permission problem, before retrying. Do not force new pods to start while a setup job is still failing, because the application may expect a database schema that has not been created. Before any production upgrade, write a rollback plan that covers restoring the PostgreSQL backup if a schema change has already been applied. Confirm the exact job names and recovery steps in the chart README and the Kubernetes operations documentation for your version.

How DeployOpen scopes and delivers a Zitadel chart upgrade

DeployOpen plans a Zitadel chart upgrade as a written, fixed scope before any cluster is touched. The first step is an inventory: the deployed chart version and app version, the values files in use, the login.enabled setting, the PostgreSQL version and the ingress and TLS layout. We also record which release notes and chart README sections apply between your current and target chart versions, so breaking changes such as those in the v8 to v9 and v9 to v10 notes are scoped in advance. The upgrade runs inside your own Kubernetes cluster and your own databases, under your change control. Scope, deliverables and timelines are agreed in writing before work starts, and the inventory output becomes the baseline for the rest of the engagement.

Next, we rehearse the upgrade in a staging environment built from a copy of your values and a restored copy of your database. The rehearsal checks that the setup job completes before the new pods start, that a Login V2 workload deployed by a newer chart is either intentionally enabled or intentionally disabled with login.enabled: false, and that your reverse proxy, certificates and relying parties still work after the change. Backup and rollback design runs alongside. We confirm a verified PostgreSQL backup and a point-in-time recovery path with your database owners, record the previous Helm revision for rollback, and agree the conditions under which rollback is chosen over a fix-forward. Ask your team to confirm who can approve the production window and who holds database credentials during it.

The production change window follows the rehearsal runbook, with DeployOpen running the steps and your staff observing and approving each gate. Verification covers health endpoints, setup job logs, login flows for each identity provider in use, token issuance for representative clients and monitoring alerts. Handover delivers the as-run runbook, the values changes, the rollback record and the open items, and it names the owner for the next chart release. Ask for the deliverables and acceptance criteria in the written scope, and confirm with DeployOpen's team what is included after the window closes.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.