Introduction

What Wardn does, how a push becomes a running deployment, and where to start for your role.

Wardn deploys what is in git to your Kubernetes clusters, and keeps a record of every version it deployed. It replaces a separate Argo CD or Flux setup with one control plane and a small operator in each cluster. You run the control plane yourself, and the operators run in your clusters. A hosted service is planned.

If you have not used a GitOps tool before: the idea is that git holds the description of what should run, and a tool makes the cluster match it. Wardn does that, and adds the parts teams usually build around such a tool by hand: a kept history of exactly what ran, checks before risky changes, a way back, and one place that records who did what.

What Wardn does

You want toWardn
Ship a change by pushing to gitRenders the commit into a snapshot and applies it to the clusters that track the branch.
Know exactly what is runningKeeps every snapshot: the rendered objects, the commit, who pushed it and the pull request. Any two can be compared.
Stop a bad commit from deleting a serviceHolds a snapshot that renders nothing or removes more than half of what runs, until a person releases or discards it.
Go backRestores any earlier snapshot, after a preflight that checks the cluster, images and secrets still fit.
See changes made by handReports drift field by field, and lets you revert it, adopt it into git, or ignore it.
Keep production safeProduction environments take snapshots only from a protected branch, unless someone with the right to bypass lets one through, once, with a reason.
Test each pull requestGives each pull request a preview deployment of its own, removed when the pull request closes.
Keep clusters closedThe operator dials out. Nothing outside the cluster connects in, and no kubeconfig is stored.

From a push to a running cluster

  git push
     │
     ▼
┌──────────────┐  webhook (GitHub App), or a check once a minute
│ Control plane│
│              │  1. render the commit (plain YAML, Kustomize or Helm) in a sandbox
│              │  2. store the result as a snapshot
│              │  3. render guard: empty, or removes more than half?  ── yes ──▶ held for a person
│              │  4. guardrails: may this snapshot go here?          ── no ───▶ blocked, recorded
└──────┬───────┘
       │  signed apply command, over the connection the operator opened
       ▼
┌──────────────┐
│   Operator   │  5. apply with server-side apply, wave by wave,
│ (in cluster) │     as the deployment's own service account
└──────┬───────┘
       │  health, drift, inventory, apply results
       ▼
   Deployment page, timelines and Activity
  1. A push arrives. With the GitHub App, a push reaches Wardn as a webhook. Every tracked branch is also checked once a minute, so a missed webhook only delays a deploy, and a repository connected without the App still deploys.
  2. The commit is rendered. The control plane fetches the files and renders them in a sandbox that has no network access. Image tags are resolved to digests. The result is a snapshot: the exact objects for that commit, kept so they can be compared, restored and promoted later.
  3. The render guard looks at it. A snapshot that renders no objects, or that would remove more than half of what the last approved snapshot had, is held. Nothing reaches the cluster until a person releases or discards it.
  4. Guardrails look at it. A guardrail can stop a snapshot from going somewhere, for example a snapshot from a feature branch going to production. A blocked snapshot is stored and recorded in Activity.
  5. The operator applies it. The control plane signs an apply command and sends it over the connection the operator opened. The operator applies the objects with server-side apply, in waves, as a service account in the deployment's namespace that you control.
  6. The operator reports back. Health, drift and what happened in the cluster flow back to the control plane and show on the deployment's page within seconds.

Nothing in your cluster talks to git, and nothing outside your cluster connects into it. How it works describes each part and what crosses the network.

What Wardn is built from

  • The control plane holds your sources, apps, deployments, snapshots, access rules and audit log. It is one server and a web app, with Postgres as its only required dependency.
  • The gateway is the part of the control plane that operators connect to.
  • The operator is a small Deployment in each cluster. It applies what the control plane signs, and reports health, drift and inventory.
  • The CLI, wardn, connects clusters and answers questions such as "what can I do here".

Start here

Pick the path that matches your work. Each one is described in Who it's for.

These docs describe what is built. Pages marked Preview describe features that work on the current version but may still change; few pages carry it now. Pages marked Planned describe designed features that are not built yet; they explain the idea and link the Roadmap.

Next

On this page