Helm chart values

Every value of the wardn-tiny and wardn-standard charts, with both defaults and the server setting each one sets.

wardn-tiny and wardn-standard share their templates, so they have the same values and differ only in defaults. This page lists each value once, with the default in each chart where they differ, and the setting it becomes. Values the chart has no key for are passed with extraEnv. wardn-scale has the same values except that server.* and podDisruptionBudget.* are set per role there.

You pass values in a file (--values values.yaml) or one at a time (--set). To read the defaults of a version, run helm show values oci://ghcr.io/future-pirate-king/charts/wardn-standard --version <version>.

The charts never put a secret in a value. A secret is always named by the Secret that holds it and the key inside it. Only the settings in Configuration are ever set, and only when they differ from the server's own default.

What differs between the charts

Valuewardn-tinywardn-standard
server.replicas13
server.resourcesrequests 100m CPU and 256Mi, limit 1Girequests 250m CPU and 512Mi, limit 2Gi
web.replicas12
web.resources.requests50m CPU and 256Mi100m CPU and 256Mi
secrets.generatetruefalse
gateway.service.typeClusterIPLoadBalancer
podDisruptionBudget.enabledfalsetrue
postgres.modebundledexternal
postgres.bundled.storage5Gi20Gi
postgres.bundled.resources.requests100m CPU and 256Mi250m CPU and 512Mi

Everything below has the same default in both charts unless a table says otherwise.

Address and ingress

ValueDefaultWhat it does
publicUrlhttp://localhost:3002The address people open in a browser, with no trailing slash. It sets the web app's BETTER_AUTH_URL and TRUSTED_ORIGINS, and the server's CORS_ALLOWED_ORIGINS. It does not set WARDN_PUBLIC_URL; add that with server.extraEnv so the links Wardn puts in GitHub work.
ingress.enabledfalseCreate an Ingress that sends everything on ingress.host to the web app.
ingress.host""The host name. Required when the ingress is enabled.
ingress.className""The ingressClassName. Empty uses the cluster's default.
ingress.tlsSecret""A kubernetes.io/tls Secret for ingress.host. Empty adds no TLS section.
ingress.annotations{}Annotations on the Ingress, for example to have cert-manager issue the certificate.

Images

ValueDefaultWhat it does
image.server.repositoryghcr.io/future-pirate-king/wardn-serverThe server image.
image.web.repositoryghcr.io/future-pirate-king/wardn-webThe web app image.
image.tools.repositoryghcr.io/future-pirate-king/wardn-toolsThe image of the job that makes the keys. Used only when secrets.generate is true.
image.*.tag""Empty uses the chart's version, so a chart and its images move together. Set a tag to pin an image.
image.*.digestunsetA sha256: digest that pins the image: the pod runs repository:tag@digest, and the digest decides. wardn bundle push writes values that set it for every image (Install without internet access).
image.pullPolicyIfNotPresentPull policy of the server, web and key-making containers.
imagePullSecrets[]Pull Secrets for a private registry. Applied to the server, web and key-making pods.
fullnameOverride""Replaces the <release>-<chart> prefix of every resource name.

Keys

The server needs two secrets: the Better Auth secret that the web app signs sessions with (at least 32 characters), and the secret store's age master key. See Backup and restore for keeping them.

ValueDefaultWhat it does
secrets.generatetrue in tiny, false in standardA hook Job makes the Better Auth secret, the master key and the bundled database's password on the first install, in a Secret named <release>-secrets. It never replaces an existing Secret, and helm uninstall keeps it.
secrets.betterAuth.name""A Secret that holds the Better Auth secret, which becomes BETTER_AUTH_SECRET in the server and the web app. Empty uses the generated Secret.
secrets.betterAuth.keybetter-auth-secretThe key in that Secret.
secrets.masterKey.name""A Secret that holds the master key, which becomes WARDN_SECRET_MASTER_KEY. Empty uses the generated Secret.
secrets.masterKey.keysecret-master-keyThe key in that Secret.

With secrets.generate off and no Secret named, the render fails with a message saying which one is missing. The bundled database always reads its password from the generated Secret, so keep secrets.generate on when postgres.mode is bundled.

Server

ValueDefaultWhat it does
server.rolesapi,worker,controller,gatewayBecomes WARDN_ROLES. Every replica runs every role; change it only if you know why.
server.replicas1 in tiny, 3 in standardServer pods. Above one, the pods spread across nodes where possible and a PodDisruptionBudget is created.
server.serviceNamewardn-serverThe name of the Service in front of the API. Leave it: the web image forwards /api/v1 to this name, so install one Wardn per namespace.
server.podAnnotations{}Annotations on the server pods, for example for a Prometheus that discovers targets from annotations.
server.resourcessee aboveRequests and limits of the server container.
server.seccompProfile{type: RuntimeDefault}The seccomp profile of the server pods. The render sandbox creates user and network namespaces for each render of a Helm or Kustomize source. Some container runtimes block that under RuntimeDefault, and every render then fails with "operation not permitted". When /api/v1/ready lists render_sandbox as not ok (Monitoring), set {type: Unconfined}, or {type: Localhost, localhostProfile: <file>} with a profile that allows unshare(CLONE_NEWUSER).
server.extraEnv[]More environment entries for the server. See Extra environment.

Web app

ValueDefaultWhat it does
web.replicas1 in tiny, 2 in standardWeb app pods.
web.resourcessee aboveRequests and limits of the web container, and of the init container that creates the sign-in tables.
web.extraEnv[]More environment entries for the web app.

Gateway

Operators dial the gateway over mutual TLS. The gateway explains the names and the certificates.

ValueDefaultWhat it does
gateway.hosts[]Names and addresses the generated certificate is valid for. The chart adds localhost and 127.0.0.1. Becomes WARDN_GATEWAY_TLS_HOSTS. Not used when gateway.tls.mode is existingSecret.
gateway.advertise""The address operators dial, such as gateway.example.com:8443. Becomes WARDN_GATEWAY_ADVERTISE_ADDR.
gateway.tls.modegeneratedgenerated: the gateway signs a certificate from Wardn's authority for gateway.hosts. existingSecret: it presents the certificate in a Secret.
gateway.tls.existingSecret""The kubernetes.io/tls Secret, with keys tls.crt and tls.key. Required when the mode is existingSecret. The chart mounts it and sets WARDN_GATEWAY_TLS_CERT_FILE and WARDN_GATEWAY_TLS_KEY_FILE.
gateway.service.typeClusterIP in tiny, LoadBalancer in standardThe type of the gateway Service. It passes TCP through, so nothing in front may end TLS. A LoadBalancer is created with externalTrafficPolicy: Local.
gateway.service.port8443The Service port.
gateway.service.nodePortnullThe node port, used only for NodePort and LoadBalancer.
gateway.service.annotations{}Annotations on the gateway Service, for your cloud's load balancer options.

Postgres

Postgres explains the connection URLs, sizes and poolers.

ValueDefaultWhat it does
postgres.modebundled in tiny, external in standardbundled runs a single Postgres StatefulSet for trials. external uses your database.
postgres.maxConnsnullBecomes POSTGRES_MAX_CONNS, the pool size of each server pod. Unset keeps the server's default of 20.
postgres.directMaxConnsnullBecomes POSTGRES_DIRECT_MAX_CONNS. Unset keeps the default of 10.

Bundled

ValueDefaultWhat it does
postgres.bundled.imagepostgres:18-alpineRepository and tag of the database image, and optionally a digest that pins it.
postgres.bundled.storage5Gi in tiny, 20Gi in standardSize of the volume.
postgres.bundled.storageClass""StorageClass of the volume. Empty uses the cluster's default.
postgres.bundled.resourcessee aboveRequests and limits of the database container.

External

ValueDefaultWhat it does
postgres.external.host""The database host. Required when the mode is external.
postgres.external.port5432The port.
postgres.external.databasewardnThe database name.
postgres.external.userwardnThe user.
postgres.external.sslModerequireThe sslmode of the URL the chart builds.
postgres.external.passwordSecretRef{name: "", key: ""}The Secret that holds the password. The key defaults to password. The chart builds POSTGRES_URL from this and the values above, so the password must not contain @ : / ? #.
postgres.external.urlSecretRef{name: "", key: ""}A Secret that holds a whole connection URL. When it is set, it is used as given and the host, port, user, database, SSL mode and password above are ignored. The key defaults to url.

Pooler and replica

ValueDefaultWhat it does
postgres.pooler.enabledfalseSend requests through a pooler you run. POSTGRES_URL points at it and POSTGRES_DIRECT_URL at the database.
postgres.pooler.host""The pooler's host. Required when the pooler is enabled.
postgres.pooler.port6432The pooler's port.
postgres.pooler.sslMode""The sslmode for the pooler. Empty uses the database's.
postgres.readReplica.enabledfalseRead the lists from a hot standby (Postgres). Not available with the bundled Postgres.
postgres.readReplica.host""The standby's host. Required when the replica is enabled, unless urlSecretRef is set. It uses the primary's user, password, database and SSL mode.
postgres.readReplica.port5432The standby's port.
postgres.readReplica.sslMode""The sslmode for the standby. Empty uses the primary's.
postgres.readReplica.urlSecretRef{name: "", key: ""}A Secret with the standby's whole URL. Required when the primary is given as postgres.external.urlSecretRef.
postgres.readReplica.maxConnsnullBecomes POSTGRES_REPLICA_MAX_CONNS. Null uses the server's default, 10.
postgres.readReplica.maxLag""Becomes POSTGRES_REPLICA_MAX_LAG, such as 3s. Empty uses the server's default, 5s.

Providers

Each provider value becomes a WARDN_*_PROVIDER setting. The defaults are the only providers this release supports; leave them.

ValueDefaultBecomes
providers.workpgqueueWARDN_WORK_PROVIDER
providers.objectstorepostgresWARDN_OBJECTSTORE_PROVIDER
providers.secretstoreageWARDN_SECRETSTORE_PROVIDER
providers.pubsubpostgresWARDN_PUBSUB_PROVIDER
providers.cachememoryWARDN_CACHE_PROVIDER

Object storage

Used when providers.objectstore is s3 or gcs (Object storage); every chart has these values. Credentials are named by Secret and never written here. Leave them out to use the pod's own identity (IRSA, EKS Pod Identity, GKE Workload Identity).

ValueDefaultBecomes
objectStore.s3.bucket""WARDN_OBJECTSTORE_S3_BUCKET. Required with providers.objectstore: s3; the render fails without it.
objectStore.s3.prefix""WARDN_OBJECTSTORE_S3_PREFIX
objectStore.s3.region""WARDN_OBJECTSTORE_S3_REGION. auto for Cloudflare R2.
objectStore.s3.endpoint""WARDN_OBJECTSTORE_S3_ENDPOINT, for R2, MinIO and other S3-compatible services.
objectStore.s3.pathStylefalseWARDN_OBJECTSTORE_S3_PATH_STYLE
objectStore.s3.credentialsSecretRef{name: "", accessKeyIdKey: access-key-id, secretAccessKeyKey: secret-access-key}WARDN_OBJECTSTORE_S3_ACCESS_KEY_ID and _SECRET_ACCESS_KEY, read from that Secret. Empty name leaves them unset.
objectStore.gcs.bucket""WARDN_OBJECTSTORE_GCS_BUCKET. Required with providers.objectstore: gcs.
objectStore.gcs.prefix""WARDN_OBJECTSTORE_GCS_PREFIX
objectStore.gcs.credentialsSecretRef{name: "", key: key.json}Mounts the Secret read only and sets WARDN_OBJECTSTORE_GCS_CREDENTIALS_FILE to that key's file.
objectStore.sweep.every""WARDN_OBJECTSTORE_SWEEP_EVERY. Empty keeps the server's default, 1h; 0 turns the sweep off.
objectStore.sweep.grace""WARDN_OBJECTSTORE_SWEEP_GRACE. Empty keeps the server's default, 24h; at least 2h.

Sign-up and sign-in

See Sign-up modes. Client secrets are named by reference to a Kubernetes Secret you create; a value never goes in the values file.

ValueDefaultBecomes
auth.signupinviteWARDN_SIGNUP on the server: invite, open or sso.
auth.signupDomains[]WARDN_SIGNUP_DOMAINS, joined with commas, set only when the list is not empty.
auth.platformAdmins[]WARDN_PLATFORM_ADMINS, joined with commas, set only when the list is not empty.
auth.trustedOrigins[]Extra origins the web app trusts besides publicUrl, joined with commas into TRUSTED_ORIGINS. List an identity provider on your own network here: single sign-on refuses a provider on a private address unless its origin is trusted.
auth.github.clientId""GITHUB_CLIENT_ID on the web app, set only when not empty. The GitHub sign-in button appears when this and the secret are set.
auth.github.clientSecretRef{name: "", key: ""}The Secret holding the client secret, which becomes GITHUB_CLIENT_SECRET. The name is required when clientId is set; the key defaults to client-secret.
auth.google.clientId""GOOGLE_CLIENT_ID on the web app, set only when not empty.
auth.google.clientSecretRef{name: "", key: ""}The Secret holding the client secret, which becomes GOOGLE_CLIENT_SECRET. Same rules as GitHub.

Snapshot signing

ValueDefaultBecomes
snapshots.verification""WARDN_SNAPSHOT_VERIFICATION, set only when not empty: enforce, permissive or off. Empty leaves it to the install. See Snapshot signing.

Logging, tracing and telemetry

ValueDefaultBecomes
logging.levelinfoLOG_LEVEL
logging.formatjsonLOG_FORMAT
tracing.endpoint""WARDN_TRACES_ENDPOINT. Tracing, and WARDN_TRACES_SAMPLE, are set only when this is not empty.
tracing.sample"0.1"WARDN_TRACES_SAMPLE
telemetry.enabledfalseWARDN_TELEMETRY. See Telemetry.
telemetry.url""WARDN_TELEMETRY_URL, set only when not empty.

Availability

ValueDefaultWhat it does
podDisruptionBudget.enabledfalse in tiny, true in standardCreate a PodDisruptionBudget for the server. One is created whenever server.replicas is above one, whatever this says.
podDisruptionBudget.maxUnavailable1How many server pods a voluntary disruption may take down at once.

Rollouts replace server pods one at a time and keep all the old ones until the new one is ready. That is fixed, not a value.

Extra environment

The chart sets only the settings it has values for. Anything else the server or web app reads goes in server.extraEnv or web.extraEnv, as ordinary Kubernetes env entries. Read secrets from a Secret with valueFrom.

values.yaml
server:
  extraEnv:
    - {name: WARDN_PUBLIC_URL, value: https://wardn.example.com}
    - {name: WARDN_APPLY_TIMEOUT, value: 15m}
    - name: WARDN_GITHUB_WEBHOOK_SECRET
      valueFrom: {secretKeyRef: {name: wardn-github, key: webhook-secret}}

Entries in extraEnv come last, so they win over a variable the chart set. GitHub App uses this to connect GitHub.

What the chart fixes

These are set by the chart and have no value.

SettingValueWhy
APP_ENVproductionA weak Better Auth secret is refused.
HTTP_ADDR:8080The API port.
WARDN_GATEWAY_ADDR:8443The gateway port inside the pod.
WARDN_OPS_ADDR:9090Metrics, probes and profiles, on the Service port ops.
WARDN_GATEWAY_API_ADDRthe pod's IP and 8080How replicas pass a terminal or log stream to the one that holds the cluster.

The server pods run as user 10001 with a read-only root filesystem, no added privileges and every Linux capability dropped. The web pods run as a non-root user. The startup and liveness probes use /api/v1/health and the readiness probe uses /api/v1/ready (Monitoring).

Next

On this page