Configuration layers
Infrastructure settings belong in Helm values and mounted secrets. Business configuration belongs in the tenant’s versioned configuration lifecycle. A process restart is not how you publish a new adjudication rule.
The runtime trims environment values and treats blank values as unset. Some binary defaults differ from chart defaults: for example, the binary startup deadline is 120 seconds and the chart sets 300 seconds.
Required process settings
| Variable | Purpose |
|---|---|
CLAIMS_DATABASE_URL |
PostgreSQL primary connection URL |
CLAIMS_DATABASE_READ_URL |
Read connection URL; no implicit fallback to the primary |
REDPANDA_BROKERS |
Kafka bootstrap brokers, reached over TLS |
TLS_CA_PATH |
CA bundle for internal/dependency connections |
OUTBOUND_CA_PATH |
Separate trust bundle for external provider and tenant endpoint calls |
REFERENCE_DIR |
Mounted release reference bundle |
CLAIMS_NOTIFICATION_CHANNELS |
Explicit channel selection: email, sms, their configured combination, or none |
The API additionally needs its HTTPS certificate/key and platform-seat key files. Signing output requires the checkpoint seed and a matching public-key catalog. The chart mounts these through Secrets and ConfigMaps; do not put secret values in Helm values.
PostgreSQL URLs must use postgres:// or postgresql://. If sslmode is specified, it must be verify-full. TLS_CERT_PATH and TLS_KEY_PATH provide the API identity. CLAIMS_CLIENT_CERT_PATH and CLAIMS_CLIENT_KEY_PATH are paired client-identity settings.
Operational limits
| Variable | Binary default | Effect |
|---|---|---|
CLAIMS_DATABASE_MAX_CONNECTIONS |
10 |
Maximum for each primary/read pool in a process |
CLAIMS_STARTUP_DEADLINE_SECS |
120 |
Startup dependency retry deadline; allowed 1–3600 seconds |
CLAIMS_EVENTS_PARTITIONS |
12 |
Initial topic topology; do not change on existing history |
KAFKA_REPLICATION_FACTOR |
1 |
Replication for newly created topics; explicitly size for production |
CLAIMS_BACKTEST_MAX_CLAIMS |
2000 |
Historical comparison claim bound |
CLAIMS_BACKTEST_BUDGET_SECS |
20 |
Historical comparison time bound |
CLAIMS_BACKTEST_TENANT_PERMITS |
1 |
Concurrent backtests per tenant |
CLAIMS_INTAKE_BATCH_MAX_BYTES |
1073741824 |
Accepted bulk input byte ceiling |
CLAIMS_INTAKE_BATCH_MAX_CLAIMS |
250000 |
Accepted bulk input claim ceiling |
CLAIMS_UPLOAD_URL_TTL_SECS |
900 |
Upload grant lifetime |
CLAIMS_STATE_REFRESH_SECS |
15 |
Shared state refresh interval |
RUST_LOG |
info |
Logging filter |
These are process defaults, not throughput guarantees. Use chart values where the chart exposes a setting; inspect the rendered claims-settings ConfigMap for the actual installation values.
Size database connections before scaling
Each API, worker, and extraction process can hold a primary pool and a read pool. Budget connections against your database provider’s limits, including each workload’s replica ceiling, rolling-update surge, pool size, and reserved connections.
Increasing replicas without increasing database capacity can make a release fail to render or saturate an external database. Start with observed queue lag, latency, pool waits, and memory rather than multiplying all worker counts together.
Secret management
The current chart schema supports secrets.mode: vault and secrets.mode: aws. The platform inventory lives in charts/pledge/files/secrets.yaml; selection depends on enabled adapters. Required ExternalSecrets must synchronize before consumers start.
Tenant secret references are a separate contract from platform credential delivery. For example, OIDC stores a reference and pins the resolved secret version. Confirm the tenant secret-store adapter is configured when choosing a platform store; selecting an External Secrets backend alone does not establish that every tenant-secret integration is available.
Keep historical public checkpoint keys. Rotation must preserve the ability to verify evidence signed before the cutover. See evidence verification.