Choose what this site may use

This site uses strictly necessary cookies to work and to remember your privacy choices. With your permission it would also load content hosted by other services, such as videos, maps and fonts, which then receive your network address and device data. We do not sell or share your personal information and we run no advertising. Choose Accept all, Reject all or Customise. You can change your mind at any time through Privacy choices at the foot of every page.

  • Always on

    Needed for the site to work and to remember your privacy choices. Always on.

  • Remembers settings you choose, such as the light or dark display, in your browser.

  • Loads videos, maps and other content hosted by other services. Those services receive your address and device data.

Menu Close
In this section: Learn
Start
Guides
Domain packs
Participants
Security and privacy
Pilot kits
Operations
Ecosystem

Variables

Source docs/ops/variables.md

On this page
  1. Environment files (infra/deploy/environments/<env>.yaml)
  2. Secret paths (secret://obsp/<env>/<name>)
  3. Script and unit variables
  4. Data plane (docs/ops/dataplane.md)

Every setting of the deployment code, where it is set and where it is used. Values that are secrets are never in the repository: the environment files hold secret://<path> references, rendered as ExternalSecret objects that read <path> from the operator’s secret store (OD-06). On plain machines the same values go into root-owned files under /etc/obsp/ filled from that store at install time.

Environment files (infra/deploy/environments/<env>.yaml)

Key Meaning Secret?
name, namespace environment name; Kubernetes namespace no
offline true: no NetworkPolicy allows egress outside the cluster (sovereign site) no
images.registry, images.tag, images.digests, images.pullPolicy where images come from; production pins digests (OD-03) no
domain parent domain; services are api., registry., log., conformance., verify., federation. under it (OD-02) no
ingress.controllerNamespace, ingress.className, ingress.annotations the ingress controller (OD-01) no
ingress.tls.secretName, ingress.tls.issuer.* certificate Secret; optional ACME issuer (server, contact address) (OD-02) no
egress.externalCidr, egress.exceptCidrs, egress.objectStorageCidr what “external” and “object storage” mean in NetworkPolicies no
secrets.store, secrets.storeKind the SecretStore or ClusterSecretStore the ExternalSecrets read (OD-06) no
storageClass storage class of the store volumes; empty for the cluster’s default (OD-01) no
backup.schedule, backup.intervalSeconds, backup.retainDays, backup.image backup timing and retention no
backup.bucket, backup.endpoint, backup.credentials secret:// references to the object store (OD-01, OD-05) yes
snapshots.enabled, .schedule, .className, .kubectlImage volume snapshots no
monitoring.namespace, .prober, .serviceMonitor, .rules, .probe monitoring objects no
services.<name>.enabled, .replicas, .resources, .storage, .autoscale per-service sizing (capacity.md) no
services.<site>.mode static web sites: static (Astro dist/ in the static-server image) or node (Astro’s Node adapter) no
services.<site>.releases.active, .previous, .previousReplicas release ids (image tags) served now and kept for rollback (static-sites.md) no
services.<name>.params values of the {placeholders} in the catalogue’s command lines no
services.conformance-runner.secretRefs.runner-key the runner’s Ed25519 report-signing key yes
services.federation.secretRefs.federation-keys the federation service’s peer keys yes
services.node.secretRefs.node-key the node agent’s signing key seed yes

Secret paths (secret://obsp/<env>/<name>)

Name Content Holder (OD-04)
backup-bucket, backup-endpoint bucket name and S3-compatible endpoint URL operator
backup-credentials <access key id>:<secret key> with write and list rights on the bucket only operator
runner-key {"alg": "ed25519", "seed": ..., "kid": ...} (services/conformance-runner) runner operator
federation-keys peer key list of the federation service federation party
node-key 32-byte seed in hexadecimal node operator

Script and unit variables

Variable Used by Meaning
STORE_FILE backup.sh, restore.sh path of the append-only store file
SERVICE backup.sh, restore.sh service name (gateway, registry, log, conformance-runner, federation)
ENVIRONMENT backup.sh, restore.sh environment name; first part of the object path
REPLICA backup.sh, restore.sh pod or host name; object path is <bucket>/<environment>/<service>/<replica>/
RETAIN_DAYS backup.sh objects older than this are deleted after a newer backup is checked
BACKUP_BUCKET, BACKUP_ENDPOINT, BACKUP_CREDENTIALS backup.sh, restore.sh the object store (from the secret store)
BACKUP_INTERVAL_SECONDS backup.sh set: run forever at this interval (gateway sidecar)
TMPDIR backup.sh where the last backed-up size is remembered (default /tmp)
RESTORE_OBJECT restore.sh backup object name without .jsonl
RESTORE_FORCE restore.sh yes replaces a store that is not a prefix of the backup
SITE_BUCKET, SITE_ENDPOINT, SITE_CREDENTIALS static_release.py object storage of the static sites (falls back to the BACKUP_* values); credentials from the secret store
OBSP_RELEASE static sites (set by the manifests) release id the pod serves
HOST, PORT a site in mode: node Astro Node adapter listen address and port (4321)
NAMESPACE, SNAPSHOT_CLASS, KEEP snapshot.sh where, with which class, and how many snapshots per volume to keep
OBSP_REPO_ROOT every program protocol tree of the release (/opt/obsp)
OBSP_GATEWAY_LISTEN, OBSP_GATEWAY_FSYNC_EVERY, OBSP_GATEWAY_VERIFY_THREADS obsp-gateway.service gateway address, sync interval (OD-09), verification threads
OBSP_REGISTRY_LISTEN, OBSP_LOG_LISTEN registry and log units addresses
OBSP_RUNNER_HOST, OBSP_RUNNER_PORT, OBSP_RUNNER_FLAGS obsp-conformance-runner.service address; extra flags (--offline, --allow <url>)
OBSP_VERIFIER_PORT obsp-verifier-site.service loopback port of the static files
OBSP_NODE_GATEWAY obsp-node-replay.service gateway base URL the node agent replays to

Data plane (docs/ops/dataplane.md)

Variable or parameter Where Meaning
databaseUrl services.gateway-dp, dataplane-relay, dataplane-migrate params PostgreSQL URL without a password (OD-01)
databasePool services.gateway-dp.params connections per replica
objectsUrl services.gateway-dp, dataplane-relay params s3://bucket/prefix?endpoint=...&region=... (OD-01)
fanout services.dataplane-relay.params list of --fanout-peer/--fanout-webhook arguments
databaseCidr, databasePort egress address range and port of the managed database (OD-01)
db-password, objects-key-id, objects-secret secretRefs references in the secret store (OD-06)
OBSP_S3_ACCESS_KEY_ID, OBSP_S3_SECRET_ACCESS_KEY gateway environment object store credentials (from the secrets above)
DATABASE_URL dataplane-backup.sh, dataplane-restore.sh source or target database
OBJECTS_DIR dataplane-backup.sh, dataplane-restore.sh object store folder (file store)
STORE_FILE dataplane-backup.sh, dataplane-restore.sh JSON-lines store to copy or restore
OBSP_DRILL_ADMIN_URL make dataplane-restore-test administrative URL of the drill’s PostgreSQL server