Quader Docs 0.176.0

Install

Go from an empty Kubernetes namespace to a running Quader with the Helm chart, the Secrets it reads and a first administrator.

On this page

Prerequisites

The chart deploys none of these; Quader's pods need no persistent volume.

Need Requirement
Kubernetes, Helm Kubernetes 1.30 or later; the chart is tested with Helm 4. The pods meet the restricted Pod Security Standard.
PostgreSQL 16 or later, a UTF8 database and a login that is not a superuser. A CloudNativePG cluster gives what the chart reads: the read-write Service, the application Secret and the CA Secret.
Valkey 9.0 or later with Sentinel, over TLS, with at least three Sentinels (standalone is for development and refused under highAvailability.enforce). Its network policy admits only the release's api, packages and worker pods; a Bastion has a Valkey of its own (Bastion).
Object storage An S3-compatible bucket and its credentials; SeaweedFS, MinIO and Ceph RGW need force_path_style: true.
Certificates A cert-manager issuer of one CA, or a TLS Secret per kind of pod (TLS and certificates).
Ingress controller HAProxy Ingress is the tested default; the chart also renders backend TLS for Traefik and ingress-nginx, or a Gateway API route.
OpenID Connect provider A client with the redirect URI <base URL>/auth/oidc/<provider ID>/callback (Sign-in and identities).

The default pods: 2 api (0.5 CPU, 512 MiB requested, 1,280 MiB limit), 3 packages (1 CPU, 1 GiB, 2 GiB limit), 2 worker (0.5 CPU, 512 MiB, 1 GiB limit), no CPU limit. The chart refuses a serving pod's memory limit that its cache budgets would fill past the low-water mark of its memory guard: such a replica would answer 503 for good once the guard closed.

Get the chart

The chart and the image docker.io/guidedtraffic/quader (linux/amd64, linux/arm64) carry Quader's version; the chart installs its own version's image unless image.tag or image.digest says otherwise. A release v0.5.0 tags the image 0.5.0, 0.5 and 0.

shell
helm repo add quader https://guided-traffic.github.io/quader/
helm repo update quader
helm search repo quader/quader --versions

Create the Secrets

The chart never creates a Secret: each one it names must exist in the namespace before the install. The examples use the namespace and release quader.

shell
kubectl create namespace quader
# The key ring of the secrets stored in PostgreSQL; the name without .key is the key ID
kubectl -n quader create secret generic quader-encryption-keys \
  --from-file=2026-10.key=<(head -c 32 /dev/urandom | base64)        # example key ID
# The local administrator: 20 characters or more, or an Argon2id hash of m=65536,t=3,p=4 or more
kubectl -n quader create secret generic quader-break-glass \
  --from-literal=password="$(head -c 24 /dev/urandom | base64)"
kubectl -n quader create secret generic quader-oidc-corp \
  --from-file=client-secret=./client-secret.txt                     # example: the secret your provider issued

Warning

Keep a copy of the key ring outside the cluster. Without it the secrets stored in PostgreSQL, and every blob of an encrypted connection, cannot be read again; the chart never generates a new one. Whoever reads the break-glass Secret is an administrator of Quader: restrict it like the database credentials.

Secret value Needed Mounted in
secrets.database, secrets.valkey, secrets.encryption always the role pods; the database login also in the migration Job
secrets.storageConnections[] per connection with static keys or a provisioner's bucket the role pods
secrets.databaseCA, secrets.valkeyCA for a server certificate of a private CA the role pods
secrets.breakGlass, secrets.oidc[] for the local administrator, per OIDC provider with a client secret api pods only

Secrets are mounted as files, never as variables, so a rotated Secret reaches the running pods. The other Secrets (migration owner, client certificates, metrics token, upstream accounts, backup) are in Helm values, group Existing Secrets.

Write the values

The chart refuses unknown keys and names a missing required value. Replace every value marked # example.

yaml
config:
  server:
    base_url: https://quader.example.com          # example: the HTTPS origin users and clients reach
  database:
    host: quader-db-rw.quader.svc                  # example: the CloudNativePG read-write Service
    name: quader                                  # example
  valkey:
    sentinel:
      addresses:                                 # example: at least three Sentinels
        - quader-valkey-sentinel-0.quader-valkey-sentinel.quader.svc:26379
        - quader-valkey-sentinel-1.quader-valkey-sentinel.quader.svc:26379
        - quader-valkey-sentinel-2.quader-valkey-sentinel.quader.svc:26379
      primary_name: quader                        # example: the name in the Sentinels' monitor line
  storage:
    connections:                                 # one element per object store; the one without id is "default"
      - bucket: quader-blobs                      # example
        region: eu-central-1                     # example
        endpoint: https://s3.example.com         # example; empty uses AWS endpoint resolution
        credentials_source: static               # example: the keys of its entry in secrets.storageConnections
  auth:
    oidc:
      providers:
        corp:                                    # example: the provider ID
          display_name: Corporate sign-in        # example
          issuer: https://id.example.com         # example
          client_id: quader                       # example
tls:
  certManager:
    issuerRef:
      name: cluster-ca                            # example: the ClusterIssuer of the pods' pairs
ingress:
  enabled: true                                  # default false
  className: haproxy                             # example
  tls:
    - secretName: quader-public-tls               # example: the certificate of quader.example.com
      hosts: [quader.example.com]                 # example
secrets:
  database: {existingSecret: quader-db-app}       # example: the CloudNativePG application Secret
  databaseCA: {existingSecret: quader-db-ca}      # example
  valkey: {existingSecret: quader-valkey}         # example
  valkeyCA: {existingSecret: quader-valkey-ca}    # example
  storageConnections:
    - connectionId: default
      existingSecret: quader-s3                   # example; keys access-key-id and secret-access-key
  encryption:
    existingSecret: quader-encryption-keys
    keys: [2026-10.key]                          # example; the first is the active key
  breakGlass: {existingSecret: quader-break-glass}
  oidc:
    - providerId: corp
      existingSecret: quader-oidc-corp

config becomes Quader's configuration file (Configure). Before the first start, decide two things:

  • Client addresses. List your ingress controller pods' addresses in config.server.trusted_proxies, so rate limits and the audit log see the client, never a whole pod network: every pod in it could then claim any address.
  • Encryption by Quader. encrypted: true on a connection hides the artifacts from the storage provider and is fixed from its first copy (Storage).

A private CA of your OIDC provider goes into trustedCA.existingConfigMap or trustedCA.existingSecret. Quader's own backup is off until backup.enabled: true and a bucket of its own (Backup and restore).

Install

shell
helm install quader quader/quader -n quader -f values.yaml --version <version>   # example
kubectl -n quader get jobs,pods                  # the migration Job runs first
kubectl -n quader rollout status deployment/quader-api

The Job quader-migrate creates the schema before any Deployment exists; if it fails, read kubectl -n quader logs job/quader-migrate (kept for a day). The notes Helm prints list the endpoints and warn about risky endpoint settings and a backup that is off.

First sign-in

  1. Read the password: kubectl -n quader get secret quader-break-glass -o jsonpath='{.data.password}' | base64 -d.
  2. Open https://quader.example.com/ui/login?auto_sign_in=false, which shows the password form instead of redirecting to your provider.
  3. Sign in as admin (auth.break_glass.username).
  4. Admin area › Access › System roles, Bind: give the administrator role to your user or a group of your provider, or declare it in config.authz.role_bindings (Sign-in and identities).
  5. Sign out and sign in through your provider.

The break-glass account locks after repeated failures, its sessions are short, and it owns no token. A rotated password reaches the api pods within auth.break_glass.check_interval and ends its sessions. Without secrets.breakGlass the account is off.

Bootstrap and recovery commands

quader admin works on the database with the pod's configuration, without Valkey, so it works while nobody can sign in:

shell
kubectl -n quader exec deploy/quader-api -- /usr/local/bin/quader admin break-glass status
Command Does
admin config validate [--format table|json] Prints every key with its value and source, secrets redacted
admin break-glass status, unlock, end-sessions The local administrator's state, its lockout, its sessions
admin sessions end --user <name> or --all Ends browser sessions
admin service-account create <name> [--admin] A service account, with the administrator role when asked
admin token create --service-account <name> [--ttl 15m] [--scope-file <file>] Prints a new token once, for a script
admin token revoke --id <uuid> or --value-stdin Revokes a token
admin user disable <name> [--keep-tokens] Disables a user and ends the sessions

Each change is audited with the actor admin-cli and holds on every replica within auth.revocation_bound.

Verify the installation

  1. helm status quader -n quader shows deployed; every api, packages and worker pod is ready.
  2. curl -s https://quader.example.com/api/v1/system/ping answers 200 without a credential.
  3. A replica's checks: kubectl -n quader port-forward deploy/quader-api 8081:8081, then curl -sk 'https://localhost:8081/readyz?verbose=1'. degraded names checks that fail without making it unready, failing those that do.
  4. Admin area › System › System status shows All roles ready and every replica by role with its version and state:

Remove an installation

helm uninstall quader -n quader removes the chart's objects. The database, Valkey, the bucket and every Secret stay; delete them yourself when you no longer need the data.