Managing Hyperswitch releases with Argo CD

A practical guide to running self-hosted Hyperswitch through Argo CD: how the App-of-Apps pattern, Helm values in Git, drift detection and staggered rollouts fit together, and where Terraform stops.

On this page

Managing Hyperswitch releases with Argo CD for a self-hosted stack

Argo CD can hold the cluster state of a self-hosted Hyperswitch stack in Git and continuously reconcile the cluster to match it, so a monthly release becomes a reviewed commit instead of a manual Helm run. The decision your team still has to make is the boundary: which objects Argo CD owns (typically the Helm release of the Hyperswitch stack and its values) and which Terraform owns (the network, the cluster, PostgreSQL, Redis, identities and keys). Drawing that line before the first sync avoids two tools fighting over the same resource. In GitOps terms, the desired state of the Hyperswitch deployment lives in version-controlled files, an agent in the cluster compares that state with what is running, and any difference is either reported as drift or corrected. Hyperswitch is licensed under Apache 2.0, and Argo CD is also Apache-2.0 licensed with no paid edition from the project itself, so the tooling cost is the infrastructure you run it on plus the people who operate it.

GitOps earns its keep when more than one person or environment touches the stack. If you run separate sandbox, integration and production environments, need a record of who changed a payment routing setting or chart value and when, or have several operators who should not hold direct cluster-admin access, a Git-based flow gives you that trail and a single review point. If you run one environment with one operator, a well-kept Helm workflow may be enough, and Argo CD adds components to secure and upgrade. Before adopting it, confirm with your own platform team how Argo CD will authenticate: the Argo CD user management documentation recommends disabling the built-in admin user once SSO or local users are configured, and Argo CD 3.0 requires repositories to be defined as Kubernetes Secrets, which affects how you grant access to the Git repository holding your values files.

How Git, Argo CD and Terraform divide the work

The diagram starts in Git, where Helm values and Argo CD Application manifests are versioned and reviewed. Argo CD's controller reads those definitions and reconciles them into the cluster that runs the Hyperswitch Router, Scheduler, Control Center, PostgreSQL and Redis. Terraform sits underneath, provisioning the cluster, databases and keys before Argo CD ever runs. The trust boundary marks where cluster credentials and secrets sit, so check who can reach that boundary and how repository access is granted.

Terraform builds the foundation, Git defines the desired state, and Argo CD applies it.

How the App-of-Apps pattern splits Hyperswitch into Argo CD applications

In the App-of-Apps pattern, one root Argo CD application points at a folder in Git that contains child Application manifests. Each child then deploys one part of the stack, such as the Router, the Scheduler (Producer and Consumer), the Control Center, supporting services and optional components such as Superposition. The root application is the only object you apply by hand, and changes to the child manifests roll out through Git.

  • Separate children per component: Router, Scheduler, Control Center and Superposition each get their own Application, so Argo CD can show sync and health state for each one.
  • One root per environment: A root for sandbox, integration test and production keeps the environment tree explicit and makes promotion a Git change.
  • Shared chart source: Children reference the same Hyperswitch Helm chart version, so a version bump is one reviewed commit to the child file.
  • Sync waves for ordering: Annotations such as argocd.argoproj.io/sync-wave can order children so a dependency starts before the component that needs it.
  • Explicit project boundaries: Argo CD projects can restrict which repositories and namespaces each child may use.

Confirm with your team how many Argo CD projects you need and whether your Argo CD version supports the sync-wave behavior you plan to rely on before you commit to the folder layout.

Argo CD configuration options and when each fits a Hyperswitch stack

This table compares the main Argo CD configuration choices for a Hyperswitch stack, from cluster layout to sync behavior and repository access. Read each row for what the option protects against and what it asks of your reviewers. The main takeaway is that tighter boundaries and automation reduce drift risk but add review and ownership work that your team must staff.

OptionWhat it protects againstReview effort and trade-offWhen it fits
One cluster versus several destination clustersA failed release or bad values change in one environment reaching production nodes and dataSeveral clusters mean more upgrades, more credentials to rotate and more places to check driftUse separate clusters when production must be isolated from sandbox and integration testing
Manual syncUnreviewed changes reaching live Router and Scheduler pods without an approverEvery release needs a person to click sync, which slows patch releases but keeps a human decision in the pathProduction during early adoption or while change approval rules are still being written
Automated sync with prune and self-healManual drift in the cluster being reverted and removed resources lingering after a values changePruning can delete resources, so reviewers must check diffs and protect stateful objects before enabling itNon-production environments where Git is the only accepted source of change
Per-environment AppProjectsStaging applications deploying into production namespaces or using production repositoriesEach project needs its own allowed sources, destinations and roles, which adds setup and audit workAny stack with more than one environment or more than one team deploying releases
Repository access as Kubernetes SecretsRepository credentials sitting in a shared ConfigMap where broad read access exposes themSecrets must be created and rotated through your secret tooling, and the setting cannot be carried over from pre-3.0 configurationRequired for Argo CD 3.0 and later, so every upgrade from 2.14 needs this migration first
Annotation-based resource tracking (default)Ambiguous ownership of resources when labels from other tools overlap with Argo CD labelsReviewers should confirm that legacy label-based tracking is not still in use after an upgrade from older releasesDefault in 3.x, so most teams keep it unless a specific conflict is documented
Local admin account enabledLockout risk during first install, when no SSO or local user exists yetAdmin credentials must be recorded and then disabled, and the disable step is easy to forget in reviewsInitial setup only, with admin.enabled set to false once SSO or local users are configured

Setting up Argo CD to manage a Hyperswitch release

This sequence takes an empty cluster to a state where Argo CD is secured with SSO, reads Hyperswitch Helm values from Git, and deploys a pinned chart version under a root App-of-Apps that your team can verify before any automated sync runs.

  1. Confirm cluster size and install Argo CD

    The platform engineer checks the node count before choosing the install manifest. Argo CD's high availability documentation says HA manifests need at least three nodes because of pod anti-affinity rules, so a smaller cluster should use the standard install. Install Argo CD into its own namespace, using the HA manifests when the cluster qualifies. The step is complete when all Argo CD pods report Running and the API server responds to login from an administrator's workstation. Confirm the exact manifest and version against the Argo CD high availability documentation before you apply it.

  2. Configure SSO before removing local access

    The identity team connects Argo CD to an existing OIDC provider such as Okta, Auth0, Microsoft, Keycloak or Google Workspace, or uses the bundled Dex with a supported connector. Map group claims to Argo CD roles in argocd-rbac-cm, using the federated_claims.user_id claim that Argo CD 3.0 uses for Dex-based RBAC. The step is complete when a named engineer signs in through SSO, sees only the projects their role allows, and cannot perform actions outside that role. Keep the built-in admin account available until this check passes.

  3. Disable the built-in admin user

    Once SSO works and at least one administrator has an SSO-based role, the platform lead sets admin.enabled to false in the argocd-cm ConfigMap. Argo CD's user management documentation recommends using the built-in admin only for initial setup. The step is complete when a login attempt with the admin account fails and an SSO administrator can still create and sync applications. Record the change in Git so the setting survives future reinstalls. Store the emergency break-glass procedure in your secrets system, not in the cluster.

  4. Register the Helm values repository as a Secret

    The platform engineer adds the Git repository that holds the Hyperswitch Helm values as a repository Secret in the Argo CD namespace, using a read-only deploy credential. Argo CD 3.0 removed repository configuration from argocd-cm, so the Secret is the supported location. Limit the Argo CD project so it can read only this repository and the chart source. The step is complete when the repository shows a successful connection in the Argo CD settings and a test read of the values file returns the expected content. Never commit the credential itself to the values repository.

  5. Create the root App-of-Apps application

    The platform engineer creates one root Application that points to a directory in Git containing child Application manifests, one per environment or component. The root application is the only object created by hand, so later changes arrive through Git. Set its project and sync policy so child applications are created but not yet synced automatically. The step is complete when the root application appears in the Argo CD interface and lists its child applications with the expected names and target namespaces.

  6. Pin the Hyperswitch chart source and version

    In the child application for Hyperswitch, the platform engineer sets the Helm chart source and an explicit chart version rather than a floating range. Each release-candidate upgrade is then a reviewed change to this one field. Add the values file path from the values repository. Before pinning, check the Hyperswitch GitHub releases page for the target version and its compatibility matrix for the Control Center and web client, and confirm that any required dependency, such as Superposition for v1.124.0 and later, is already running. The step is complete when the rendered manifests in Argo CD match a dry-run of the same chart and values.

  7. Verify sync status and health before automation

    Before enabling automated sync, the operations engineer triggers a manual sync and reviews the diff, sync result and health status of every Hyperswitch resource. Confirm that no resource shows OutOfSync for reasons unrelated to your changes and that Deployments, Services and the database connections report Healthy. Check that the application controller and repo server logs show no repeated errors. The step is complete when a second manual sync produces no changes, which shows the desired state in Git matches the cluster. Only then enable automated sync and self-heal for the non-production environment first.

How drift detection and staggered rollouts work for Hyperswitch upgrades

Argo CD compares the live objects in each cluster with the manifests in Git, flags any difference as drift, and can correct it automatically if you enable self-heal. For Hyperswitch, that protects the Router and Scheduler deployments from manual edits made during an incident, but it also means every change to their image tags, replica counts and environment settings must already be reviewed in the values files before it reaches the cluster. Treat the Helm values for each environment as a release artifact. Confirm with your team whether auto-sync and self-heal are on for production or whether a person approves each sync, because that choice decides whether drift is repaired or only reported.

Stage each Hyperswitch upgrade across environments in a fixed order, such as a development cluster, then integration, then production, and promote the same Git revision through each one. Start from the Hyperswitch releases page on GitHub, which lists the minor releases at roughly one per month, including v1.126.0, v1.127.0 and v1.128.0, and check the compatibility matrix for the Control Center and web client versions that each release supports. Pin those versions in the values files alongside the router image so a sync cannot advance one component without the other. Use a separate Argo CD Application per environment so a rollback is a Git revert and a sync, and confirm the rollback path against the upgrade notes before you need it.

Argo CD judges only what is declared in Git and what the cluster reports back, so it cannot tell you whether an upgrade is safe for your data. It does not run database schema migrations, check whether stored payment data still reads correctly, or confirm that a processor connector behaves the same after a change. Plan those checks separately: review the release notes for required dependencies before each sync (the v1.124.0 notes, for example, made Superposition a required service), run a test payment through each connector in the lower environment, and verify webhooks and reconciliation output before promoting. Sync health going green only shows that the objects reconciled.

Security risks of a GitOps pipeline for payment infrastructure

A GitOps pipeline turns Git and Argo CD into the control plane for payment infrastructure, so whoever can change the repository or the controller can change production. The cards below cover the places where that control is easiest to lose, from cluster permissions and secrets to sync rights, identity settings and the scope of the deployment path.

Cluster-admin scope on the controller

Argo CD applies whatever manifests it is pointed at, so the permissions granted to its controller effectively define what a Git change can do in the cluster. If the controller holds cluster-admin, a bad commit to a Hyperswitch values file can alter namespaces, RBAC or cluster-wide resources. Check which clusters and namespaces each Argo CD project may deploy to, and confirm the controller's service account is scoped to the destinations you intend, using the Argo CD security documentation as the baseline.

Argo CD security docs

Secrets leaking into Git values

Helm values for a Hyperswitch stack often reference database passwords, connector credentials and encryption keys. Any of these committed to the values repository is copied into Git history, every clone and every review tool that reads it. Keep only references to secrets in values files, store the secret material in a dedicated secret manager, and scan repository history for credentials before the first production sync. Treat any secret that reached Git as compromised and rotate it.

Repository definitions moved to Secrets

Argo CD 3.0 removed repository configuration from the argocd-cm ConfigMap, so repository credentials must now live in Kubernetes Secrets. Teams upgrading from 2.14 can leave a repository definition behind in the old location, or create a Secret with broader read access than the deployment needs. Confirm who can read those Secrets, restrict the repository to the paths the Hyperswitch chart and values use, and record the change in the upgrade runbook.

Narrower update and delete rights in 3.0

In the 2.14 to 3.0 upgrade, update and delete RBAC apply only to the application itself, and reading logs requires an explicit logs, get permission. A role that once managed child resources through an application may now do less, and a role that reads logs may now be denied. Test each production role against a non-production copy, and grant logs access only to people who need pod output, since logs can contain sensitive request details.

2.14 to 3.0 upgrade notes

Dex RBAC keyed to federated_claims.user_id

In Argo CD 3.0, Dex-based RBAC matches on the federated_claims.user_id claim. Policies written against an older identifier can silently stop matching, which leaves some engineers without sync rights and can leave others with rights you did not intend. After any SSO change, verify group and user mappings with real test accounts, and confirm which identity provider claim the policy keys on before granting production access.

User management docs

Built-in admin and production sync rights

The user management documentation recommends using the built-in admin user only for initial setup and disabling it with admin.enabled set to false once local users or SSO are configured. Leaving admin enabled gives a shared password path around SSO and audit. Separately, decide who may trigger a sync against production Hyperswitch namespaces, and require that approval be recorded in Git or your change system rather than left to ad hoc cluster access.

PCI scope set by the deployment path

A GitOps pipeline that deploys the Hyperswitch vault or card-handling components can bring the deployment path itself into PCI DSS scope, including the people and systems that can change those workloads. Choose the vault model before designing the pipeline, and confirm with your QSA whether Argo CD, its repositories and its access paths are in scope. Limit production sync rights and keep audit trails of every change to vault-related values.

Questions teams ask before running Hyperswitch releases through Argo CD

How much effort does running Hyperswitch through Argo CD take to set up?

The setup effort depends on how many Hyperswitch components you deploy, how many clusters and environments you run, and whether the Git repositories, secrets and identity integration already exist. The main work is structuring the Helm values in Git, defining an App-of-Apps layout, registering repositories as Kubernetes Secrets, and wiring SSO and RBAC for the Argo CD console. Each environment adds its own values files and promotion path. Ask any partner for a written breakdown of these items, the number of environments in scope and the review cycles built into the plan, because those three factors drive most of the cost. Run-time costs are mostly the people who review Helm and release changes each month, since Hyperswitch ships roughly monthly minor releases.

How long does a first Argo CD rollout of Hyperswitch take?

The first rollout takes as long as the slowest prerequisite, which is usually cluster access, Git ownership decisions, or the database and Redis plans rather than Argo CD itself. Three things drive the timeline: the number of environments that must be promoted in order, whether the team has to build a staggered rollout process from scratch, and how many approvals sit between a Git change and a production sync. Teams that already run Argo CD for other workloads shorten the first rollout because the controller, project boundaries and access model are settled. Ask for a timeline tied to a written scope, with the environments, components and approval steps listed as separate milestones.

Can our own platform team run Hyperswitch releases through Argo CD without outside help?

A team with Kubernetes operations experience, Helm familiarity and someone who owns the Git repositories can run this setup without outside help, but the work is not small. The team needs to understand Argo CD upgrade behavior, such as the 2.14 to 3.0 changes to RBAC scope, resource tracking and repository configuration, and it needs to keep pace with Hyperswitch's release cadence and compatibility matrices. The main question is capacity: who reviews each monthly release, who tests a staggered rollout and who responds when a sync fails. Teams that want to keep this in-house usually write those responsibilities down before they start. DeployOpen plans, implements, documents and supports self-hosted platforms in your infrastructure, and most engagements are fixed-scope with written deliverables, so you can compare the two options on the same scope.

What does the Argo CD and Hyperswitch setup require from our team?

The setup requires several inputs from your organization before work starts:

Does Argo CD replace Terraform for a Hyperswitch deployment?

No, Argo CD does not replace Terraform in most designs. Terraform provisions the cloud network, cluster, databases, cache, identities and keys, while Argo CD delivers the Hyperswitch Helm releases and their configuration to clusters that already exist. The boundary matters because each tool should own a distinct layer of state. Ask which tool owns the cluster and database lifecycle, which tool owns application values, and how changes that cross the boundary, such as a new node pool or a database version, are sequenced. Juspay publishes reference Terraform modules for Hyperswitch infrastructure, so confirm which parts of those modules your team will run and which parts Argo CD will sync.

What happens to running Hyperswitch if Argo CD goes down?

Running Hyperswitch keeps serving traffic, because Argo CD manages desired state and does not sit in the payment request path. If the Argo CD controller or server is unavailable, existing workloads continue to run, but new Git changes will not sync and drift will not be corrected until Argo CD recovers. Argo CD keeps its data in Kubernetes objects and treats Redis as a disposable cache, which makes recovery mostly a matter of restoring the Argo CD installation and its repository and project definitions. Confirm the recovery steps, the high availability layout (which requires at least three nodes for the HA manifests), and who can perform a manual Helm or kubectl change during an outage, since that path must be audited.

Is Argo CD free to use with Hyperswitch, and what does it cost to license?

Argo CD is released under the Apache License 2.0, and the project does not offer a paid edition, so the software itself carries no license fee. The costs that matter are the cluster capacity it runs on, the staff time to operate it, and any services you add around it, such as an OIDC provider. Hyperswitch is also Apache 2.0 licensed according to its GitHub repository. Confirm licensing for any bundled components or vendor distributions your organization adopts separately.

How DeployOpen works on this

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside the client's own infrastructure. For Hyperswitch releases managed with Argo CD, we start from a written scope covering the Git layout, the Helm values, the Argo CD setup and the release procedure your team will run.

How we scope

  • Agree in writing which Argo CD clusters, Hyperswitch environments and Helm releases the engagement covers
  • Map the App-of-Apps structure, sync policies and which resources Terraform owns versus Argo CD
  • Confirm the Argo CD version, Dex or OIDC identity source, and the Superposition and Control Center versions in scope

How we build

  • Put Helm values for each environment in Git with reviewed pull requests and protected branches
  • Configure drift detection, staggered rollout order and health checks, then test them against a non-production cluster
  • Test access controls, repository credentials stored as Kubernetes Secrets, and admin account disablement before go-live

How we hand over

  • Deliver written runbooks for promoting a Hyperswitch release, rolling back and handling a failed sync
  • Document the Argo CD RBAC model, project boundaries and who approves each environment change
  • Walk your platform and security teams through the setup and record the decisions behind each configuration choice

How we support

  • Offer ongoing upgrades, monitoring of Argo CD patch releases and continuous testing as a retainer
  • Plan upgrade reviews against Hyperswitch release compatibility notes before each Argo CD or Hyperswitch version change
  • Confirm retainer scope, response expectations and recovery steps in writing before the engagement starts

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.