Registries
Connect the registries your images and Helm charts live in, say what Wardn may use each one for and which deployments may use it, and browse its images, charts and tags.
A registry is an address, such as ghcr.io/example, and how Wardn signs in to it. It covers every repository under the address. Wardn uses it for two things:
- Read Helm charts (OCI). A source that names
oci://ghcr.io/example/charts/apppulls the chart with the registry's credential. - Pin tags to digests. When a render finds
ghcr.io/example/api:v2.14.3, Wardn resolves the tag with the registry's credential, so the snapshot records the exact image.
Delivering pull secrets to clusters and proposing new tags are shown in the form as coming; they are not available yet.
Which credential a read uses
For a deployment, Wardn reads a repository with the credential of the registry whose address covers it most closely, among those that
- may be used for that read (charts, or digests), and
- list one of the deployment's places under Who may use it.
If none does, the read is anonymous, so only public repositories resolve. A source's own credential, when it has one, still comes first for its chart. The restore preflight checks that a snapshot's images still exist with the same rule.
The screens
Resources › Registries shows one card per registry: its status, provider, what it is used for, how many deployments run images from it, how many repositories the last test saw, and how it signs in.
A registry opens on three tabs:
- Overview: how Wardn signs in, what uses the registry (deployments, environments, clusters, namespaces, chart sources), a summary of its images, and the deployments that run from it with the digest each one runs and whether it is signed.
- Images and charts: one table of every repository under the address, with its newest tag, digest, build time, tag count, signature and where it runs. Open one to see all its tags.
- Settings: name, address and sign-in, Use it for, Who may use it and removing the registry.
An image or chart's page lists its tags newest first, with digest, size, platforms (or a chart's app version), signature and where each runs, and shows whether an SBOM or provenance is attached to the newest digest.
Read when you open it
The catalog and the tags are read from the registry when you open them, up to 50 repositories a page and the 100 highest versions of an image. A registry that does not list its repositories (GHCR and Docker Hub do not) shows the ones Wardn knows deployments use. Signed means a cosign signature is stored next to the digest (sha256-<digest>.sig) and, when the registry trusts keys or identities, that it verifies against them. See Signature trust.
Providers and sign-in
| Provider | Sign-in |
|---|---|
| GitHub Container Registry | A user and a token that can read packages, or public |
| Amazon ECR | The role the server runs as (see below) |
| Google Artifact Registry | A service account key file, or workload identity (see below) |
| Azure Container Registry | A service principal or repository token, or managed identity (see below) |
| Docker Hub, Harbor, Quay | A user, robot account or access token, or public |
| Any OCI registry | User and password, a bearer token, or public |
The credential is sealed in Wardn's secret store when you save, never returned and never logged. Leave it empty when you edit to keep it, unless you change the address, the user or the sign-in: then enter it again, since Wardn never sends a sealed credential to a new target.
Signing in as the server's cloud identity
Amazon ECR, Artifact Registry and Azure Container Registry can be signed in to with no credential of yours, as the cloud identity the server's own pods run as:
- ECR asks AWS for an authorization token with the role the server runs as (IRSA, EKS Pod Identity or an instance profile), in the registry's region. It is good for 12 hours.
- Artifact Registry (and
gcr.io) takes an access token of the Google identity the server finds: a GKE workload identity, an attached service account, or external account (workload identity federation) credentials. - Azure Container Registry exchanges an Azure AD token of the identity the server finds (an AKS workload identity or a managed identity) at the registry's own
/oauth2/exchangefor a registry login.
Logins are kept in memory until shortly before they expire. Only the cloud's own registry hosts are served (<account>.dkr.ecr.<region>.amazonaws.com, *.pkg.dev and *.gcr.io, *.azurecr.io), so the identity's tokens never go to an address typed into a form.
That identity belongs to the server and is shared by every organization, so these sign-ins are off unless the install sets WARDN_CONNECTIONS_WORKLOAD_IDENTITY=true (see Configuration). Until then the form says they are unavailable and a registry that already uses one is read anonymously.
What has been tested. All three are tested against emulated endpoints: a fake ECR API that checks the request is signed by the identity in the registry's region, a fake workload identity federation token exchange for Google, and a fake instance metadata service, Azure AD and ACR exchange. None has been run against a real AWS, Google or Azure account yet.
A test signs in, lists the repositories under the address and reads the manifest of one tag: Connected in 180 ms. 38 repositories visible; read the manifest of example/api:v2.14.3.
Signature trust
A registry can say who it trusts to sign its images. Wardn then checks each digest's cosign signature (the sha256-<digest>.sig tag) against that, and the screens show one of four states:
| State | Shown as | Meaning |
|---|---|---|
verified | Signed | A stored signature verifies against a trusted key, or a trusted keyless identity |
failed | Signature failed | Signatures are stored and none verifies: another key or identity signed it, it was altered, or it is for another digest |
unverified | Signed (plain, not tinted) | A signature is stored, but the registry trusts nothing yet to check it against, or Wardn could not read it |
unsigned | Unsigned | No signature is stored |
The trust is set through the API as signatureTrust on the registry; the registry form does not edit it yet. It is all public material:
{
"signatureTrust": {
"keys": ["-----BEGIN PUBLIC KEY-----\n…\n-----END PUBLIC KEY-----"],
"identities": [{
"issuer": "https://token.actions.githubusercontent.com",
"subject": "https://github.com/example/app/\\.github/workflows/release\\.yml@refs/heads/main"
}],
"fulcioRoots": ["-----BEGIN CERTIFICATE-----\n…\n-----END CERTIFICATE-----"],
"rekorKeys": ["-----BEGIN PUBLIC KEY-----\n…\n-----END PUBLIC KEY-----"]
}
}- Keys are PEM public keys (ECDSA, RSA or Ed25519), as
cosign generate-key-pairwrites. A signature by any of them verifies. - Identities are keyless signers. The certificate's OIDC issuer must equal
issuer, and its subject (an email address or a URI) must match the whole of thesubjectregular expression (RE2). - Fulcio roots and log keys make a keyless signature checkable offline, and are required with identities. The certificate must chain to a root, and the transparency log's signed entry timestamp (the proof cosign stores with the signature) must verify against a log key, show the signature was logged while the certificate was valid, and be for this very signature. For the public Sigstore instance, take the roots from
https://fulcio.sigstore.dev/api/v2/trustBundleand the log key fromhttps://rekor.sigstore.dev/api/v1/log/publicKey. - Sending
signatureTrustreplaces what the registry had; leaving it out keeps it. At most 10 of each.
Wardn does not ask the log: the signed timestamp is the inclusion proof cosign itself checks offline. The checking is done by sigstore-go. Two layouts are read: cosign's tag layout (the sha256-<digest>.sig tag) and Sigstore bundles stored as OCI referrers of the image. While a registry trusts nothing, only the tag is looked for, so a bundle referrer alone shows as Unsigned until trust is set.
API
GET /api/v1/registry-providers | Every provider and its sign-in methods |
GET, POST /api/v1/registries | List and add |
GET, PUT, DELETE /api/v1/registries/{id} | Read (with what uses it), change, remove |
POST /api/v1/registries/{id}/test | Test and record the result |
POST /api/v1/registry-tests | Test settings before saving |
GET /api/v1/registries/{id}/repositories | The images and charts, a page at a time (q filters) |
GET /api/v1/registries/{id}/tags?repository= | One repository's tags |
curl -fsS -X POST "$WARDN_API_URL/api/v1/registries" \
-H "Authorization: Bearer $WARDN_TOKEN" -H 'Content-Type: application/json' \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"name": "Harbor",
"provider": "harbor",
"address": "harbor.example.com/platform",
"signIn": "basic",
"username": "robot$wardn",
"credential": "…",
"useFor": ["charts", "digests"],
"places": [{"kind": "org"}]
}'Registry addresses are reached through a guard that refuses loopback, link-local and cloud metadata addresses, and private ones too when the install sets WARDN_CONNECTIONS_BLOCK_PRIVATE_ADDRESSES; no proxy is taken from the environment. A failed test says only that Wardn couldn't connect or sign in. See Configuration.
Permissions
| To | You need |
|---|---|
| See registries, their images and tags | registry:read |
| Add, change, test or remove one | registry:manage |
Owners and Admins hold both. An agent can never hold registry:manage.
Related: Secret stores, Helm charts, Connect a source.
Secret stores
Connect Vault, OpenBao, a cloud secret manager, an External Secrets Operator store or a SOPS key, say which teams, environments and agents may use it, and test it. Wardn keeps references, never values.
Environments and many clusters
Group clusters into environments by label, set a deploy window, and run one deployment on every cluster of an environment.