Configuration
The complete reference of what an operator sets: every application setting the backend reads, every
environment variable of the Compose stack and the sidecars, the configuration files shipped under
deploy/, and, last, every value of the Helm chart. How to stand an installation up is in
deployment; moving credentials to a secret store is in secrets. Settings a
deployment declares in files are in managed configuration, and the workload settings are in
workloads configuration.
How configuration is read
The backend reads appsettings.json, then appsettings.{Environment}.json, then environment variables,
then command-line arguments, then appsettings.override.json. The override file loads last and wins,
and is opened without change-watching, so an edit to it needs a restart. The Recovery page stores no
configuration; set recovery options through environment variables, command-line arguments or
appsettings.override.json. When Managed:Directory is set, the *.json files in that directory load
above the command-line arguments and below the override file (the resolved-secret source sits between); see managed configuration.
A setting written Section:Key here is Section__Key as an environment variable: colons become double
underscores, and an indexed list is Section__Key__0, __1 and so on. Names are case-insensitive, so
AUTHENTICATION__OIDC__CALLBACKBASEURL and Authentication__Oidc__CallbackBaseUrl are the same setting.
The Development and E2E environments ship their own appsettings.{Environment}.json with local defaults
(a localhost:6379 Redis among them). Production (ASPNETCORE_ENVIRONMENT unset or Production) ships no
default JWT signing key, OIDC state key or bootstrap password, and no Redis address.
A value is range-checked when the host starts. Most bad values refuse the start with a message naming the key; see values validated before the watchdog for the ones that crash-loop instead of counting toward safe mode.
Secret settings and their sources
These settings accept exactly one operator source: the value itself (X), a file (X_FILE), or a secret
reference (X_REF):
Database:Password, Redis:Password, Authentication:Jwt:SigningKey, Authentication:Oidc:StateSigningKey,
BootstrapAdmin:InitialPassword, Metrics:BearerToken,
Plugins:GitHubToken, Plugins:OfficialIndexToken, MatterBridge:WorkloadToken, Cameras:MediaPlane:Password, Cameras:MediaPlane:IngestSecret,
DataProtection:Kek and DataProtection:KekPrevious, the Token of every index in Managed:Indexes:Indexes, the
ClientSecret of every provider in Managed:Oidc:Providers and the SecretKey of every provider in
Managed:ObjectStorage:Providers.
| Rule | Behaviour |
|---|---|
| Two different forms of one secret | Refused at start-up. The same form set in several layers is ordinary layering: the highest layer wins |
| What counts as operator input | Environment variables, command-line values, mounted key-per-file values, user secrets, and _REF forms in JSON configuration. Literal JSON defaults do not count |
An _REF or _FILE variable for a setting not in the list |
Ignored with a start-up warning naming the variable, never its value |
| Names exempt from that warning | The whole SecretProviders__* tree and any name ending in __File or __Ref (double underscore). A mistyped X__File is therefore not warned about: the secret-source convention uses a single underscore |
| A file source | Waited for under one shared start-up deadline, REEVE_SECRET_FILE_TIMEOUT_SECONDS (default 120, clamped to 1-3600). It must become non-empty after dropping at most one trailing LF or CRLF. Files are checked for changes once a second |
| A reference source | Resolved before the host listens. Transient provider outages are retried for at most REEVE_SECRET_REF_TIMEOUT_SECONDS (default 240, clamped to 1-3600); then the process exits naming the setting, the provider and the failure kind. A bad reference, an access denial or a TLS certificate failure stops at once. Retry logs name the setting and provider, never the value. Keep the start-up probe budget longer than this timeout; the chart refuses values that break that relationship |
| Picking up a change | A setting read only at start (the database and Redis connection strings, the JWT and metrics setup) keeps its first value until a restart. Monitor-backed settings reload in place: a changed _FILE source of Plugins:OfficialIndexToken applies live. A changed _REF source always needs a restart, because start-up-resolved settings are not part of the periodic reference refresh |
Reference syntax and provider setup are in external secret providers below.
--migrate-only reads the database password, the bootstrap password and the Data Protection KEKs when set. The JWT signing key and the
OIDC state signing key are required by a serving replica, which refuses to start without them; the
migration job does not read them, and the chart's db-migrate Job mounts neither.
External secret providers
A provider is declared as indexed SecretProviders configuration; the chart renders it from its
secretProviders list (Helm chart values) and adds it to both the backend pod and
the database migration Job. Provider parameters are ordinary configuration values and cannot use X_REF;
authentication credentials use provider-specific __File keys. The chart mounts provider credentials from
named Kubernetes Secrets; it accepts no generic file, externalSecret or ref source for them, because
the shared secret-source helper is for Reeve settings. A CA bundle is either inline PEM or a PEM file path;
Helm mounts a ConfigMap or Secret key and passes its path. An empty provider list renders no provider
environment, volumes or mounts.
secretProviders:
- id: vault
type: vault
parameters:
address: https://bao.example.internal:8200
kvMount: kv
caBundle: { configMap: bao-ca, key: ca.crt }
auth:
method: kubernetes
kubernetes: { mountPath: k8s, role: reeve, audience: openbao }
allowedPrefixes: [reeve/, home/cameras/]
- id: lab-vault
type: vault
parameters:
address: https://vault.example.internal:8200
kvMount: secret
auth:
method: approle
approle:
roleId: { existingSecret: { name: lab-approle, key: role_id } }
secretId: { existingSecret: { name: lab-approle, key: secret_id } }
allowedPrefixes: [shared/iot/]
| Setting | Default | Effect |
|---|---|---|
SecretProviders__<n>__Id |
none | Stable lowercase id of letters, digits or hyphens. References name it |
SecretProviders__<n>__Type |
none | vault, for Vault or OpenBao KV v2 |
...__Parameters__Address |
none | Absolute HTTP(S) API address |
...__Parameters__KvMount |
secret |
KV v2 mount name |
...__Parameters__Namespace |
unset | Vault namespace, sent on login, renewal, health and data requests |
...__Parameters__CaBundle |
unset | Inline PEM bundle, or the path of a mounted one, of trusted roots. Tls__TrustedCaCertificates is trusted as well. The server certificate must carry the serverAuth extended key usage. With a bundle, certificate names stay verified and online revocation lookups are off, so a private CA does not make start-up depend on a CRL or OCSP endpoint |
...__Parameters__AllowedPrefixes__<n> |
empty | Path prefixes this provider may read or list. A prefix ends at a path-segment boundary: home/ does not allow home-admin/ |
...__Parameters__Auth__Method |
token |
kubernetes, approle or token |
...__Auth__Kubernetes__Role |
unset | Kubernetes auth role |
...__Auth__Kubernetes__Audience |
unset | Audience of the projected ServiceAccount token |
...__Auth__Kubernetes__MountPath |
kubernetes |
Kubernetes auth mount |
...__Auth__Kubernetes__ServiceAccountTokenFile |
unset | Path of the projected token file |
...__Auth__AppRole__RoleId__File, ...__Auth__AppRole__SecretId__File |
unset | Files holding the AppRole ids |
...__Auth__Token__File |
unset | Token sink file, read during requests and maintenance ticks |
SecretReferences__RequireReferences |
false |
Requires new values of Password and Sensitive plugin fields, workload password parameters and secret headers of workflow nodes to be provider references. No effect when no provider is declared. An unchanged stored value and the *** keep marker stay valid. In value mode an empty string clears an optional stored secret. The management UI offers provider mode when this is on. GET /api/secrets/policy exposes only this boolean to users who cannot list providers |
SecretReferences__RefreshIntervalSeconds |
900 |
How often the runtime references (plugin and workload secrets, not start-up settings) are resolved again |
A reference is <provider>:<path>#<key>, with an optional pinned version as a positive decimal after the
final @; other @ characters stay part of the key. Only _REF forms of the known secret settings take
part in start-up resolution.
For kubernetes auth, Helm projects a ServiceAccount token with the configured audience and passes its
path. The same login works against OpenBao's JWT auth mount: both endpoints accept role and jwt at
auth/<mount>/login. The provider role must bind both identities, the backend's
system:serviceaccount:<namespace>:<fullname> and the migration Job's
system:serviceaccount:<namespace>:<fullname>-db-migrate (<fullname> is the release name after the chart's
naming rules). An OpenBao JWT role uses type: jwt, user_claim: sub, bound_claims.sub containing both
subjects and bound_audiences set to the token audience, and needs read/list policies for both logins. To
use one identity, set databaseMigration.serviceAccountName to the backend's serviceAccount.name. For
approle, the role and secret ids come from the named Secret keys mounted as files; for token,
auth.token.existingSecret names the token Secret and key. A token sink change is picked up on the next
read or maintenance tick.
How the Vault client reads the answers:
| Endpoint response | Meaning and action |
|---|---|
| KV read/metadata 200; LIST 200/204 | Content parsed; an empty LIST stays empty |
| KV read/metadata 401/403 | Ambiguous: the token is checked with lookup-self. Only a refused lookup triggers re-authentication; a live token that lacks permission stays in use and the request is reported forbidden |
| KV read/metadata 404; LIST 404 | Not found. A pinned version is Destroyed only when Vault says destroyed: true; a soft-deleted one is not found. A missing LIST path is empty |
| Login 400/401/403; lookup-self 400/401/403/404 | Authentication refused. A previous valid token is kept until its lease expires and replaced only after a successful login. A refused token-file value is looked up again after a 15 s cooldown, or at once when the file changes |
| lookup-self 200 | The token is live. A lookup may bring expiry and renewal earlier, never later; only login, renew-self and the lookup of a new token-file value set the renewal schedule |
| renew-self 400/401/403 | Renewal is disabled or the token validated; replaced only after a lookup refuses it |
| Any other 4xx, 429, 473, 5xx, a malformed success body, a timeout | Invalid input where it applies, otherwise unavailable. An unvalidated token is never published |
| sys/health 200 and a successful cached token lookup | Healthy; other statuses are degraded. A token the lookup refuses is recovered like a refused read; degraded only when recovery fails |
A token sink briefly empty during an atomic rewrite leaves the last validated token in use. The Compose overlays, the AppRole and token-file variants and the OpenBao Agent database-password variant are in secrets. A minimal Compose provider puts references in the backend environment and mounts the provider credential read-only:
services:
backend:
environment:
Database__Password_FILE: !reset null
Database__Password_REF: home:reeve/database#password
SecretProviders__0__Id: home
SecretProviders__0__Type: vault
SecretProviders__0__Parameters__Address: https://vault.example
SecretProviders__0__Parameters__KvMount: secret
SecretProviders__0__Parameters__Auth__Method: token
SecretProviders__0__Parameters__Auth__Token__File: /run/secrets/vault-token
Data Protection key-encryption key
The Data Protection key ring lives in PostgreSQL. To wrap its master keys with a key-encryption key (KEK), choose exactly one source per setting:
| Setting | Use |
|---|---|
DataProtection__Kek_FILE |
Mounted file holding a base64-encoded 32-byte AES key |
DataProtection__Kek_REF |
Versioned secret reference such as vault:reeve/dataprotection#kek |
DataProtection__KekPrevious_FILE |
The previous file key during a file-based rotation |
DataProtection__KekPrevious_REF |
The previous key through a provider during rotation |
The secret configuration layer selects one of each setting's forms and publishes it as DataProtection:Kek
or DataProtection:KekPrevious with a value, file or reference source marker; a host must run that
layer before registering infrastructure.
- Vault rotation. Write a new KV version and restart with the same unpinned reference. Reeve reads the
current version, fetches older ones by their recorded reference and version, and rewraps the key rows
before serving. Keep previous versions until every replica has restarted on the new one and the ring is
rewrapped. Before removing an old version, read
oldestKekVersionin the Security key-ring box ofGET /api/system/status(read from the shared key table, so the same on every replica; file-key identifiers are redacted) and keep every version still referenced. If a runtime version lookup fails, the affected key cannot decrypt; restore provider access and that version. - File rotation. Mount the new
Kek_FILEand the prior key asKekPrevious_FILEtogether, and keep the previous file untilkeysUsingOlderKekin the Security key-ring box is zero. An old pod caches its KEK for its lifetime and can still create a key with it. Never put key bytes in environment values or logs. - A missing or wrong KEK prevents start-up when the ring holds wrapped keys. Restore the matching key or version and restart; never delete the key rows. Backups taken before wrapping still expose the secrets they hold: delete them or rotate the affected secrets. See secrets and audit.
The readability check runs without a KEK too: an unreadable non-revoked key stops start-up instead of letting Data Protection create a replacement. If Data Protection cannot use its default key at runtime it may create a replacement, which does not restore access to data protected by the unavailable key. The first key of a new installation is created under a database lock before any replica loads its ring, so replicas booting together cannot each make one. Key-age checks follow the library's resolver: only the newest key inside its fixed 5-minute clock-skew window decides, and keys are dated by wall clock, so a host whose clock is far off reads a fresh key as expired.
Bootstrap and safe mode
| Setting | Default | Effect |
|---|---|---|
Authentication:Jwt:SigningKey |
none, required | Signs the internal access-token envelope. Generate 64 random bytes; identical on every replica |
BootstrapAdmin:InitialPassword |
none, required | The first administrator's credential, flagged must-change |
BootstrapAdmin:UserName |
admin |
User name of the built-in administrator |
BootstrapAdmin:DisplayName |
Bootstrap Administrator |
Its display name |
BootstrapAdmin:Email |
admin@localhost |
Its e-mail address |
Bootstrap:MaxStartupSeconds |
60 |
Watchdog. No successful start inside the window increments the failure counter and exits 75. Its clock starts after the database steps and stops while start-up waits for a dependency (below). It covers the hosted services' start, not a plugin instance's, which the boot pass waits for at most 30 s. Range 5-600. |
Bootstrap:AutoEngageThreshold |
2 |
Consecutive failed boots before safe mode engages; 2 means the third boot engages it. Only a failure recorded in the replica's boot-state row counts: one the database cannot take (unreachable, or not migrated yet) is logged as not counted, and the process still exits 75. Range 1-10. |
Bootstrap:WatchdogEnabled |
true |
Test hosts only. Off: no watchdog, a failed boot is recorded and rethrown (an out-of-process host then ends with an unhandled exception, not exit 75); refusals (76, 78) still exit, and a shutdown-time exception after start does not force exit 0. In-process test hosts must turn it off, or the exit tears the test host down |
--safe-mode |
off | Command-line flag forcing safe mode for the process lifetime. There is no runtime toggle |
--migrate-only |
off | Applies migrations and exits without serving |
Hosting:StartupTimeoutSeconds |
300 |
How long the host's start may take before the process exits 75 and the restart policy (Compose unless-stopped, the Kubernetes startup probe) starts it again. It bounds the Redis start-up wait and the cluster library's join and first full load, which retry without limit while nothing listens. Migrations run before the host starts and are not counted. Raise it with the chart's startupProbe when a large installation's first load takes longer. Overrides the host's own startupTimeoutSeconds key. 30-3600 |
Hosting:ShutdownTimeoutSeconds |
204 |
One budget for the whole stop: hosted services stop one after another under it. A service that honours the cancellation token is cut off at the budget, but trigger-plugin stop and dispose are not, so the stop can run past this number and only the orchestrator's kill deadline bounds it. Keep the kill deadline at least 10 s above it. The chart pairs it with terminationGracePeriodSeconds from backend.shutdown and refuses a pair closer than that. Compose sets stop_grace_period: 214s. 5-600 |
ThreadPool:MinWorkerThreads |
16 |
Worker threads the .NET pool starts without delay (1-1024). The runtime sizes its floor from the CPU limit, one on a one-CPU pod, and every blocking Redis condition check holds a thread until its reply. A higher floor the runtime already chose is kept. Read before the host is built |
The backend checks the signing keys for presence and a minimum length of 32 characters, and the initial administrator password for presence only. No example values ship, so choose all of them yourself.
Open requests spend the shutdown budget first. The budget starts at the stop, and Kestrel waits for
every open request before any hosted service stops. The unbounded endpoints (the workload gateway
/ws/workloads, the camera sockets, the progressive camera stream and the Matter bridge's media stream)
therefore end the moment the host begins stopping: a WebSocket gets a going-away close (1001) and the adapter
or viewer reconnects to a peer. A bounded download (a snapshot, an event clip) runs to its own deadline; an
event clip's is 60 s, so a slow clip in flight can spend the whole budget before a service stops. Kestrel
then cuts it, and the connection is aborted rather than closed as complete. Any endpoint that holds a
request open until its client leaves has to end on the stop too, or every rollout spends the whole budget on
it and the ownership leases are never released.
Waiting for a dependency is not a failed boot. Bootstrap:MaxStartupSeconds measures the backend's own
start, from the end of the database steps (migrations, or the schema check on a replica that does not
migrate) until the host has started, which includes the key-ring check, the workload engine's start and
every hosted service's start. The watchdog's clock stops while start-up waits for a dependency:
| Wait | Watchdog | Bounded by |
|---|---|---|
| Postgres accepting a connection, retried while the failure is transient | Before its clock starts, and before the boot-state read | Database:StartupWaitSeconds, plus one connect timeout (Npgsql's Timeout, 15 s by default). Expiry exits 75 and is not counted |
| Database steps, including a migration lock another replica holds | Before its clock starts | The lock: 60 tries 2 s apart, then the steps run unguarded. The steps: the startup probe only |
Redis answering PING |
Paused | Redis:StartupWaitSeconds, plus one PING timeout and retry delay (about 7 s) |
| The cluster library's join and first full load | Paused | Hosting:StartupTimeoutSeconds only; it retries without limit |
| The Redis client's first connect | Counted when its clock runs | Its connectTimeout, 5 s by default, with abortConnect=false |
| Restoring installed plugin artifacts | Not seen (after start, at the head of the boot pass) | Each download's own timeout |
| A plugin instance's start | Not seen (after start) | The boot pass's 30 s per instance |
The paused waits run inside the host's start, so Hosting:StartupTimeoutSeconds has to hold the Redis wait
and the cluster join together; start-up refuses a Redis:StartupWaitSeconds not at least 10 s below it.
Hosting:StartupTimeoutSeconds counts from the host's start, but the
chart's startupProbe (about 420 s) counts from the container's, so the probe also has to hold everything
before the host starts (the Postgres wait, option checks, the database steps, the key ring, the workload
engine). With the chart's migration Job that is a few seconds; a replica that migrates on start can spend up
to 2 minutes on the migration lock alone, so raise the probe for it. An excluded wait that runs out is a
counted failed boot, except the Postgres wait: the failure streak lives in Postgres, so a boot that ends
because Postgres never answered cannot be recorded, and safe mode, which only withholds plugins, would not
cure it anyway. The process logs each retry and exits 75 for the restart policy or the kubelet to try again.
The chart's wait-for-postgres init container holds a new pod; the backend's own wait covers a container
restart inside the pod and a Compose host reboot, where the Docker daemon restarts containers in no
particular order.
Some values are validated before the watchdog exists. Most bad values are caught while the host starts,
count as a failed boot and engage safe mode at Bootstrap:AutoEngageThreshold. A value read while the host
is being built is not: Database:StartupWaitSeconds, Hosting:ShutdownTimeoutSeconds,
Hosting:StartupTimeoutSeconds, ThreadPool:MinWorkerThreads, the Workflow:Engine:* numbers, and
everything service registration reads eagerly (the two required secrets above, the primary connection string
and the OIDC state signing key). A bad value in any of them throws before the watchdog watches, so the
process crash-loops and safe mode never engages. The chart refuses the ones it renders
(backend.shutdown.*, backend.postgresStartupWaitSeconds, automations.durableSleep.parkWhenAtLeastSeconds)
at render time for this reason; a value passed through backend.extraEnv goes around that check.
Database
| Setting | Default | Effect |
|---|---|---|
ConnectionStrings:PrimaryDatabase |
Host=localhost;Port=5432;Database=reeve;Username=reeve;Password=reeve in appsettings.json |
The primary database. Read once at start. Combine it with Database:Password (any source) rather than writing the password into the string; Compose leaves Password= empty and supplies Database__Password_FILE |
ConnectionStrings:ReplicaDatabase |
unset | Optional read-replica connection (for a CloudNativePG cluster, its -ro Service). Unset or empty, the read context falls back to the primary and shares its pool. The read context stays read-only even when its endpoint is the primary |
Database:Startup:RunMigrationsOnStartup |
true |
Applies pending migrations at boot, then seeds reference data. Set false on serving replicas and run a separate --migrate-only job instead |
Database:StartupWaitSeconds |
90 |
How long start-up, the migrate-only job included, keeps retrying a Postgres it cannot reach. 0-600, 0 tries once. Retries run first, 2 s after each failed connect, with a line on standard error per try. Only a transient failure is retried: a refused, reset or timed-out connection, or SQLSTATE class 08, 57P01-57P03 or 53300. A wrong password, a TLS failure or a missing database ends the wait at once. Expiry exits 75 and does not count toward safe mode. The operator commands (--cluster-skip, --cluster-floor, --compilation-sweep) do not wait. The chart renders it from backend.postgresStartupWaitSeconds |
Database:CommandTimeoutSeconds |
30 |
Command timeout of the EF contexts. The schema migrations at boot and in the migration Job run without a command timeout, so a migration that rebuilds an index on a large table is not cancelled. Range 1-600. |
Database:Pool:MaxSize |
20 |
Connection pool size per replica |
Database:Pool:ConnectionTimeoutSeconds |
15 |
How long a caller waits for a pool slot before Npgsql throws. The concurrency limiter should shed load before this triggers |
Database:ReplicaPool:MaxSize |
Database:Pool:MaxSize |
Pool of the read-replica context, its own pool against the replica host. Used only when ConnectionStrings:ReplicaDatabase is set |
Database:ObjectStoragePool:MaxSize |
8 |
Connections reserved for object-storage calls, which hold one for the length of a transfer |
Database:Provider, Database:TimeseriesSchema |
postgresql, telemetry |
Fixed; do not change |
Max Auto Prepare (in the connection string) |
0 |
Npgsql's automatic statement preparation, off unless set in ConnectionStrings__PrimaryDatabase (with Auto Prepare Min Usages, default 5, if wanted; on Helm through backend.extraEnv). |
REEVE_PRIMARY_DB_CONNECTION |
unset | Design-time only: the connection string the EF tooling's context factory uses. The running host never reads it |
Budget the connections. Every pool counts against the server's max_connections on every replica: the
primary pool, the object-storage pool, the optional replica pool, and the cluster library's own pools (four
bounded by Database:Pool:MaxSize for membership, member writes, acknowledgements and the owned store, a
renewal pool of 8, a read-index pool of 16, and unpooled applier connections; real use is a handful, but
budget for the caps). Keep each pool's maximum at most 80 percent of max_connections, less superuser slots,
health probes and backup tooling. The Compose stack runs Postgres with max_connections=100; raise it
together with both pools.
Migrations run under a distributed initialiser lock, so one replica initialises while the others wait and retry. The initialiser refuses to boot on model drift no migration describes. An unknown migration id after the last one belongs to a newer release and is tolerated; a replica that migrates nothing and would serve that schema is refused (see upgrading).
The cluster library
The Cluster section configures the cluster library, which carries configuration to every replica at every
replica count (how configuration reaches every replica).
The values are fleet-wide: give every replica the same ones, sized for the slowest node. The chart renders
them from its cluster block as Cluster__* variables; the host sets the defaults of the first three in code,
because a host started with another content root has no appsettings.json.
| Setting | Default | Effect |
|---|---|---|
Cluster:ReconcileTimeout |
00:00:15 |
One reconciler attempt, a full load included. ApplyStallLimit is twice this, and AckTimeout grows with both |
Cluster:ProxyReadTimeout |
00:02:00 |
The shortest read timeout of any proxy in front of a replica. Declaring more than the real one lets a committed write be cut off with no 202 write_unconfirmed |
Cluster:ActionTimeBudget |
00:00:55 |
The longest a writing handler is declared to take; nothing enforces it. ReadIndexTimeout + this + AckTimeout must stay below ProxyReadTimeout, or the host refuses to start. A plugin call passed to its connection-lease holder waits at most this minus 2 s for its answer, so the host refuses to start below 3 s. A plugin uninstall waits at most this, or 30 s when that is shorter, for the live runs that use the plugin's blocks |
Cluster:LeaseTtl, SafetyMargin, StopBudget, RenewTimeout, RenewInterval |
the library's | Leave at the library's defaults. The termination grace period and Hosting:ShutdownTimeoutSeconds must cover StopBudget + ProxyReadTimeout + 2 x RenewTimeout plus the member-request drain, 5/16 of Hosting:ShutdownTimeoutSeconds |
Cluster:StatusReportInterval |
RenewInterval |
How often a replica writes its status sections. 3 s to 22.5 s, or the host refuses to start: the replica roster and the plugin roll census count a reeve section only while it is at most 45 s old, and the section reads the plugins' health for up to 2 s |
Cluster:CheckSynchronousReplication |
true |
When the database has a standby and synchronous_standby_names is empty or synchronous_commit is local or off, every replica warns in its log and its replication status section that an acknowledged write may be lost on a failover. Readiness is never affected; false silences the warning |
ClusterMutex:TimeToLive |
00:00:30 |
Lease of a cluster mutex, and so the bound on how long a crashed holder's key stays taken |
ClusterMutex:RenewInterval |
00:00:10 |
Its renewal cadence. TimeToLive minus the cluster SafetyMargin must allow two renewals, or the host refuses to start |
Coordination and replica identity
| Setting | Default | Effect |
|---|---|---|
REPLICA_ID (environment variable), then Workflow:Engine:ReplicaId |
none, required | The replica id. Every host, clustered or not, requires one; the same precedence selects it for recovery, MQTT membership, the cluster library and workflow state. Every live replica needs a unique id: duplicates overwrite membership and can place a unit on two replicas, and raise cluster.replica_id_conflict. On Kubernetes set it from the pod name, at most 100 characters |
Coordination:Clustered |
unset (off) | Enables the coordination only a fleet needs: the Matter bridge's live-state relay and the plugin roll's census; observation replication follows it by default. The host-build comparison, unit kinds, held mutexes, plugin connection leases, MQTT availability leadership and requests between replicas run at every replica count regardless. Set it to true on every replica of a cluster. A clustered backend refuses the Docker workload provider: it will not start while the stored provider is Docker or a live workload is managed on it, and Automatic never selects Docker. |
Coordination:HeartbeatInterval |
00:00:10 |
How often a clustered replica refreshes its replica-id claim; an unclustered replica checks for live peers every six intervals. Positive |
Coordination:PeerGrace |
00:03:00 |
How long another replica's cluster lease must keep being renewed before an unclustered node reports it as a peer, and how long a foreign replica-id claim must keep progressing before it raises cluster.replica_id_conflict. Must exceed HeartbeatInterval; a brief rolling-update overlap is not reported |
Coordination:MissingReplicaWindow |
1.00:00:00 |
How long after it was last seen live a replica still counts as expected to report, so a replica that is restarting or has just stopped shows as missing and holds alert clears. After it, the replica is history on the Cluster tab (N stopped) and alarms nothing. Between 5 minutes and BootStateRetention |
Coordination:BootStateRetention |
7.00:00:00 |
How long a replica that has stopped running keeps its boot-state row (the Cluster tab's history list), counted from the later of its last sign of life and its last boot attempt. Without Coordination:Clustered a replica stamps and expects only itself, yet the maintenance pass still ages every row, so a live peer of a misconfigured multi-replica setup can lose its row; set it. 1-3650 days |
The replica-id conflict and workload alerts are raised and cleared every 30 seconds by the single replica that owns that kind. Running a fleet is described in running multiple replicas.
Redis, rate limiting and shedding
| Setting | Default | Effect |
|---|---|---|
Redis:ConnectionString |
none (localhost:6379 in Development and E2E) |
Required on every deployment, single replica included: a host without it refuses to start naming the key. It must answer a PING within Redis:StartupWaitSeconds, so an unreachable endpoint aborts start-up rather than degrading. The chart and Compose add abortConnect=false; without it the first failed connect aborts start-up at once, before that wait. --migrate-only does not read it |
Redis:Password |
unset | Password, combined with the connection string. Any secret source |
Redis:StartupWaitSeconds |
90 |
How long start-up keeps retrying a Redis that does not answer PING. 0-600, 0 tries once. A try comes about every 7 s, each with a warning. It covers a Redis that restarts or loads its data alongside the backend. Needs abortConnect=false. Not counted against Bootstrap:MaxStartupSeconds. Counted against Hosting:StartupTimeoutSeconds, and refused unless at least 10 s below it |
Redis:SessionLifetimeDays |
30 |
Server-side session lifetime. Range 1-365. |
Redis:SessionSlideIntervalMinutes |
60 |
How often, at most, one replica slides a session's lifetime and re-issues its cookie. Must be below both the session lifetime and the 30-day cookie lifetime, or the host refuses to start. An idle session expires between the lifetime minus this interval and the full lifetime; sign-out takes effect on the next request |
RateLimiting:KeyPrefix |
ratelimit |
Prefix of the Redis counter keys: {KeyPrefix}:{policy}:{partition}, for example ratelimit:pat-create:{userId}. Every named policy counts in Redis on every topology, so a limit holds across the whole cluster. A request authenticated by a personal access token counts in its own bucket, so a runaway script cannot lock its owner's browser session out |
RateLimiting:Auth:PermitLimit, RateLimiting:Auth:WindowSeconds |
10, 60 |
The auth policy on the sign-in endpoints and the plugin OAuth callback: requests per address per window |
RateLimiting:BlueprintSync:PermitLimit, RateLimiting:BlueprintSync:WindowSeconds |
1, 60 |
Manual blueprint repository syncs per window |
RateLimiting:Concurrency:MaxConcurrentRequests |
80 |
Global back-pressure limiter: with this many API requests in flight, the next answers 429 with Retry-After: 1 at once instead of queuing until the database pool times out. Size it around four times Database:Pool:MaxSize. The metrics endpoint, and the health endpoints when the request carries no credential, are exempt, so probes always answer. Long-lived connections do not count: SignalR hubs, the workload gateway, live camera streams and sockets, event clips and the Matter-bridge media stream |
RateLimiting:Concurrency:QueueLimit |
0 |
Requests that may queue at saturation; 0 answers 429 immediately |
Manual plugin repository sync is limited to ten calls per hour per user, and manual discovery scans to five. Sign-in challenges, step-up tokens, OIDC hand-offs, repair flows and widget previews live in Redis at every replica count; there is no per-store switch.
Redis 8.4 or newer is required, built-in or external: the backend uses EXPIRE ... NX, GETDEL,
SET ... NX ... GET and the native compare-and-set SET ... IFEQ and DELEX ... IFEQ, and refuses to start
against an older server. The shipped image is redis:8.12.0-alpine. It must be a standalone instance; Redis
Cluster is not supported, because the second-factor challenge counts an attempt in a transaction spanning
two keys that a cluster may place on different shards.
An external Redis must run maxmemory-policy noeviction; the built-in Redis of Compose and the chart does.
The cluster library reads the policy at start: a readable policy that is not noeviction (a volatile-* one,
for example) refuses the start, because the host's Redis claims are granted by a TTL that eviction would end
early. A Redis not connected at start, or a listed server the check cannot reach, refuses only for fences and
slots; claims warn and start. An ACL user without INFO can be refused.
For an authenticated external Redis in Helm, set redis.external.existingSecret to a Secret in the release
namespace; its password key is used unless redis.external.existingSecretPasswordKey names another.
Supplying the Secret turns on password authentication in the backend connection string. Leave both
password and existingSecret empty only when the external Redis accepts unauthenticated connections.
Forwarded headers and the counted client address
Every per-address rate limit (auth, the 2FA and passkey verify doors, the anonymous reset link) and the
failed-login lock key on the connection's remote address, IPv4 per address and IPv6 per
/64. Behind a reverse proxy or ingress that address is the proxy's, so every client shares one bucket per
policy, and one person's wrong passwords block everyone, unless forwarded headers are honoured:
| Setting | Default | Effect |
|---|---|---|
ForwardedHeaders:Enabled |
false in the backend; true in the Compose stack and the Helm chart |
Honour X-Forwarded-For and X-Forwarded-Proto |
ForwardedHeaders:TrustedNetworks |
unset: 127.0.0.0/8, ::1/128, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, fc00::/7 |
CIDRs or single addresses whose forwarded headers are trusted, separated by commas, semicolons or whitespace. Set, it replaces the default |
ForwardedHeaders:KnownNetworks__<n>, ForwardedHeaders:KnownProxies__<n> |
unset | The same trust as indexed lists, CIDRs and addresses respectively. Any entry in either also replaces the default |
ForwardedHeaders:ForwardLimit |
1 |
How many X-Forwarded-For entries to unwind from the right; see below |
ForwardedHeaders:ForwardedForHeaderName |
X-Forwarded-For |
The header the client address is read from, for example a CDN's CF-Connecting-IP. X-Original-For is refused at start-up, because the middleware strips it from every request before it is read |
The trust list is the union of TrustedNetworks, KnownNetworks and KnownProxies; the default applies only
when all three are empty. An entry that does not parse (a hostname, a bad prefix, a CIDR in KnownProxies, a
bare address in KnownNetworks) fails the boot rather than being dropped. X-Forwarded-For from a peer outside
the list is ignored, and the backend logs "{header} from {peer} was ignored" at most once per ten minutes:
behind a proxy, that warning means every client is counted as the proxy.
The consequence of the default. Anything on a trusted network that reaches the backend without going
through the proxy can put any address in X-Forwarded-For and be counted as it: it can spread its wrong
passwords over invented addresses, or spend another client's budget. That is acceptable only when the proxy is
the one way in. When the backend is reachable otherwise (its port published on a LAN interface, a
LoadBalancer or NodePort backend Service, other tenants' pods in a shared cluster network), set the trusted
networks to the proxy alone: its address, or the narrowest subnet it runs in (the ingress controller's pod
CIDR, the Compose network's subnet).
Which entry is counted. Each HTTP proxy appends the address of the peer it took the connection from. The
backend starts from its own peer and walks the header from the right: while the address it holds is trusted
and it has unwound fewer than ForwardLimit entries, it takes the next one to the left. The counted address is
the entry ForwardLimit hops from the right, or the first untrusted one before that; an entry that does not
parse also stops the walk there. For it to be the client:
- Count every hop between the client-facing edge and the backend in
ForwardLimit, and make every one of them trusted. - Every hop must pass the client's address on. A TCP (layer 4) proxy or load balancer without PROXY protocol,
or anything that source-NATs, replaces the client's address with its own, and no
ForwardLimitrecovers what was never written. Use PROXY protocol towards the next hop, run that proxy in HTTP mode, or count from a hop in front of it. - Behind a CDN,
ForwardLimitmust reach past your own hops to the entry the CDN's edge appended, and the origin must accept connections only from the CDN's published address ranges.
A CDN's own client header. A CDN that puts the client's address in a single-value header of its own can be
read directly: set ForwardedHeaders:ForwardedForHeaderName to that header and keep ForwardLimit at 1
(FORWARDEDHEADERS__FORWARDEDFORHEADERNAME in the Compose .env, forwardedHeaders.forwardedForHeader in the
chart). X-Forwarded-For is then not read. The hop in front of the backend must still be trusted, and the
origin must accept connections only from the CDN's ranges. A request that reached the origin without the CDN
carries no such header and is counted as the backend's own peer.
To check what is counted, read the source address of the auth.login.failed and auth.login.blocked audit
entries, or the "Password sign-ins from {address} are blocked" log line. If it is one of your own proxies, load
balancers or nodes, a hop is not counted, not trusted, or hides the client.
- Compose. The stack turns forwarded headers on, because nginx in the frontend container proxies
/apiand appends the client's address, and the backend is published on loopback only.TRUST_SUBNETSin.envoverrides the default trust list (for exampleTRUST_SUBNETS=172.20.0.0/16). Until it is narrowed, any container that can reach the backend directly (another Compose service, a workload on thereeve-workloadsbridge) and any host process through the loopback publish can name its own counted address. A reverse proxy in front of the frontend adds a hop: setFORWARDEDHEADERS__FORWARDLIMIT=2and keep that proxy trusted (nginx sees a proxy on the host as the bridge gateway, inside172.16.0.0/12). WhenFRONTEND_BINDalso publishes the frontend on a LAN interface, narrowingTRUST_SUBNETSis required with that limit: under the default trust a LAN client that connects to the frontend port directly sends its ownX-Forwarded-Forand chooses its counted address. Set it to the frontend's Compose network, which covers a proxy on the host, plus the address of a proxy elsewhere. Compose picks that network's subnet itself (the172.20.0.0/16above is only an example); read it withdocker network inspect <project>_default --format '{{(index .IPAM.Config 0).Subnet}}', where the project isdeployunless you pass-p. Where Docker's userland proxy rewrites client addresses (Docker Desktop, rootless Docker), every direct client appears as the gateway and no trust list separates it from the proxy, so keep the frontend on loopback there. The multi-replica overlay unwinds two hops by default (the frontend's nginx and the balancer), so a proxy in front of it needs3. Every replica must carry the same trust, or the lock counts differently per replica. An uncounted proxy shows in the backend log as a warning that the counted address is trusted whileX-Forwarded-Forstill names an earlier hop; the same warning appears when a client on a trusted network sends the header itself, and then the limit stays. - Helm. The chart sets
forwardedHeaders.enabled: true, because the ingress routes/apistraight to the backend.forwardedHeaders.trustedNetworksoverrides the default trust list;forwardedHeaders.forwardLimit(default 1) counts the entry the ingress controller appended. That is the client only when the ingress controller is the first hop that sees the client's address: a cloud load balancer withexternalTrafficPolicy: Cluster, or a TCP proxy without PROXY protocol, in front of it replaces that address, and behind a CDN the entry to count is the CDN's.backend.extraEnvoverrides everyForwardedHeaders__*variable the chart renders.
Authentication
Sign-in produces a server-side session behind an opaque cookie. There is no browser-held bearer token and no refresh endpoint, so a reload re-authenticates from the cookie and revocation is immediate. The model is in authentication.
| Setting | Default | Effect |
|---|---|---|
Authentication:Jwt:Issuer, Authentication:Jwt:Audience |
Reeve.Api, Reeve.Clients |
Issuer and audience of the internal token envelope |
Authentication:Jwt:AccessTokenLifetimeMinutes |
15 |
Lifetime of a token minted for a client that uses one (the mobile app, a workload callback). Range 1-1440. |
Authentication:Jwt:RefreshTokenLifetimeDays |
30 |
Lifetime of its refresh token. Range 1-365. |
Authentication:Jwt:BootstrapChangeTokenLifetimeMinutes |
10 |
How long the must-change token of the bootstrap administrator is valid. Range 1-60. |
Authentication:Oidc:StateSigningKey |
none | Signs the federated-login state. At least 32 bytes; identical on every replica. Required by a serving replica |
Authentication:Oidc:CallbackBaseUrl |
http://localhost:5173 in appsettings.json |
Externally reachable application URL. The redirect address is this plus the provider's callback path |
Authentication:Oidc:AllowInsecureMetadata |
false |
Permits a plain-HTTP issuer. Development only |
Authentication:Oidc:AllowPrivateMetadata |
false |
Permits the OIDC back-channel (discovery, signing keys, token endpoint) to connect to a LAN or loopback address, for an on-premises identity provider. Checked at connect; link-local, cloud-metadata and carrier-grade-NAT addresses stay closed |
Authentication:WebAuthn:RpId |
none | Relying-party identifier, never derived from the request host. A registrable domain or localhost, never an IP address. Empty makes every passkey route answer 503 |
Authentication:WebAuthn:RpName |
Reeve System (Compose sets Reeve) |
Display string in the authenticator prompt |
Authentication:WebAuthn:AllowedOrigins__<n> |
empty | Extra exact origins. Listing any web origin replaces the origin derived from the relying-party identifier. An Android app origin is android:apk-key-hash:<base64url SHA-256 of the signing certificate>; the validator refuses a malformed hash or a bare fingerprint. mobile/tools/apk-key-hash.sh prints it for a keystore |
Authentication:WebAuthn:TrustOfficialAndroidApp |
true |
Accepts the official Android app's signing-key origin without listing it |
Authentication:WebAuthn:ResidentKeyRequirement |
preferred |
discouraged disables passkey enrolment from the mobile app |
Authentication:WebAuthn:UserVerificationRequirement |
preferred |
discouraged, preferred, required |
Authentication:WebAuthn:AuthenticatorAttachment |
Any |
Any, Platform, CrossPlatform |
Authentication:WebAuthn:AttestationPolicy |
none |
none, direct |
Authentication:WebAuthn:SignCountStrictness |
strict |
warn accepts a counter regression and audits it |
Authentication:WebAuthn:ChallengeTtlSeconds |
300 |
Challenge lifetime. Range 30-3600. |
Per-provider federated-login settings live in the administration interface, not in configuration: issuer,
endpoints, client identifier and secret, scope, callback path (default /oidc/callback), auto-provisioning,
whether to trust the provider's e-mail claim, and whether to skip Reeve's own second factor. An administrator
signing in through a provider is sent with prompt=login, and the form warns when a provider's settings would
let an administrator in without a fresh credential. Role sync from an identity provider is authoritative and
destructive: every sync strips the account's roles and re-grants whatever the claim matched, falling back to
the default household role, so a mistyped claim name demotes every federated user, administrators included, on
their next sign-in. Only the built-in administrator keeps its Administrator role, so group membership alone
cannot revoke that role from an identity linked to it; see
authentication for how to revoke it instead.
Failed password sign-ins block the source address, never the account; wrong authenticator codes at sign-in are also counted per account:
| Setting | Default | Effect |
|---|---|---|
Auth:Lockout:Enabled |
true |
false turns the failed-login lock and the per-account authenticator-code count off; the auth rate limit stays |
Auth:Lockout:MaxAttempts |
5 |
Failed sign-ins an address may make in one window, and wrong authenticator codes an account may get; the next is answered 429. Range 1-1000. |
Auth:Lockout:DurationSeconds |
900 |
Length of the fixed window the first counted attempt of an address or account starts. Range 60-86400. |
The address count lives in Redis under {RateLimiting:KeyPrefix}:login-failures:{address}, the per-account
authenticator-code count under {RateLimiting:KeyPrefix}:totp-failures:{userId} (the user id as 32 hex digits,
no hyphens). Deleting a key clears that block before its window ends. The counted address is the one
forwarded headers resolve.
Fixed and not configurable: a mid-login second-factor challenge that expires after five minutes and is destroyed by five wrong attempts; step-up tokens valid for five minutes and one use, bound to a single purpose; ten single-use backup codes per enrolment. Passkey credentials bind to the relying-party identifier at the authenticator, so changing the deployment domain forces everyone to re-enrol; plan the cut-over, because there is no migration.
| Setting | Default | Effect |
|---|---|---|
Authorization:Cache:AccessContextTtl |
00:00:05 |
How long a replica keeps the cached context of what a user may see and control. The entry is keyed by the access state's version, so this only limits how long a superseded version stays in memory. A revocation reaches a replica when it applies the change, which a write waits for before it is acknowledged. 100 ms to 5 min, or the replica refuses to boot |
AdminPermissionRevalidation:Interval |
00:00:05 |
How often an open administrative session (a debug session, a live log stream) re-checks that its user still holds the permission it opened with |
AdminPermissionRevalidation:RecheckGrace |
00:00:15 |
How long a check may keep failing to answer before the session is closed |
AdminPermissionRevalidation:CheckTimeout |
00:00:05 |
Bound on one check |
SignalR:CredentialRevalidation:Interval |
00:01:00 |
How often a realtime hub connection re-validates the session or token it was opened with; a revoked one is disconnected |
HTTP surface
| Setting | Default | Effect |
|---|---|---|
ASPNETCORE_URLS |
http://+:8080 in Compose; the image exposes 8080 |
Listening address of the backend |
Cors:AllowedOrigins__<n> |
empty | Origins allowed to call the API cross-origin. Empty registers no CORS policy, which is right for the shipped single-origin layout, where the frontend proxies /api. A listed origin is also exempt from the refusal of session-authenticated writes and realtime connections that another site sends (see authentication) |
SecurityHeaders:Csp |
default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self' wss: https:; frame-ancestors 'none' |
Content-Security-Policy the backend sends on its own responses. The frontend container sends its own policy for the application (see the frontend container) |
Application:BaseUrl |
unset | The external URL of the installation, used where the backend prints an absolute link: webhook management and the GetCameraMediaUrl automation block |
Managed configuration
An installation can take the settings of some features from its deployment instead of the admin panel. Put the settings
in *.json files in a directory and point Managed:Directory at it. The chart does this with managed.files or
managed.existingConfigMap. The features, their keys and how changes apply are on the
managed configuration page.
| Setting | Default | Effect |
|---|---|---|
Managed:Directory |
unset | A directory of *.json files with Managed:<Feature> sections. They rank above the command-line arguments and below appsettings.override.json. The directory is polled once a second. A directory that is set but missing or unreadable stops the start |
Outbound network control
A shared guard rejects non-HTTP schemes, addresses carrying embedded credentials, and, at connect time after name resolution, anything in loopback, link-local, cloud-metadata, carrier-grade-NAT, private or unique-local ranges. Connect-time checking is what defeats rebinding; checking the address alone is not enough. See network egress.
The hosts, private hosts and addresses an operator lets through are the egress allowlist. It is edited in the
admin panel, or, when the deployment declares Managed:Egress, it comes from that section alone (see
managed configuration). A Host entry keeps its strict meaning: with at least one, every host that matches none is rejected.
Repository syncs and registry pulls (plugin, widget and blueprint repositories, resource indexes and OCI registries)
follow Repositories:AllowedHosts below, not the egress list: narrowing the egress list does not stop them. Adding a
blueprint or widget repository or a resource index is checked against the egress list, so while it holds a Host
entry the repository's host must be on it too.
| Setting | Default | Effect |
|---|---|---|
SsrfGuard:ConnectTimeout |
00:00:10 |
Connect timeout |
SsrfGuard:RequestTimeout |
00:00:15 |
Request timeout |
EgressLog:RetentionDays |
90 |
How long blocked-egress rows are kept |
EgressLog:ChannelCapacity |
10000 |
Refusals buffered for the writer; beyond it a refusal is dropped and counted |
EgressLog:FlushWindow |
00:00:02 |
How often the buffer is written. Above zero, at most 5 minutes |
EgressLog:FlushBatchSize |
100 |
Rows per write |
EgressLog:PerHostPerWindowCap |
50 |
Refusals of one host recorded per window; the rest are counted, not stored |
The operator allowlist is the union of this static configuration and enabled database rows, read per request, so
runtime edits apply with no restart. Every refusal lands in the blocked-egress log with host, port, reason, subsystem and the plugin or
automation it belongs to; egress.view reads it and egress.manage changes it.
The allowlist never widens a plugin's own host grant: a plugin reaches only the hosts it was granted at install,
and a refusal attributed to its host allowlist is fixed by granting the host to that plugin. For plugin egress the
allowlist counts only at connect time: an IpAddress entry opens that exact address, and with
Plugins:Egress:LanOnlyThroughOwnerAddresses on, a PrivateHost entry lets a granted name land on a LAN address
(network egress). The guard covers the vended
HTTP client; a native plugin constructing its own client or a raw socket is ungated whatever its manifest
declares, and containing that is network policy's job.
Repository hosts and registries
| Setting | Default | Effect |
|---|---|---|
Repositories:AllowedHosts__<n> |
github.com, gitlab.com, raw.githubusercontent.com, ghcr.io |
Hosts a plugin, widget or blueprint repository may be added from. The built-in hosts are always kept; entries add to them, so a self-hosted registry or Git server is listed here. An OCI slug's host:port must match an entry whole |
Repositories:PlainHttpRegistries__<n> |
empty | OCI registries reached over plain HTTP, such as a registry on your LAN (192.0.2.10:5000, also listed in Repositories:AllowedHosts), written host:port. The registry credential never crosses plain HTTP. It goes only to an HTTPS token realm, and the registry sees only the short-lived token the realm mints. For a plain-HTTP registry, the realm's host must be the registry's own host or be on Repositories:AllowedHosts. Any other realm gets no credential, a Warning names its host, and the registry's 401 stands |
Repositories:IndexSyncIntervalHours |
6 |
How often repository indexes are synced in the background |
Repositories:CompatibilityEnforcement |
Enforce |
Refuses to install or load a plugin, widget or blueprint declaring a host range this backend is outside, checked at install before any bytes are fetched. Warn installs and loads it anyway, audited, for an operator's own install; an update that then cannot hot-reload reports a required backend upgrade, never a restart. Auto-update never takes such a version in either mode and holds the subscription instead |
TLS trust
| Setting | Default | Effect |
|---|---|---|
Tls:TrustedCaCertificates |
empty | Extra CA certificates the host trusts, after the system roots, for its own outbound TLS, and hands to workloads that declare bootstrap:trustedCaCertificates. One or more PEM certificates, up to 64 KiB after normalisation. A block that does not parse stops the start with an error naming the setting |
A certificate the host refuses, because its issuer is neither a system root nor in this list (or in the provider's
CaBundle), raises a tls.certificate_rejected alert naming the client or secret provider, the host, the issuer
and the reason (policy errors, chain status, the presented certificate's validity); add that issuer here to resolve
it. The next accepted handshake to the same host clears the alert. The alert is not raised for an S3 or MQTT
connection or from inside a workload.
Give the PEM as a multi-line value, or as one line with literal \n line breaks, which is what a Compose or .env
value usually ends up as. The environment form is Tls__TrustedCaCertificates. The chart takes it as tls.trustedCaCertificates (inline) or tls.trustedCaCertificatesFrom.configMap
and .key (a ConfigMap key); Compose reads TLS_TRUSTED_CA_CERTIFICATES. A change needs a host restart (Compose:
docker compose up -d backend, so the new environment is read), then a redeploy of each workload that should see
it; on the Manual provider, render the artifacts again and deploy them.
Network egress lists which clients trust the list and which do not.
Plugins
| Setting | Default | Effect |
|---|---|---|
Plugins:RequireSignature |
false |
On, an unverified install is refused, the partial artifact removed and no instance row created. Off, the install proceeds and the status is recorded and badged. Plugins from the official index are signed with the official publisher key, which the host trusts by default, so they install verified |
Plugins:RequireSignatureWasm |
false |
The same rule for WebAssembly modules. On, with no verified signature, every wasm module is skipped |
Plugins:VerifiedPublicKeys__<n> |
empty | Publisher keys you trust, globally. Read fresh per query, so rotation needs no restart. The badge also counts the built-in official publisher key, so a first-party plugin that verified against it earns the badge with nothing configured; once that key is revoked the plugin is no longer verified and the badge goes. See plugin trust |
Plugins:CacheMaxEntries |
10000 |
Entries each plugin instance's private in-memory cache may hold. An entry past the limit is not stored and the cache compacts in the background; the plugin sees a miss, never an error. Refused at start-up below 1 |
Plugins:SyncIntervalHours |
6 |
Background repository sync, run by the one replica that owns plugin-repository-sync, under a per-repository distributed lock shared with the manual sync. It starts 20 s into the tenure, and a replica in safe mode is not offered it |
Plugins:MaxReleasesPerRepo |
50 |
Releases kept per repository from one sync |
Plugins:MaxAssetSizeBytes |
52428800 |
Artifact size cap, enforced while streaming |
Plugins:PluginsDirectory |
plugins |
The bundled plugin directory inside the image, relative to the application |
Plugins:CustomPluginsDirectory |
unset; /var/lib/reeve/plugins in Compose and the chart |
Persistent install root. Installs go here when it is set, otherwise to the bundled directory; types load from the bundled directory first, then this one. Per-repository directories are made private to the backend user where the file system supports it. A type whose directories sit here with no installation record is refused at boot and its directories deleted; this does not apply when the install root is the image's own directory |
Plugins:GitHubToken |
unset | Token for the GitHub API, lifting the anonymous limit of 60 requests an hour. A GitHub plugin repository's own credential is used in its place for that repository. Any secret source; never logged or stored |
Plugins:OfficialIndexToken |
unset | A GitHub token sent with the requests that fetch the official plugin index and with requests to the plugin repositories and image registries the index lists. The index is public, so the token is only needed to lift GitHub's anonymous rate limit when the index is fetched often. Any secret source; a changed _FILE source applies live |
Plugins:TypeCatchUpTimeout |
00:00:20 |
How long a request for an installed type this replica has not loaded yet waits for it to load before answering a retryable 503. It covers fetching the artifact, and must stay under the ingress read timeout. A config-flow submit may spend it on top of the step's own timeout. A replica that keeps answering 503 for a type needs a restart; a replica in safe mode loads no plugin types |
Plugins:TypeCatchUpRetryDelay, Plugins:TypeCatchUpRetryMaxDelay |
00:00:15, 00:05:00 |
Backoff of a plugin-type or instance generation whose work failed: the wait doubles from the first value up to the second, until a pass finds nothing left to fix |
Plugins:RuntimePublishWindow |
00:00:00.250 |
How long the runtime coalesces instance state changes before publishing them |
Plugins:InstanceSweepInterval |
00:01:00 |
How often each replica re-attempts the start of an enabled instance that is not running here. The sweep requests its starts from each instance's lane and does not wait for them, so a slow start delays neither the sweep nor another instance; each outcome is logged when it ends. It is the floor for a start that failed or was refused, and for an instance a failed restart or reload left stopped; it does not retry a reload that was refused before the instance stopped. 1 s to 1 h |
Plugins:InstallLockWaitSeconds |
120 |
How long an operator install waits for the cluster-wide identity lock before refusing. An unattended auto-update never waits |
Plugins:RetentionLockWaitSeconds |
120 |
How long artifact retention waits for writers; when it cannot get the lock it deletes nothing |
Plugins:AutoUpdateMaxAttempts |
3 |
Rollouts an auto-update stages for one candidate, a rolled-back one included, before parking it for the operator. Values below one read as one |
Plugins:AssemblyWatch:IntervalSeconds |
300 |
Check interval of the assembly watcher, clamped to at least 10. A file is re-hashed only when its length or timestamp moved, with a full re-hash hourly. The watcher records a difference from the digest taken at load as pending, in memory only; it never reloads on its own, and reload is always operator-approved |
Plugins:Diagnostics:CollectTimeoutSeconds |
3 |
Bound on a plugin's own diagnostics contribution; a plugin that runs past it contributes { "_error": "timeout" } |
Plugins:Egress:LanOnlyThroughOwnerAddresses |
false |
Off, a plugin reaches a private LAN address (RFC 1918, fc00::/7) through any host it is granted. On, a LAN address is reached only through a grant of "*", an address the owner typed into an instance's configuration, or a PrivateHost or IpAddress entry of the egress allowlist. A fixed manifest name that resolves to the LAN is refused. Loopback, link-local, cloud metadata, carrier-grade NAT, multicast and unspecified addresses are closed to plugins either way. Not a chart value: set Plugins__Egress__LanOnlyThroughOwnerAddresses through backend.extraEnv. See network egress |
Plugins:Egress:MaxResponseContentBufferBytes |
4194304 (4 MiB) |
The most of a response body the HTTP client given to an in-process plugin buffers. A read the client buffers itself (GetStringAsync, GetByteArrayAsync, GetAsync or SendAsync with the default ResponseContentRead) fails past it. Content read after ResponseHeadersRead or through GetStreamAsync is not limited. 1 to 2147483647, or the backend refuses to start. Not a chart value: set Plugins__Egress__MaxResponseContentBufferBytes through backend.extraEnv |
PluginDiagnostics:IframeAllowlist__<n> |
empty | Plugin instance ids whose views are rendered in an iframe. Per instance, never per type, and never a grant of elevated sandbox flags |
Manual repository sync is limited to ten calls per hour per user; manual discovery scans to five.
A plugin view is resolved from the live plugin under a short budget, after the caller is authorised, and its
payload is never logged; a timeout or failure returns nothing. A diagnostics bundle redacts every field the
plugin's current schema marks sensitive and every name the instance itself recorded as sensitive, plus any key
ending in Key, Token, Secret or Password, recursively, with no administrator bypass. Two gaps are
structural: a value stored by an older schema version whose field is gone passes through unredacted, and a secret
embedded inside a free-text value is not caught.
What the plugin host does on its own
- Artifact retention. Once an update completes on the whole fleet, the stored artifacts of superseded releases are deleted, once per update, because the store is shared. A digest named by any installation record, a kept version or another release stays, because a restarting replica downloads the version its record names.
- Boot re-pull. On a replica whose local plugin storage is empty, every repository-installed artifact that has an installation record is pulled again before the on-disk scan. The step never aborts the start: an unreachable source is retried later. A record that points at a deleted repository is refused for good; a repository added again gets a new id and does not adopt the old record.
- Store reconciliation. One replica stores missing artifacts in the background, not at boot, so readiness does not wait for downloads. An offline source is a normal condition of an old install.
Plugin configuration flows
| Setting | Default | Effect |
|---|---|---|
ConfigFlow:TtlSeconds |
1800 |
Lifetime of an open configuration flow. Flow state lives in Redis; a Redis that is down fails flows quickly instead of holding requests. Range 60-86400. |
ConfigFlow:ExpiryBackstopSeconds |
3600 |
Extra time flow state is kept after its deadline. Range 60-86400. |
ConfigFlow:MaxConcurrentPerUser |
5 |
Open flows per user. Range 1-100. |
ConfigFlow:SubmitTimeoutMs |
30000 |
How long a step's submit may take; a plugin that runs past it is cancelled and the flow fails. Range 1000-300000. |
ConfigFlow:PollingSubmitTimeoutMs |
180000 |
The same for a polling step, such as a commissioning, which is long-running by nature. Range 1000-600000. |
ConfigFlow:EndHookTimeoutMs |
5000 |
Bound on the plugin's end-of-flow hook. Range 100-60000. |
ConfigFlow:ReconciliationIntervalSeconds |
60 |
How often abandoned flows are reconciled. Range 10-3600. |
ConfigFlow:SweepBatchSize |
200 |
Overdue flows the reconciliation sweep ends per pass. Range 1-10000. |
Plugins:OAuth:PublicBaseUrl |
unset | The external URL OAuth-based flows build their redirect address from. Behind a proxy it must be the external URL. Set up an OAuth plugin from the web app opened on this same origin: the callback page announces completion only to its own origin |
Plugins:OAuth:StateTtlSeconds |
900 |
Lifetime of an OAuth hand-off |
Plugins:OAuth:RefreshAheadSeconds |
300 |
How long before expiry a plugin's OAuth token is refreshed |
Plugins:OAuth:MaxTransientRefreshFailures |
3 |
Transient refresh failures tolerated before the connection is marked broken |
Plugins:OAuth:MinSecondsBetweenRefreshAttempts |
60 |
Minimum gap between refresh attempts |
Plugins:OAuth:AllowNonPkcePluginTypes__<n> |
empty | Plugin types allowed to run an OAuth flow without PKCE |
Blueprints and widgets
| Setting | Default | Effect |
|---|---|---|
Blueprints:SyncIntervalHours |
6 |
Background blueprint repository sync |
Blueprints:MaxManifestSizeBytes |
2097152 |
Largest blueprint manifest accepted |
Blueprints:ValidationHourOfDay |
3 |
Hour of the daily re-validation of installed blueprints |
Blueprints:Marketplace:KeepLastVersions |
5 |
Versions kept per marketplace blueprint |
Blueprints:Marketplace:MarketplacePageSize |
30 |
Page size of the marketplace listing |
Blueprints:Marketplace:RecentUpdatesDays |
30 |
Window of the recent-updates view |
Widgets:SyncIntervalHours |
6 |
Background widget repository sync |
Widgets:GalleryPageSize |
30 |
Page size of the widget gallery. Range 1-200. |
Widgets:PreviewSessionTtlMinutes |
15 |
Lifetime of a widget preview session (stored in Redis). Range 1-120. |
Widgets:MaxPreviewSessionsPerUser |
5 |
Open preview sessions per user. Range 1-50. |
Demo content
| Setting | Default | Effect |
|---|---|---|
Bootstrap:DemoMode:Enabled |
false |
Seeds demo content on start: exactly one replica seeds, under a boot lock, retrying with backoff so a slow simulator does not leave the home empty. Demo workflows are owned by the built-in administrator |
VIRTUAL_DEVICES_BASE_URL |
unset | Address of the virtual-devices simulator. Unset, the seeder uses the installed workload's Service name, else reports the simulator unavailable |
VIRTUAL_DEVICES_API_KEY |
unset | Key the seeder sends to the simulator |
First-run onboarding can install the virtual-devices plugin and seed demo content. The seeder runs as the built-in administrator, installs the latest non-yanked release, and runs the provider's workload preflight first, so a workload that cannot come up (a missing StorageClass whose volume would never bind, for example) is refused with a reason instead of being left Pending. Every step can be resumed: demo runs are durable cluster commands that survive the request and a change of owner. A simulator call is bounded, so a network policy that drops traffic fails the step instead of holding it, and a failure returns a reason and never crashes start-up.
Workloads
The settings of the workload gateway, the orchestrator, the plugin roll and observation replication are on the workloads configuration page.
Discovery
| Setting | Default | Effect |
|---|---|---|
Discovery:IntervalSeconds |
300 |
Sweep cadence |
Discovery:CandidateTtlMinutes |
60 |
How long an unclaimed candidate survives |
Discovery:MaxCandidates |
1000 |
Candidates kept at once |
Discovery:InventoryTtlMinutes |
10080 |
How long a hardware-inventory row counts as present. Only a manual scan stamps rows, so a device unplugged right after a scan is still offered for a week |
Discovery:Mdns:ServiceTypes__<n> |
_esphomelib._tcp.local, _hap._tcp.local, _googlecast._tcp.local, _workstation._tcp.local |
mDNS service types browsed for candidates |
Per-node scanning (SSDP, USB, DHCP, Bluetooth advertisements) belongs to the discovery workload and is set through that workload's parameters, not here. Only an allowlisted set of metadata fields is persisted: raw service announcements carry serial numbers, cloud account identifiers and firmware fingerprints, so everything outside it is dropped from the stored record and the audit trail alike. Multicast discovery works only from a process sharing the devices' layer-2 segment: it does not traverse a pod-network overlay, and multicast-typed candidates are refused from a remote forwarder.
Onboarding
Device onboarding sessions are stored in the database and shared by every replica; one replica runs their maintenance sweeps.
| Setting | Default | Effect |
|---|---|---|
Onboarding:Session:PendingIdleTtlMinutes |
1440 |
How long a pending session may sit idle. Long on purpose: a phone may first download a Google Play services module, which can take a day |
Onboarding:Session:AdapterTimeoutMinutes |
5 |
A commissioning with no reported node fails as retryable after this long without activity, so a long but active commission is not reaped |
Onboarding:Session:CommissioningHardDeadlineMinutes |
30 |
Hard ceiling of a commissioning, after which it fails for good |
Onboarding:Session:CorrelationWaitMinutes |
15 |
How long, once a node is commissioned, the service waits to match it to a device before failing the session for good |
Onboarding:Session:TerminalRetentionMinutes |
10080 |
How long finished sessions are kept |
Onboarding:Session:SweepIntervalSeconds |
60 |
Cadence of the maintenance sweeps |
Onboarding:Service:ProviderContextTimeout |
00:00:05 |
Bound on a provider's context call |
Onboarding:Service:ProviderCommissionTimeout |
00:02:00 |
Bound on a provider's commission call, independent of the provider's own cancellation |
Object storage
Plugin artifacts, debug snapshots and other blobs live in object storage. Object storage is a list of named providers:
the built-in db provider and the providers an administrator adds, edits and removes on the Object storage page, which
stores them in the database. The active provider is chosen and switched on the same page, which migrates the data.
A deployment can instead declare the providers as Managed:ObjectStorage. See
object storage providers.
| Limit | Value |
|---|---|
| Largest S3 object | 5 GB (the single PutObject limit) |
| Opening a connection | 15 seconds |
| A request until its response arrives, an upload included | 30 minutes per attempt |
| A download without data | 2 minutes |
- An upload slower than 30 minutes fails. The S3 SDK retries an attempt that timed out, so one call can last several times as long.
- The detached artifact retention and uninstall reclaim stop after 10 minutes.
- A sensitive object is encrypted with AES-GCM, which does not stream, so reading one buffers its whole ciphertext.
- Every backend enforces the size cap while it reads the stream and fails the same way.
An installation whose active provider has no definition does not start. The message names the provider, so declare it before starting.
Alert delivery
New alerts can be sent through notification-sink plugin instances (mail, chat or similar). This is a household setting stored in the database, not a configuration key, and it is shared by every replica.
- Install and configure a notification plugin; its instance must be running.
- Sign in with
home.manageand open System status, then Alerts. The Delivery box shows "Off" until a sink is selected. Open it, choose the lowest severity (Warning, Error or Critical; Error by default), tick the sinks and save. Each save writes analerts.delivery_changedaudit entry. - Only alerts raised after the save are sent. Standing alerts are not sent when delivery is turned on or the threshold is lowered.
One replica sends, the owner of the alert-delivery kind, so a selected sink must run on it; a sink that does not run
there is retried and then fails. Delivery rows are kept seven days after they complete. See
troubleshooting when notifications do not arrive, and alerts for the
alert catalogue.
History and retention
| Setting | Default | Effect |
|---|---|---|
Analytics:RawRetentionDays |
90 |
Mirrors the database retention policy on raw telemetry |
Analytics:HourlyRetentionDays |
1825 |
Mirrors retention on the hourly aggregate |
Analytics:RoutingThresholdDays |
7 |
Windows at or below this read raw rows; wider ones read the device_telemetry_hourly continuous aggregate |
DeviceIngest:BatchWindow |
00:00:00.020 |
Zero to 500 ms. How long a device state batch stays open for more updates after its first one; the most latency batching adds to a state push. Zero writes only what is already queued. A batch already full (50 updates) when the window would start is written at once; one that fills during the window still waits it out |
DeviceIngest:SinkQueueByteBudget |
16 MiB | Bytes queued for the state sink, and separately for its realtime push queue. Per-item overhead plus the smallest payload must fit it |
DeviceIngest:ProcessQueueByteBudget |
256 MiB | Bytes queued in the whole process by the state and feed queues |
DeviceIngest:RealtimeProcessQueueByteBudget |
64 MiB | Bytes queued in the whole process by realtime pushes, separate from the state budget so a slow backplane can only evict pushes |
DeviceIngest:QueueItemOverheadBytes |
1024 |
Bytes counted for each queued item on top of its payload |
TelemetryIngest:SourceTimeWindow |
00:02:00 |
Above zero, at most a day. A reading is stored under the device's own timestamp only when that lies this close to the moment it was received, in either direction, and is no further than this behind the series' latest stored reading. Otherwise it is stored under the receive time. The same window bounds how current device state is ordered and how far ahead of receipt a device time can keep state fresh. A wider window keeps more readings at their true time but lets a skewed bridge clock move rows into another billing period |
TelemetryIngest:CopyDedupWindow |
00:00:03 |
Above zero, at most a minute. Applies at every replica count. How long an untimed reading claim is kept, so another replica hearing the same message does not store it again. A repeat in the holder's own stream stays eligible to store |
TelemetryIngest:CopyClaimCommitWindow |
00:00:30 |
Above the dedup window, at most an hour. How long a claim is held while its batch commits; after the commit it expires at CopyDedupWindow from the reading time. A process killed mid-batch holds its claim this long |
Audit:RetentionDays |
365 |
1-3650. Enforced by a daily bulk delete, starting at boot |
Alerts:Retention |
30.00:00:00 |
How long an alert whose condition has ended is kept after it was last seen; between 1.00:00:00 and 3650.00:00:00, and a value outside that range stops start-up. An alert whose condition is still active is never purged, and silences and snoozes outlive the alert row |
DeviceModel:EventRetention |
30.00:00:00 |
Retention for model events and finished jobs; between 1.00:00:00 and 3650.00:00:00 |
DeviceModel:RedescribeCallTimeout |
00:02:00 |
Longest one plugin redescribe call may take |
DeviceModel:LeaseDuration |
00:02:00 |
Lease of a claimed model job. Must be at least RedescribeCallTimeout, or start-up refuses the configuration |
DeviceModel:LeaseRenewalInterval |
00:00:30 |
Lease renewal cadence; shorter than the lease |
DeviceModel:ErrorBackoff |
00:00:05 |
Delay before retrying a failed worker or retention iteration; the worker doubles it on each consecutive failure up to 30 s and keeps retrying |
Workflow:Retention:MaxVersionsPerWorkflow |
50 |
1-10000. Superseded versions kept per workflow, newest first |
Workflow:Retention:RetentionDays |
365 |
1-36500. How long an older superseded version stays restorable |
Workflow:ExecutionHistory:RetentionDays |
90 |
1-3650. How long a finished automation run stays readable |
Workflow:ExecutionHistory:SweepIntervalHours |
6 |
1-168. Hours between sweeps; the first one runs at boot |
Workflow:ExecutionHistory:DeleteBatchSize |
1000 |
50-50000. Rows per delete statement |
Workflow:ExecutionHistory:MaxDeletesPerSweep |
50000 |
50-5000000. Per-table ceiling for one sweep, so a first run over years of backlog does not monopolise the database; the rest waits for the next pass |
Workflow:ExecutionHistory:MaxSweepSeconds |
60 |
1-3600. Seconds one sweep spends per table; a sweep that stops with rows still expired comes back after a pause rather than after the interval |
Debug:SnapshotRetentionDays |
7 |
1-365. How long a workflow debug session and its snapshots survive |
Debug:OrphanedSessionTimeoutSeconds |
300 |
A paused debug session nobody drives for this long is abandoned and its run is ended |
EgressLog:RetentionDays |
90 |
See outbound network control |
The analytics retention settings are descriptive only. Nothing at runtime reads them; the database job enforces retention. Change the policy in the database and the setting, or the configuration file misleads the next operator. Several history tables ship with no retention policy at all (integration events, user locations, webhook invocations) and grow until you add one.
Workflow version history
Workflow:Retention governs the superseded versions behind a workflow's version history, swept daily. The current
version, the draft, and any version a run still points at are never candidates; deleting the last would cascade that
run's own history away with it. Either rule alone is enough to delete: past the count goes even if it is young, past
the age goes even if it is among the newest kept.
Neither setting is validated at start-up, so a value outside the range does not stop the host: the sweep clamps it to
the nearest bound. A 0 reaching the count would otherwise make every superseded version a candidate, and a 0 or
negative day count would put the cutoff at or beyond now and delete versions that have not aged at all.
Workflow debug sessions
Debug:SnapshotRetentionDays governs how long a debug session's row and its snapshot blobs survive, swept hourly.
Status is not part of the rule: a session abandoned mid-debug never reaches a terminal one, and a status-filtered
sweep would keep it, its snapshots and its blobs forever. Reeve validates this one at start-up, so a value outside the
range stops the host. The workflow library's sweep clamps it as well, for hosts that configure the library directly.
Automation run history
Workflow:ExecutionHistory covers everything one run leaves behind: the execution log, its log entries, its
execution_node_log node steps, its wait-block suspensions, and the terminal workflow_executions_state row.
Deleting the log cascades to the rest, so one retention setting governs all five tables.
Only finished runs are eligible. A run still executing, and a state row still Pending, Running, Sleeping or Suspended, is live engine state, not history, so age alone never makes it a candidate; a run suspended on a wait block survives however long it waits. The sweep is gated on a cluster mutex, so exactly one replica performs it per tick. Debug sessions are swept on their own, tighter clock: their snapshots carry full variable state into object storage and cost far more per run than a log row.
Automations
| Setting | Default | Effect |
|---|---|---|
Workflow:Engine:ReplicaId |
none, required unless REPLICA_ID is set |
The replica id, also stamped on execution rows. REPLICA_ID wins when both are set. On Kubernetes, set it from the pod name, which must be 100 characters or fewer; a longer one stops the replica starting. Unset, with no REPLICA_ID, the host refuses to start |
Workflow:Engine:ResumeIntervalSeconds |
30 |
How often every replica's recovery sweep scans for runs a dead replica left behind. The claim is a compare-and-swap, so a row two sweeps see is taken by one. 1-3600 |
Workflow:Engine:RefusedReplayGiveUpAfterSeconds |
3600 |
Age, counted from the run's start, past which recovery stops retrying a replay that admission refuses (for example because a peer holds a Single workflow's place). A younger refused run returns to the next scan, about every five minutes. An older one ends Failed with not_admitted. A run already older than this when its replica dies gets exactly one admission attempt. In safe mode a replay is never given up. 60-86400 |
Workflow:Engine:ResumeMaxBatch |
50 |
Rows claimed per sweep. 1-1000 |
Workflow:Engine:CancellationPollSeconds |
5 |
How often a sleeping WaitForDuration wakes to notice it was cancelled and renew its row. 1-3600 |
Workflow:Engine:FireDedupWindowSeconds |
5 |
How long one physical event's fire stays claimed across replicas, long enough for every replica's copy of the event to arrive. A longer window lets a peer's repeat go unrun for longer when the claiming replica missed it, and swallows an identical repeat of a plugin trigger's fire. 1-300 |
Workflow:Engine:AuditTransitions |
false |
Audits every state transition. Debugging only: high-throughput automations produce enormous volume |
Workflow:Engine:ContainerTimeoutSeconds |
unset | A deadline on every loop, if/else and try/catch that names none of its own. Unset means none: the engine cannot size a container's body, and a guessed deadline cuts a branch between opening a valve and closing it, and repeats the branch whole wherever that container's retry is on. 1-86400 when set |
Workflow:Engine:DurableSleepParkWhenAtLeastSeconds |
30 |
A WaitForDuration at least this long parks its run as a suspension row instead of holding it in memory. Empty disables it, 0 is rejected. Only a root-canvas sleep on a Single or Restart automation parks, and only when the run has no recorded debug log, no execution timeout, no multi-attempt retry policy and a payload under the suspension cap. Keep it the same on every replica. To disable it safely, set it to 86400, wait until no parked sleep is left, then set it empty. 1-86400 when set |
Workflow:Engine:RetryOnlyIdempotentBlocks |
true |
A node that says nothing about retry is retried only when its block declares it may be repeated. false retries every such node on a timeout, an HttpRequestException or a cancellation the run did not cause, notifications, containers and HTTP requests included, and HttpRequest raises that exception for any non-success status. A node's own On or Off wins either way. The editor's Default: the block decides is worded for true |
Workflow:TraceMode |
Errors |
How much of a run the engine traces: Errors or Full |
Workflow:MaxPayloadValueBytes |
1024 |
Size bound the engine applies to a payload value it records. Above 0 |
Workflow:WaitPollIntervalSeconds |
5 |
How often the workflow library's waker looks at every parked row: a WaitTemplate is evaluated and a passed deadline is noticed on this cadence, one cadence for every parked template; a block's PollIntervalSecondsOverride is not read. 5-3600 |
Workflow:JournalReconcileIntervalSeconds |
900 |
1-86400. How often the owning replica closes journal entries left open over a run that has ended |
Workflow:JournalReconcileGraceMinutes |
15 |
1-1440. How long the pass waits before it closes an entry, applied to the entry's age and to the end of its run |
Workflow:JournalReconcileMaxBatch |
200 |
1-5000. Most entries one pass closes; the rest wait for the next pass |
Automations:TriggerRuns:MaxConcurrent |
32 |
Trigger-started runs executing at once on one replica, across all automations. Eligible WaitForDuration sleeps of at least the parking threshold release their slot; shorter or ineligible sleeps keep it until wake. With every slot taken, every other automation waits. Runs are mostly I/O, so a generous value costs little. 1-256 |
Automations:TriggerRuns:AdmissionOrderWaitSeconds |
30 |
How long a fire's run waits for the earlier fire of the same automation to be admitted, so that two fires reach the engine in the order they were queued. Past the window, or if the run queue is full, the run is admitted out of order, counted in reeve_trigger_runs_unordered_total and named in a throttled warning. The window is per fire. 1-300 |
Automations:TriggerRuns:QueueCapacity |
1000 |
Fires waiting on one replica, per lane: fires whose waiters are still being notified, and runs waiting for a slot. When a lane is full the newest fire is dropped, logged and counted in reeve_trigger_runs_dropped_total with its reason. 1-1000000 |
Automations:Freshness:StaleTtlSeconds |
120 |
A state change older than this may not fire automations |
Automations:Freshness:SensorLabelTtlSeconds |
1800 |
When a sensor that reports on a cadence reads stale in the interface and its source health decays |
Automations:Freshness:PresenceLabelTtlSeconds |
900 |
The same for a presence reporter. Every other device type has no silence window and is judged by its driver's availability |
Automations:Freshness:SilentAfterSeconds |
86400 |
After this, a sensor's or presence reporter's last value is not shown as current |
CameraMotion:PtzQuietSeconds |
10 |
How long after the last pan-tilt-zoom signal a camera's new motion is masked, whatever source reports it. 0 turns the window off. 0-120. Chart: cameraMotion.ptzQuietSeconds; Compose: CAMERAMOTION__PTZQUIETSECONDS |
Helpers:MaxHelpers |
500 |
Per-installation cap; beyond it creation answers helper_limit_reached |
Helpers:WorkerMaxParallel |
4 |
Helper evaluations running at once |
Helpers:TimeTickIntervalSeconds |
60 |
How often the owning replica re-evaluates helpers that read ${now.*}; 0 or less disables the tick |
Cron triggers run at the home's local wall-clock time, resolved again each cycle, so a changed time zone applies
without a restart; a missing or unknown time-zone id falls back to UTC with a warning. The sun trigger needs the home's
coordinates: while the home has no location (latitude and longitude are null) the trigger waits, never computed
for the wrong place, and it plans again as soon as the home settings change; System status shows home.location_missing
meanwhile.
workflows.scripting compiles and runs arbitrary code in-process with full host privileges and is granted to
administrators alone. Treat it as equivalent to deploy access on the host. In-process sandboxing is not possible;
the privilege level is the control. The automation model is in
automation and the blocks in
automation and workflows.
Observability settings
What each signal means and how to collect it is in observability. The settings:
| Setting | Default | Effect |
|---|---|---|
OpenTelemetry:TracesEndpoint |
empty | OTLP endpoint for traces. Empty turns trace export off |
OpenTelemetry:MetricsEndpoint |
empty | OTLP endpoint for metrics. Empty turns OTLP metric export off |
OpenTelemetry:EnableRedisInstrumentation |
false |
Adds a span per Redis command |
OpenTelemetry:MetricCardinalityLimit |
64 per stream (identity streams 200) |
Most attribute combinations kept per metric stream |
Metrics:PrometheusEnabled |
false |
Serves /metrics for scraping |
Metrics:BearerToken |
empty | Token a scraper must send to /metrics. Any secret source |
ErrorReporting:Environment |
production |
Environment name sent with error reports |
ErrorReporting:Backend:Enabled, ErrorReporting:Backend:Dsn |
false, empty |
Backend error reporting to a Sentry-compatible service |
ErrorReporting:Frontend:Enabled, ErrorReporting:Frontend:Dsn, ErrorReporting:Frontend:Tunnel |
false, empty, empty |
Browser error reporting, with an optional same-origin tunnel. A malformed ErrorReporting section refuses start-up |
Observability:KnownSecrets:MinimumLength |
8 |
Shortest secret value the log scrubber redacts |
Observability:KnownSecrets:RotationRetention |
1.00:00:00 |
How long a rotated secret value is still redacted |
Observability:KnownSecrets:MaximumValues |
20000 |
Most values the scrubber holds |
Observability:KnownSecrets:MaximumMemoryBytes |
32 MiB | Memory the scrubber may use |
Observability:KnownSecrets:MaximumObservedValueBytes |
16 KiB | Longest value it tracks |
Diagnostics:LogBuffer:MaxLines, Diagnostics:LogBuffer:MaxBytes |
5000, 5 MiB |
In-memory log buffer behind the live log view. It is attached only outside Production, and its endpoint answers 403 in Production |
Serilog:* |
console sink | Standard Serilog configuration; Serilog:AuditTo adds sinks for the audit stream |
Browser error reporting loads its SDK only when these settings switch it on, sends the page URL and the stack but not who the user is or what requests carried, and disables session pings. Maps use OpenStreetMap tiles and the Nominatim geocoder for address search: an air-gapped installation shows blank tiles and an unavailable search, never a crash. The application supports plain-HTTP LAN installations, where the browser clipboard is unavailable, so copy actions report whether they worked.
Feature flags
| Setting | Default | Effect |
|---|---|---|
Features:MatterBridge |
false |
Shows the Matter bridge entry in the application. Client feature flags describe what is deployed, not permissions |
BabyMonitor:Enabled |
false |
See baby monitor |
Baby monitor
| Setting | Default | Effect |
|---|---|---|
BabyMonitor:Enabled |
false |
Turns the baby monitor on. Off, every /api/baby-monitor route answers 409 baby-monitor-disabled, the web and phone entries are hidden and profiles are kept for when it is turned on again |
BabyMonitor:SessionTtlSeconds |
90 |
3-600. How long a phone's session lives without a heartbeat before it lapses |
BabyMonitor:HeartbeatIntervalSeconds |
30 |
1-300. The cadence a starting phone is told to heartbeat at |
BabyMonitor:EvaluatorTickMilliseconds |
1000 |
200-2000. How often the owning replica evaluates every profile |
BabyMonitor:ProfileRefreshSeconds |
5 |
1-300. How often the evaluator reloads profiles from the database; a profile edit takes effect within this |
BabyMonitor:HealthFailingSeconds |
60 |
2-600. How long a camera must fail before the profile lists a fault in State.Health; clearing takes half of it. Lowering it trades false alarms for speed |
BabyMonitor:PictureProbeIntervalSeconds |
30 |
5-300. How often the owning replica checks each watched camera's picture; a picture run is broken by a silence of 2.5 times this |
BabyMonitor:PictureProbeWarmupSeconds |
180 |
0-86400. How long after the probe starts, or after a camera's plugin is re-enabled, a plugin that is not running is not counted as a fault |
BabyMonitor:CameraIndexRefreshSeconds |
10 |
1-300. How long a replica's camera-to-profile index serves sound detections before reloading; a new profile, camera or sound class starts receiving sounds within this |
BabyMonitor:TestAlertCooldownSeconds |
30 |
1-3600. Minimum gap between test alarms from one session |
BabyMonitor:MaxSessionsPerProfile |
16 |
1-64. A start beyond it answers 409 |
As environment variables these are BabyMonitor__SessionTtlSeconds and so on. All are read once at start-up; restart
to apply a change. The heartbeat interval must be less than half the session lifetime, or the replica refuses to
start, so a session survives at least one missed heartbeat. The feature is described in
baby monitor.
The baby monitor has no on/off control in the application; the operator turns it on. Set the same value on every replica. On Helm:
backend:
extraEnv:
- name: BabyMonitor__Enabled
value: "true"
On Compose, put the variable in an override file of your own that is not tracked in the repository, and pass it last
with -f, so a git pull never conflicts with it:
services:
backend:
environment:
BabyMonitor__Enabled: "true"
With the multi-replica overlay, set it on every backend service (backend, backend2, backend3), because each
carries its own environment. Changing it restarts the backend: phones with a running session see the restart as a
short link loss, and after turning it off they are told once that the operator turned it off and stop.
MQTT broker
Reeve ships no MQTT broker and the host needs none, so it has no broker settings. An MQTT integration connects to the broker named in its plugin instance's configuration, which the operator runs; any MQTT 3.1.1 or 5 broker works (MQTT integrations). A connection that names no broker is refused. Replica identity on a broker comes from the replica id (coordination).
The Matter bridge
The Matter bridge is a separate container that exposes Reeve's devices to Apple Home, Google Home, Amazon Alexa and Home Assistant as one Matter bridge node. Its backend settings, its own environment and its Helm values are in Matter bridge; how it works is in the Matter bridge reference.
Cameras and media
Camera media
Cameras:Media bounds the media the backend proxies. A non-positive viewer budget or snapshot deadline falls back to
its default.
| Setting | Default | Effect |
|---|---|---|
MaxViewersPerCamera |
3 |
Concurrent live viewers per camera. A distributed slot limiter on PostgreSQL: slots expire 30 seconds after the last renewal, and a live viewer renews every 10 seconds. The limiter admits rather than refuses when the database is unavailable |
MaxEventMediaPerCamera |
4 |
Concurrent event media (clips) per camera. A budget of its own, never the viewer one: a clip is exempt from the API concurrency limiter, so this budget is what bounds it. Same limiter and same behaviour when the database is down |
SnapshotTimeoutSeconds |
5 |
End-to-end snapshot deadline. A snapshot takes no viewer slot |
EventClipTimeoutSeconds |
60 |
Deadline of an event clip, body included |
StreamHeadTimeoutSeconds |
15 |
How long a camera socket waits for a usable stream header, so a workload that answers headers and then goes quiet cannot hold a viewer slot |
ParameterSetGraceSeconds |
6 |
How long a socket waits for the parameter sets before the first keyframe. Should exceed one keyframe interval; a stream that never sends them is served as its container describes it |
A live stream carries no overall client timeout, which would abort the body mid-flight; the proxy's connect timeout is 5 seconds. Camera routes are session-cookie-only and answer 403 to any bearer, so a personal access token cannot fetch a camera. Every frame is proxied by the backend; the workload is never exposed to the browser, the LAN or the internet.
Live view over WebRTC
On by default, and there is nothing to configure. Both peers are on a home network, ICE finds a direct pair, and a viewer that cannot is served by the media plane, which answers with its own addresses.
The ladder is a peer connection, then fMP4, then a still. The peer is the camera itself on a LAN, or the media plane for a camera the plane carries. There is no TURN relay to operate: the plane does the multiplexing. The signalling path is in camera WebRTC signalling.
The shared media plane
Off unless deployed. Cameras:MediaPlane tells the backend where the optional shared media server (MediaMTX) is;
the server itself is deployed by the chart or the Compose profile. Every setting, with its default, is in
Media plane; how the plane works is in
the media plane reference.
The Compose stack
The Compose stack lives in deploy/. docker-compose.yml is the base; overlays are added with further -f flags.
How to bring it up is in deployment.
The .env file
Copy deploy/.env.example to deploy/.env. The base file reads these variables; a variable it substitutes with a
default may be left out.
| Variable | Default | Sets | Effect |
|---|---|---|---|
POSTGRES_DB, POSTGRES_USER |
reeve, reeve (in .env.example) |
the database container and ConnectionStrings__PrimaryDatabase |
Database name and owner. Required: the base file has no default |
POSTGRES_PORT |
5432 |
the database publish | Port Postgres is published on, on loopback only |
REDIS_PORT |
6379 |
the Redis publish | Port Redis is published on, on loopback only |
BACKEND_PORT |
8080 |
the backend publish and the bridge's default URLs | Port the backend is published on, on loopback only; the multi-replica overlay publishes its peers on BACKEND2_PORT and BACKEND3_PORT (8081, 8082) |
TLS_TRUSTED_CA_CERTIFICATES |
empty | Tls__TrustedCaCertificates |
One-line PEM with each line break written \n; see TLS trust |
AUTHENTICATION__OIDC__CALLBACKBASEURL |
http://localhost:5173 |
the same setting | External application URL for federated login |
AUTHENTICATION__OIDC__ALLOWINSECUREMETADATA, AUTHENTICATION__OIDC__ALLOWPRIVATEMETADATA |
false |
the same settings | Insecure metadata (http) is for development only; private metadata lets the back-channel reach an identity provider on the LAN or loopback |
AUTHENTICATION__WEBAUTHN__RPID |
localhost |
Authentication__WebAuthn__RpId |
The host name users open, for example reeve.example.com; passkeys fail their check on any other name |
AUTHENTICATION__WEBAUTHN__ORIGIN |
http://localhost:5173 |
Authentication__WebAuthn__AllowedOrigins__0 |
The address users open, for example https://reeve.example.com |
AUTHENTICATION__WEBAUTHN__LOOPBACKORIGIN |
http://127.0.0.1:5173 |
Authentication__WebAuthn__AllowedOrigins__1 |
A second web origin; set it empty to allow only the one above |
AUTHENTICATION__WEBAUTHN__ANDROIDOWNBUILDORIGIN, AUTHENTICATION__WEBAUTHN__ANDROIDDEBUGORIGIN |
empty | Authentication__WebAuthn__AllowedOrigins__2, __3 |
The android:apk-key-hash: origins of your own and your debug build of the app; print them with mobile/tools/apk-key-hash.sh |
TRUST_SUBNETS |
empty (the backend's default list) | ForwardedHeaders__TrustedNetworks |
Narrow it to the frontend's network; see forwarded headers |
FORWARDEDHEADERS__FORWARDLIMIT |
1 |
ForwardedHeaders__ForwardLimit |
2 behind your TLS proxy; the multi-replica overlay defaults it to 2, 3 behind a proxy |
FORWARDEDHEADERS__FORWARDEDFORHEADERNAME |
X-Forwarded-For |
ForwardedHeaders__ForwardedForHeaderName |
A CDN's own client header |
COORDINATION_CLUSTERED |
false |
Coordination__Clustered |
Set true and restart the existing backend before starting the multi-replica overlay. The Docker workload provider runs on a single backend only: first move workloads off Docker and set the provider to Automatic |
REPLICA_ID |
reeve-backend |
REPLICA_ID |
Stable identity of the base backend. The multi-replica overlay gives each service its own |
BOOTSTRAP__DEMOMODE__ENABLED |
false |
Bootstrap__DemoMode__Enabled |
Seeds demo content; deploy/demo.env.example turns it on |
MATTER_BRIDGE_WORKLOAD_TOKEN |
empty | MatterBridge__WorkloadToken and the bridge's REEVE_WORKLOAD_TOKEN |
The bridge's token. Set it together with FEATURES_MATTER_BRIDGE and the matter-bridge profile |
FEATURES_MATTER_BRIDGE |
false |
Features__MatterBridge |
Shows the bridge in the application |
CAMERAS_MEDIA_PLANE_ENABLED |
false |
Cameras__MediaPlane__Enabled |
Turn on with the media-plane profile |
CAMERAS_MEDIA_PLANE_PASSWORD |
empty | Cameras__MediaPlane__Password and the plane's reeve account |
The plane credential; mind MediaMTX's character set (the shared media plane) |
CAMERAS_MEDIA_PLANE_INGEST_SECRET |
empty | Cameras__MediaPlane__IngestSecret |
Enables ingest of cameras the plane cannot dial |
CAMERAS_MEDIA_PLANE_READ_TIMEOUT_SECONDS |
14 |
the plane's three timeouts and Cameras__MediaPlane__PlaneReadTimeout |
Whole seconds, at most about 16 |
CAMERAS_MEDIA_PLANE_VIEWER_STUN_URL_0, _1 |
empty | Cameras__MediaPlane__ViewerStunUrls__0, __1 |
STUN servers for viewers outside the LAN; enable the same block in mediamtx/mediamtx.yml |
VIRTUAL_DEVICES_BASE_URL |
empty | the same variable | Simulator address for demo content |
OTEL_TRACES_ENDPOINT, OTEL_METRICS_ENDPOINT |
empty | OpenTelemetry__TracesEndpoint, OpenTelemetry__MetricsEndpoint |
OTLP export |
METRICS_PROMETHEUS_ENABLED |
false |
Metrics__PrometheusEnabled |
Serves /metrics |
ERROR_REPORTING_ENVIRONMENT |
production |
ErrorReporting__Environment |
|
ERROR_REPORTING_BACKEND_ENABLED, ERROR_REPORTING_BACKEND_DSN |
false, empty |
ErrorReporting__Backend__* |
Each side needs its project's DSN when switched on |
ERROR_REPORTING_FRONTEND_ENABLED, ERROR_REPORTING_FRONTEND_DSN, ERROR_REPORTING_FRONTEND_TUNNEL |
false, empty, empty |
ErrorReporting__Frontend__* |
|
ANALYTICS__RAWRETENTIONDAYS, ANALYTICS__HOURLYRETENTIONDAYS, ANALYTICS__ROUTINGTHRESHOLDDAYS |
90, 1825, 7 |
Analytics__* |
See history and retention |
CAMERAMOTION__PTZQUIETSECONDS |
10 |
CameraMotion__PtzQuietSeconds |
|
DATABASE__POOL__MAXSIZE |
20 |
Database__Pool__MaxSize |
Raise with Postgres max_connections |
DOCKER_GID |
none; required by docker-compose.docker-workloads.yml |
the backend's supplementary group | The group owning /var/run/docker.sock on the host (stat -c '%g' /var/run/docker.sock). Read only by the Docker workloads overlay |
COMPOSE_FILE |
unset | Compose itself | docker-compose.yml:docker-compose.docker-workloads.yml keeps the Docker workloads overlay in every later docker compose command run in deploy/ |
VITE_API_BASE_URL |
empty | frontend build argument | Must stay empty: the application calls the API on its own origin |
ASSETLINKS_OVERRIDE_FILE |
the repository's frontend/public/.well-known/assetlinks.json |
the frontend's /.well-known/assetlinks.json |
Your own Digital Asset Links file for Android passkeys. The file must exist |
FRONTEND_BIND, FRONTEND_PORT |
127.0.0.1, 5173 |
the frontend publish | The one port to publish. Publish the frontend, never the backend: plugin pages embedded in the application need one origin |
MATTER_BRIDGE_NETWORK_MODE |
host |
the bridge's network mode | mDNS is link-local, so commissioning needs the host network |
MATTER_BRIDGE_GATEWAY_URL |
ws://127.0.0.1:<BACKEND_PORT>/ws/workloads/<bridge instance id> |
the bridge's REEVE_GATEWAY_URL |
Under host networking the bridge reaches the backend's loopback publish |
MATTER_BRIDGE_BACKEND_URL |
http://127.0.0.1:<BACKEND_PORT> |
the bridge's REEVE_BACKEND_URL |
Service names do not resolve under host networking |
MATTER_BRIDGE_SPEC_HASH |
matter-bridge |
the bridge's REEVE_SPEC_HASH |
|
MATTER_BRIDGE_MEDIA_PORT |
5541 |
the bridge's media port | |
MATTER_BRIDGE_HEALTH_PORT |
8090 |
the bridge's health port | Kept off 8080 and 8081, which the backend's publishes take on the host network |
SECRET_PROVIDER_ID, SECRET_PROVIDER_ADDRESS, SECRET_PROVIDER_KV_MOUNT, SECRET_PROVIDER_ALLOWED_PREFIX |
none | SecretProviders__0__* in the secret-provider overlay |
Replace the example address and references before starting Reeve |
SECRET_PROVIDER_DB_PATH, SECRET_PROVIDER_DB_KEY |
none | the OpenBao Agent template | Where the agent variant reads the database password |
REEVE_DATABASE_PASSWORD_REF, REEVE_JWT_SIGNING_KEY_REF, REEVE_OIDC_STATE_KEY_REF, REEVE_BOOTSTRAP_PASSWORD_REF |
none | the matching _REF settings |
References used by the secret-provider overlay |
deploy/.env.test.example configures the integration-test stack (docker-compose.test.yml): database reeve_test
on port 5433, Redis on 6380 and the test broker fixture on 1884. deploy/demo.env.example adds
BOOTSTRAP__DEMOMODE__ENABLED=true and carries no public demo passwords.
The compose files
| File | Use |
|---|---|
docker-compose.yml |
The base stack: TimescaleDB, Redis, the backend and the frontend, plus the matter-bridge and media-plane profiles |
docker-compose.docker-workloads.yml |
Opt-in. Gives the backend the Docker socket, the socket's group (DOCKER_GID) and the reeve-workloads network, so the Docker workload provider can run sidecars. Root on the host; single backend only. See the Docker socket |
docker-compose.matter-bridge-secrets.yml |
Reads the bridge token from secrets/matter-bridge-workload-token instead of .env, for both MatterBridge__WorkloadToken_FILE and the bridge's REEVE_WORKLOAD_TOKEN_FILE |
docker-compose.matter-dac-key-secrets.yml |
Supplies the bridge's production attestation key as MATTER_DAC_KEY_FILE |
docker-compose.media-plane-secrets.yml |
Reads the plane password and ingest secret from files (Cameras__MediaPlane__Password_FILE, IngestSecret_FILE). MediaMTX itself takes no _FILE form, so the plane's own copy stays an environment value |
docker-compose.multi.yml |
Three backend replicas behind a balancer; see running multiple replicas |
docker-compose.multi.profile-secrets.yml |
The bridge token and media-plane secret files for backend2 and backend3 of the multi-replica overlay |
docker-compose.secret-providers.yml |
Declares one Vault or OpenBao provider and moves the start-up secrets to references. AppRole by default; the token method is Auth__Method=token with Auth__Token__File |
docker-compose.secret-providers-agent.yml |
An OpenBao Agent (openbao/openbao:2.7.3) that renders the database password into a tmpfs file the backend reads with _FILE, with AppRole credentials and CA setup (secrets-providers/agent.hcl, postgres-password.ctmpl) |
docker-compose.multi.secret-providers.yml, docker-compose.multi.secret-providers-agent.yml |
The same two for every replica of the multi-replica overlay |
docker-compose.test.yml |
Backing services for the integration tests |
docker-compose.e2e.yml, docker-compose.roll.yml |
End-to-end and rolling-update test harnesses. They show working examples of a plain-HTTP registry (host:port in both Repositories:AllowedHosts and Repositories:PlainHttpRegistries); docker-compose.roll.yml also shows a PrivateHost entry under Managed:Egress |
The multi-replica overlay sets Coordination__Clustered=true, Workloads__PluginRoll__FleetSize
(WORKLOADS_PLUGINROLL_FLEETSIZE, default 3) and observation replication on, and unwinds two forwarded hops. No
replica has the Docker socket; do not add the Docker workloads overlay to it. Its backend2 and backend3 use their
own replica ids, plugin volumes and ports (8081, 8082) and the Manual workload provider, and read observations in
Polling mode. The overlay's
WORKLOADS_OBSERVATION_POLL_MS, WORKLOADS_OBSERVATION_FOLLOWER_POLL_MS (100 ms) and checkpoint interval (5 s) are
test values; the product defaults are 250 ms and 60 s.
Secret files
scripts/bootstrap-secrets.sh creates the first four files below in a directory only its owner can enter and never
replaces an existing file. You create the Matter bridge and media-plane files yourself.
| File | Used as |
|---|---|
secrets/postgres-password |
The database password, for Postgres and Database__Password_FILE |
secrets/jwt-signing-key |
Authentication__Jwt__SigningKey_FILE |
secrets/bootstrap-admin-password |
BootstrapAdmin__InitialPassword_FILE |
secrets/oidc-state-signing-key |
Authentication__Oidc__StateSigningKey_FILE |
secrets/matter-bridge-workload-token |
With the bridge secrets overlays |
secrets/cameras-media-plane-password, secrets/cameras-media-plane-ingest-secret |
With the media-plane secrets overlays |
Moving these values to a secret store is in secrets.
The services
| Service | Configuration |
|---|---|
timescaledb |
timescale/timescaledb:2.32.1-pg18. PGDATA=/var/lib/postgresql/data/pgdata, because PostgreSQL 18 refuses the volume root as its data directory. max_connections=100 (raise it together with both pools) and shared_buffers=128MB. Memory limit 512 MiB, stop grace 1 minute |
redis |
redis:8.12.0-alpine. RDB snapshots (save 900 1, save 300 10) and an append-only file synced every second; maxmemory 256mb with noeviction, which the backend requires |
backend |
Built from the repository root (the build uses central package management). ASPNETCORE_URLS=http://+:8080, Redis__ConnectionString=redis:6379,abortConnect=false, the variables above, Plugins__CustomPluginsDirectory=/var/lib/reeve/plugins on the reeve-plugins volume, published on 127.0.0.1:${BACKEND_PORT} (8080), memory limit 1 GiB. stop_grace_period: 214s, which is Hosting__ShutdownTimeoutSeconds (204) plus 10 s. WebAuthn uses RpName=Reeve, and RpId=localhost with the origins http://localhost:5173 and http://127.0.0.1:5173 unless .env sets the AUTHENTICATION__WEBAUTHN__* variables above; set them for any other host name |
frontend |
Built from frontend/; nginx serves the application and proxies /api and /hubs to the backend (camera sockets live under /api). Health check /healthz, memory limit 64 MiB |
matter-bridge (profile matter-bridge) |
Built from services/matter-bridge/Dockerfile, like the backend. Host networking, no sysctls (runc refuses them under host networking with exit 125; enable IPv6 on the host instead), memory limit 512 MiB. Fabric state lives on the matter-bridge-fabric volume: losing it means commissioning every ecosystem again |
media-plane (profile media-plane) |
bluenviron/mediamtx:1.21.4, pinned because the backend's behaviour is verified against it. mediamtx/mediamtx.yml mounted read-only, the reeve account from MTX_AUTHINTERNALUSERS_0_*, the three timeouts from CAMERAS_MEDIA_PLANE_READ_TIMEOUT_SECONDS, port 8189 over UDP and TCP, user 1000:1000, read-only root, all capabilities dropped. It has no health check |
media-remux (profile media-plane) |
alexxit/go2rtc:1.9.15 in the plane's network namespace (network_mode: service:media-plane). Its seed file is copied into a tmpfs /config owned by uid 1000 |
Volumes: postgres-data, redis-data, matter-bridge-fabric and
reeve-plugins. The Docker workload provider puts every workload on the reeve-workloads bridge network, which the
Docker workloads overlay declares.
The Docker socket is root on the host. The base backend has no socket and no docker group, and Automatic then
resolves to the Manual provider. docker-compose.docker-workloads.yml mounts /var/run/docker.sock and joins the
socket's group (DOCKER_GID) so the Docker workload provider can run sidecars; anything that controls the backend
process can then start a privileged container. Add it only when you run workloads on Docker; see
the Docker socket.
Configuration files
The media plane's mediamtx/mediamtx.yml and mediamtx/go2rtc.yaml are in
Media plane.
balancer/nginx.conf
The balancer of the multi-replica overlay. It round-robins with no session affinity, resolves replicas through
Docker's DNS (resolver 127.0.0.11 valid=5s) and never marks a replica down (max_fails=0). A request that fails to
connect or answers 503 is retried on the next replica (proxy_next_upstream error http_503, three tries), for
idempotent methods only: POST and PATCH are never retried, and neither is a timeout. It appends its hop to
X-Forwarded-For and puts the address of the replica that answered in X-Reeve-Upstream. Read timeouts are 120 s for /api/ and
/, and 3600 s for /hubs/ and the camera sockets.
The frontend container
The frontend image is nginx:1.31.10-alpine-slim (1.27.3 or newer is needed for upstream resolve). At start the nginx
entrypoint renders /etc/nginx/templates/default.conf.template into /var/cache/nginx/default.conf, which is
writable in every deployment shape, and substitutes only two variables:
| Variable | Default | Effect |
|---|---|---|
REEVE_BACKEND_UPSTREAM |
backend:8080 |
Where /api and /hubs are proxied. On Kubernetes use the fully qualified Service name: the resolver applies no search domains |
NGINX_LOCAL_RESOLVERS |
filled in by the entrypoint (NGINX_ENTRYPOINT_LOCAL_RESOLVERS=1) |
The container's own resolvers, re-read every 5 s (resolver_timeout 5s), so a backend that changes address is followed |
conf.d includes only the rendered file, so a default.conf you mount replaces it and is never written, and a
default.conf.template you mount replaces the template. Your own template must keep the name
default.conf.template: one under another name is rendered but never included, and Reeve's stays in effect. To keep the backend's address re-resolved, start from
Reeve's template and keep its resolver line and its upstream block with resolve. A backend name known only
from /etc/hosts is not resolved by the resolver; give it as an address. The rendered configuration:
- Serves
/healthzfor the health check; the image exposes port 80. - Sends
X-Frame-Options: DENY,X-Content-Type-Options: nosniff, aReferrer-Policy,Permissions-Policy: geolocation=(self), microphone=(), camera=()and the application's Content-Security-Policy on what it serves itself. The policy allows connections to the page's own origin and to anyhttps:orwss:origin. Proxied/api/and/hubs/responses keep the backend's own headers, so a widget runtime page keeps the frame and script policy that lets it render in its iframe. - Caches
/assets/as immutable, sends no cache headers on proxied paths, andno-cacheon everything else. A missing hashed asset answers 404 rather than the application. - Proxies
/api/with gzip off (against BREACH), a 120 s read and 60 s send timeout;/hubs/and the camera socket locations with the WebSocket upgrade and 3600 s timeouts (without the upgrade headers a socket answers 400). The upstream is never marked down (max_fails=0). - Serves
/manifest.webmanifestasapplication/manifest+json, and/.well-known/assetlinks.jsonas exactlyapplication/json, with 404 when the file is missing rather than the application's fallback page. - Falls back to
index.htmlfor every other path.
The build reads VITE_API_BASE_URL, which must stay empty for the same-origin layout. The source maps are written only
to /app/sourcemaps, which the sourcemaps build target exports for upload to an error-reporting service, and nginx
never serves them.
The backend image
The backend image runs dotnet Reeve.Api.dll as the unprivileged app user and exposes port 8080. /app/plugins is
owned by that user, so installing into the bundled directory does not fail with Permission denied. The build takes
VERSION, FILE_VERSION and REEVE_ROLL_FROM arguments and compiles ReadyToRun for the target platform. Mount persistent storage at
Plugins:CustomPluginsDirectory (/var/lib/reeve/plugins in Compose and the chart). Every value of the Helm chart is
in Helm chart values.
Helm chart values
The chart lives in deploy/helm/reeve. Every key of its values.yaml is listed below with its default and
its effect. Most values reach the backend as environment variables in ASP.NET's Section__Key form (named in
the Effect column), so the application settings earlier on this page apply to them as well.
backend.extraEnv renders after every variable the chart sets and therefore wins over it, except for the
names the chart refuses there (see Render-time validation).
Brace notation such as secrets.jwtSigningKey.{value,file} names several sibling keys at once; [] marks a
list item.
Release, images and pod defaults
| Key | Default | Effect |
|---|---|---|
replicaCount |
1 |
Number of backend replicas. Also the frontend default, the cluster switch (clustered above one) and the plugin-roll fleet size unless those are set. There is no autoscaler; scale by changing this value. |
nameOverride |
"" |
Replaces the chart name in resource names. |
fullnameOverride |
"" |
Replaces the full resource-name prefix. The backend Service is <fullname>-backend, and the chart passes that name to the backend so adapter pods find it under any release name. |
image.backend.repository |
ghcr.io/reeve-iot/reeve-backend |
Backend image. Point it at your own registry to run a mirror. |
image.backend.tag |
"" |
Backend image tag. Empty runs the release the chart belongs to (appVersion); leave it empty so a chart upgrade upgrades the image. |
image.backend.digest |
"" |
sha256:<64 hex>. When set, the pod image (and the migration Job's) is repository@digest, and the digest wins over the tag. A malformed digest fails the render. |
image.backend.pullPolicy |
IfNotPresent |
Backend image pull policy. |
image.frontend.{repository,tag,digest,pullPolicy} |
ghcr.io/reeve-iot/reeve-frontend, "", "", IfNotPresent |
The same four settings for the frontend image. |
imagePullSecrets |
[] |
Pull secrets for the chart's pods. |
serviceAccount.create |
true |
Creates the backend ServiceAccount. Must stay true, or serviceAccount.name must name an existing account, when workloads.kubernetes.enabled is on. |
serviceAccount.annotations |
{} |
Annotations on the created ServiceAccount (for example a cloud workload-identity binding). |
serviceAccount.name |
"" |
Name of the ServiceAccount to use. Empty derives <fullname>. |
rbac.create |
false |
With serviceAccount.create, renders a Role and RoleBinding granting the backend account get/list on ConfigMaps. The workloads RBAC is separate (workloads.kubernetes.*). |
podAnnotations |
{} |
Annotations on backend pods. |
podSecurityContext.runAsNonRoot |
true |
Pod Security Standards restricted defaults for backend pods. |
podSecurityContext.runAsUser |
65532 |
UID of the backend process. |
podSecurityContext.fsGroup |
65532 |
Group that owns mounted volumes, so the plugin volume stays writable. |
securityContext.runAsNonRoot |
true |
Container-level non-root guard. |
securityContext.runAsUser |
65532 |
Container UID. |
securityContext.allowPrivilegeEscalation |
false |
Forbids privilege escalation. |
securityContext.readOnlyRootFilesystem |
true |
Read-only root. The chart mounts emptyDir volumes at the writable paths: /tmp on the backend (also the WASM plugin compile cache, XDG_CACHE_HOME=/tmp/.cache, overridable through backend.extraEnv); /tmp, /var/cache/nginx (which also holds the server config the frontend image renders at start) and /var/run on the frontend. |
securityContext.seccompProfile.type |
RuntimeDefault |
Seccomp profile. |
securityContext.capabilities.drop |
[ALL] |
Drops every Linux capability. |
nodeSelector |
{} |
Node selector for backend and frontend pods. |
tolerations |
[] |
Tolerations for backend pods. |
affinity |
{} |
Affinity for backend pods only. Frontend placement is frontend.affinity. |
clusterDomain |
cluster.local |
The cluster DNS domain. The frontend's nginx re-resolves the backend Service every 5 seconds by its fully qualified name, <fullname>-backend.<namespace>.svc.<clusterDomain>, because its resolver applies no search domains. |
frontend.replicaCount |
null |
null follows replicaCount; a number scales the stateless frontend on its own. |
frontend.affinity |
null |
null spreads frontend pods across nodes (preferred hostname anti-affinity); {} disables that; any other value replaces it. |
Resources
| Key | Default | Effect |
|---|---|---|
resources.backend.limits.{cpu,memory} |
1000m, 1Gi |
Backend limits. Plugins load in-process, and an install or update adds its artefact on top of what is already resident, so leave headroom above steady-state use. |
resources.backend.requests.{cpu,memory} |
250m, 512Mi |
Backend requests. |
resources.frontend.limits.{cpu,memory} |
500m, 256Mi |
Frontend limits. |
resources.frontend.requests.{cpu,memory} |
100m, 128Mi |
Frontend requests. |
resources.adapters.limits.{cpu,memory} |
500m, 256Mi |
Shared default for chart-rendered adapter pods. The Matter bridge has its own (adapters.matterBridge.resources). |
resources.adapters.requests.{cpu,memory} |
50m, 64Mi |
Shared adapter requests. |
Secrets and secret sources
Each chart-managed secret takes exactly one source; two set at once fail the render.
| Source key | Meaning |
|---|---|
value |
Inline value. The chart renders a Secret from it. The JWT key and the bootstrap password are rejected when they are a known placeholder (see Render-time validation). |
existingSecret |
An existing Kubernetes Secret, either as a name (with existingSecretKey naming the key) or as {name: ..., key: ...}. |
existingSecretKey |
Key inside a Secret named by the string form of existingSecret. |
externalSecret |
{storeRef: {name, kind}, remoteRef: {key, property}}. The chart renders an External Secrets Operator ExternalSecret. |
file |
A path already mounted into the backend through backend.extraVolumes and backend.extraVolumeMounts (for example a CSI secret volume, read-only). The backend waits for the file at start and reloads it when it changes. |
ref |
A secret-provider reference, <provider id>:<path>#<field>, resolved by the backend before it starts listening (see secretProviders). |
The chart never puts a secret value into a container environment variable: Secret-backed sources are mounted
read-only and passed to the backend as <Setting>_FILE.
| Key | Default | Effect |
|---|---|---|
secrets.jwtSigningKey.{value,existingSecret,existingSecretKey,externalSecret,file,ref} |
empty, key jwt-signing-key |
Signing key for tokens the host issues. Required; at least 32 characters. Generate with openssl rand -base64 64. |
secrets.bootstrapAdminPassword.{value,existingSecret,existingSecretKey,externalSecret,file,ref} |
empty, key bootstrap-admin-password |
Password of the bootstrap administrator created on first start. Required. |
secrets.oidcStateSigningKey.{value,existingSecret,existingSecretKey,externalSecret,file,ref} |
empty, key oidc-state-signing-key |
HMAC key for the OAuth/OIDC state parameter. Required even with OIDC off, because the local sign-in flow also mints state tokens. At least 32 bytes and identical on every replica. |
database.password.{value,existingSecret,existingSecretKey,externalSecret,file,ref} |
empty, key password |
Database password when it is not taken from the CloudNativePG secret. With useCnpgSecret: false, postgresql.external.existingSecret is a second source if combined with it. |
dataProtection.kek.{existingSecret,existingSecretKey,file,ref} |
empty, key kek |
Key-encryption key that wraps the data-protection key ring. Only an operator Secret, a mounted file or a provider reference is accepted. |
dataProtection.kek.{value,externalSecret} |
empty | Refused: the pre-upgrade migration Job starts before any ExternalSecret has synchronised, and an inline key would live in the values. |
dataProtection.kekPrevious.{value,existingSecret,existingSecretKey,externalSecret,file,ref} |
empty, key kek |
The previous key-encryption key during a rotation, with the same rules as dataProtection.kek. To rotate a provider-backed key, write a new provider version and restart with the same unpinned reference; keep old versions until no key-ring row refers to them. |
externalSecrets.refreshInterval |
1h |
Refresh interval of the ExternalSecret resources that externalSecret sources render. |
secretProviders |
[] |
Secret stores the backend resolves ref sources from, rendered as SecretProviders__<i>__*. Each entry: id (lowercase letters, digits, hyphens; unique), type: vault (Vault or OpenBao), parameters.address, parameters.kvMount, optional parameters.namespace, parameters.allowedPrefixes (list), parameters.caBundle (configMap or secret, plus key), and parameters.auth.method = kubernetes (role, audience, optional mountPath default kubernetes, expirationSeconds at least 600), approle (roleId and secretId, each existingSecret: {name, key}) or token (token.existingSecret: {name, key}). Authentication material is mounted as files under /run/reeve-secret-providers/<i>/. See Secrets. |
Auxiliary credentials use a *Source object that takes one of value, existingSecret, externalSecret or
file. A provider ref is refused for them, because another consumer (the bridge, MediaMTX, the
Prometheus scraper) must read the same value and does not resolve provider references: redis.external.passwordSource,
redis.builtin.passwordSource (which also refuses file),
adapters.matterBridge.workloadTokenSource, adapters.matterBridge.dacKeySource,
cameras.mediaPlane.auth.passwordSource, cameras.mediaPlane.ingest.secretSource and metrics.bearerTokenSource.
The optional GitHub token for the official plugin index (Plugins:OfficialIndexToken) has no chart value; set it through
backend.extraEnv as Plugins__OfficialIndexToken_REF (for example home:plugins/index#token) or
Plugins__OfficialIndexToken_FILE.
Startup secret references are resolved before the backend listens. Transient provider outages are retried for
backend.secretReferenceTimeoutSeconds; past it the process exits and the pod restarts into CrashLoopBackOff
until the provider returns. An invalid reference, an access denial or a TLS validation failure stops the
process at once with a message naming the setting, the provider and the failure kind.
Database (postgresql, database, databaseMigration)
No PostgreSQL is bundled; the chart expects an external server, by default a CloudNativePG cluster.
| Key | Default | Effect |
|---|---|---|
postgresql.waitImage |
busybox:1.38.0 |
Image of the wait-for-postgres init container that holds the backend and the migration Job until the database accepts TCP connections. |
postgresql.external.host |
reeve-db-rw |
Host. The default is the read-write Service of a CloudNativePG cluster named reeve-db in the release namespace. |
postgresql.external.{port,username,database} |
5432, reeve, reeve |
Connection details, ignored while useCnpgSecret is on. port is also the port the NetworkPolicy egress rule opens, in both modes, so with useCnpgSecret it must equal the port in the CNPG secret. |
postgresql.external.existingSecret |
reeve-db-app |
Secret with the connection details or the password (the CNPG *-app secret by default). |
postgresql.external.existingSecretPasswordKey |
password |
Key of the password in that Secret. |
postgresql.external.useCnpgSecret |
true |
Reads host, port, database name, user and password from the CNPG *-app secret and assembles the connection string in the pod, so the configuration survives an operator-driven password rotation. Set false to use the individual fields above. |
postgresql.external.readReplica.enabled |
false |
Adds ConnectionStrings__ReplicaDatabase: replica-safe reads (analytics, history, listings) go to the replica, while writes and strong-consistency reads (sign-in, tokens, two-factor, permissions) stay on the primary. Needs the CNPG cluster at spec.instances >= 2, or -ro is the primary. The postgresql-replica health check (tagged degraded) confirms a true standby with pg_is_in_recovery() and never takes a pod out. |
postgresql.external.readReplica.host |
reeve-db-ro |
Replica host. Only the host differs: port, database, user and password are the primary's. |
database.pool.maxSize |
20 |
Primary connection-pool size per replica (Database__Pool__MaxSize). |
database.objectStoragePool.maxSize |
8 |
A separate pool for object-storage calls, which hold their connection for a whole transfer (Database__ObjectStoragePool__MaxSize). It counts against the server's connection limit together with database.pool.maxSize. |
databaseMigration.enabled |
true |
Runs migrations in a pre-install/pre-upgrade hook Job (--migrate-only) before any pod is replaced. The Job reads only the database and bootstrap passwords and the key-encryption keys; the JWT and OIDC keys are never mounted into it. It gets the replica id reeve-migrate. |
databaseMigration.serviceAccountName |
"" |
ServiceAccount of the migration Job. Empty uses a hook account <fullname>-db-migrate. Kubernetes-auth secret-provider roles must bind it as well as the backend account; set the backend's name here to share one binding. |
databaseMigration.createServiceAccount |
true |
Creates <fullname>-db-migrate when serviceAccountName is empty. Set false only when you pre-create that account. |
databaseMigration.backoffLimit |
3 |
Retries of the migration Job. |
databaseMigration.restartPolicy |
Never |
Restart policy of the migration Job's pod. |
databaseMigration.runMigrationsOnStartup |
false |
Database__Startup__RunMigrationsOnStartup: each backend migrates on start. With the Job off, set this to true. A backend migrating on start can wait up to two minutes for the migration lock, so raise the startup probe for it. |
For Vault Kubernetes auth, bind the role to system:serviceaccount:<namespace>:<fullname> and
system:serviceaccount:<namespace>:<fullname>-db-migrate; for OpenBao JWT auth use type: jwt,
user_claim: sub, both subjects in bound_claims.sub and bound_audiences matching the configured audience.
Helm removes the hook's generated Secrets after a successful run; a failed upgrade can leave them until the next
upgrade's before-hook-creation cleanup, and Argo CD keeps them until the next sync. After a failed or
uninstalled release, delete a leftover <fullname>-db-migrate ServiceAccount, *-db-migrate-database and
*-db-migrate-bootstrap Secrets and *-db-migrate-*-source ExternalSecrets once no migration Job uses them.
Redis (redis)
A Redis endpoint is required at every replica count (cache, sessions, rate-limit counters, SignalR backplane):
the backend does not boot without one. Enable exactly one of builtin and external; neither or both fails the
render. An external Redis must be 8.4 or newer.
| Key | Default | Effect |
|---|---|---|
redis.builtin.enabled |
false |
Renders a single-replica Redis StatefulSet (AOF and RDB persistence) behind a redis Service. It requires no password unless redis.builtin.passwordSource is set. |
redis.builtin.image |
redis:8.12.0-alpine |
Built-in Redis image. |
redis.builtin.maxmemory |
256mb |
Redis maxmemory. k/m/g are powers of 1000, kb/mb/gb powers of 1024, case-insensitive; a bare number is bytes. A value Redis would reject, or one above 1 TiB, fails the render. Also passed to observation replication as its maxmemory. |
redis.builtin.resources.requests.{cpu,memory} |
100m, 256Mi |
Built-in Redis requests. |
redis.builtin.resources.limits.{cpu,memory} |
500m, 512Mi |
Built-in Redis limits. |
redis.builtin.persistence.{size,storageClassName} |
2Gi, "" |
Built-in Redis volume. |
redis.builtin.passwordSource |
null |
Password of the built-in Redis (value, existingSecret or externalSecret; file and ref refused, because the Redis pod reads the same Secret). Unset, the server accepts unauthenticated connections. Set, the server requires it (requirepass, read from the mounted Secret at start), its probes authenticate, and the backend and wait-for-redis read it as they read an external password. |
redis.external.enabled |
false |
Uses an external Redis. |
redis.external.{host,port} |
"", 6379 |
External Redis address. |
redis.external.passwordSource |
null |
Password source (value, existingSecret, externalSecret or file; ref refused). Only the backend reads it, as Redis__Password_FILE. |
redis.external.password |
"" |
Alias: an inline password. Do not combine with existingSecret or passwordSource. |
redis.external.existingSecret |
"" |
Alias: a Secret whose password key enables authentication. Do not combine with password. |
redis.external.existingSecretPasswordKey |
password |
Key in that Secret. Requires existingSecret. |
redis.waitImage |
redis:8.12.0-alpine |
Image of the wait-for-redis init container (it needs redis-cli). |
The wait-for-redis init container repeats PING until it gets PONG, authenticating with the backend's own
password file through REDISCLI_AUTH; a wrong password keeps the pod in its init phase with WRONGPASS in that
container's log instead of failing boots. It runs only when the pod is created. For container restarts, and for a
Redis that restarts during an upgrade, the backend itself retries PING for Redis:StartupWaitSeconds (90 s by
default), which the chart's abortConnect=false on the connection string makes possible. The chart has no Redis
TLS setting.
The built-in Redis holds the session store, and plugin workloads run in the release namespace by default. To keep
them away from it, set redis.builtin.passwordSource and networkPolicy.enabled; both are off by default. With
networkPolicy.enabled and the built-in Redis, the chart renders a <fullname>-redis policy that admits ingress only
from the backend pods, on 6379. Host-network pods are not governed by a pod selector, and most CNIs admit traffic
from a node to its own pods, so a host-network workload on the Redis node can still connect; the password is what
covers it. Anything else that connects to the built-in Redis (an exporter, a debugging pod) needs a NetworkPolicy of
your own selecting app.kubernetes.io/component: redis.
Turning the password on or off over a running release restarts Redis while older backend pods still use the previous
setting, so expect a short outage until the backend has rolled. The server reads the password once, when it starts,
and its probes authenticate with that same copy, so a Secret that changes under a running Redis changes nothing
until Redis restarts. A changed value rolls the Redis pod and the backend in the same upgrade. To rotate an
existingSecret or externalSecret password:
- Change the Secret (or the remote value, and wait for the ExternalSecret to refresh it).
kubectl rollout restart statefulset/redis. Backend pods running from then on getWRONGPASSuntil they restart.- Restart the backend (
kubectl rollout restart deployment/<fullname>-backend, or the StatefulSet with per-replica plugin volumes). New pods hold inwait-for-redisuntil Redis answers with the new password.
Between steps 1 and 2, a restart of only Redis or only a backend pod leaves the two on different passwords; keep the window short.
MQTT
The chart deploys no MQTT broker and has no mqtt values.
MQTT integrations connect to the broker named in their plugin instance's configuration. With networkPolicy.enabled
the backend reaches a broker on TCP 1883 and 8883 inside networkPolicy.egressExternalServicesCidr.
Service, ingress and client addresses
| Key | Default | Effect |
|---|---|---|
service.backend.type |
ClusterIP |
Backend Service type. |
service.backend.port |
80 |
Backend Service port. Adapter pods derive their gateway URL without a port, so with any other value set the Gateway URL under Integrations, Workloads by hand. |
service.frontend.{type,port} |
ClusterIP, 80 |
Frontend Service. |
ingress.enabled |
false |
Renders two Ingress objects (below). |
ingress.className |
"nginx" |
Ingress class. |
ingress.annotations |
{} |
Annotations on both Ingress objects; a key set here wins. A proxy-read-timeout below cluster.proxyReadTimeoutSeconds fails the render, and so does a rewrite or redirect annotation (it breaks /api/* and makes /.well-known/assetlinks.json answer as SPA HTML). No session-affinity annotation is needed: every client opens its hub socket without negotiating, so any pod can answer any request. |
ingress.hosts[].host |
reeve.local |
Public host name. Also the default WebAuthn relying-party id when it is a public domain. |
ingress.hosts[].paths[].path |
/, /api, /hubs, /ws/workloads |
Paths starting with /api, /hubs (SignalR hubs) or /ws/workloads (the raw-WebSocket workload gateway, wss://<host>/ws/workloads/<instanceId>) go to the backend Service; everything else goes to the frontend. Without /hubs, the hubs go through the frontend and lose the one-hour timeouts of the second Ingress. |
ingress.hosts[].paths[].pathType |
Prefix |
Path type of each path. |
ingress.tls |
[] |
TLS blocks (secretName, hosts). Android passkeys need a publicly trusted certificate here. |
forwardedHeaders.enabled |
true |
ForwardedHeaders__Enabled. Behind the ingress every request's peer is the ingress controller; unless its X-Forwarded-For is trusted, rate limits and the failed-login lock count every client as that one address, and one attacker's wrong passwords block sign-in for everyone. |
forwardedHeaders.trustedNetworks |
[] |
ForwardedHeaders__TrustedNetworks: CIDRs or addresses allowed to name the client. Empty keeps the backend default, loopback plus 10/8, 172.16/12, 192.168/16 and fc00::/7. Narrow it to the ingress controller's pod CIDR when anything else on a trusted network can reach the backend (a LoadBalancer or NodePort backend Service, other tenants' pods). |
forwardedHeaders.forwardLimit |
1 |
ForwardedHeaders__ForwardLimit: the backend counts the entry this many hops from the right, stopping at an untrusted hop. Add one per HTTP proxy in front of the ingress and trust each. |
forwardedHeaders.forwardedForHeader |
X-Forwarded-For |
Header the client address is read from. A CDN's single-value header (CF-Connecting-IP) takes forwardLimit: 1, and then the origin must accept only the CDN's ranges or any direct caller forges it. X-Original-For is refused. |
cors.allowedOrigins |
[] |
Cors__AllowedOrigins__<i>: extra origins allowed to call the API cross-origin. |
managed.directory |
"" |
Managed__Directory. Empty uses /etc/reeve/managed when managed.files or managed.existingConfigMap is set, and sets nothing otherwise. |
managed.files |
{} |
A map of file name to content, rendered into a ConfigMap mounted at the managed directory on every backend pod. The migration Job does not mount it. Each name must end in .json; a value is a JSON string or a YAML object rendered as JSON. An alternative to managed.existingConfigMap. |
managed.existingConfigMap |
"" |
A ConfigMap of your own whose *.json keys are mounted at the managed directory. Set it or managed.files, not both. |
ssrfGuard.connectTimeout |
"" |
SsrfGuard__ConnectTimeout, a .NET TimeSpan (hh:mm:ss). Empty uses the compiled 10 s. |
ssrfGuard.requestTimeout |
"" |
SsrfGuard__RequestTimeout. Empty uses the compiled 15 s. |
The first Ingress carries / and /api with proxy-next-upstream: error http_503,
proxy-next-upstream-tries: "3" and proxy-read-timeout from cluster.proxyReadTimeoutSeconds (the controller
default would also retry on a timeout, which the cluster library forbids; ingress-nginx never retries POST or
PATCH). The second, <fullname>-long, carries /hubs and /ws/workloads with the same retry settings and a
3600 s read and send timeout; the workload gateway pings about every 25 s.
To check which client address is counted, read the blocked address in the auth.login.blocked audit entry or
the backend's "Password sign-ins from {address} are blocked" log line. If it is a proxy or a node, a hop is
uncounted, untrusted or hiding the client. A TCP proxy or load balancer in front of the ingress hides the client
unless it speaks PROXY protocol to the controller, and so does a cloud load balancer with
externalTrafficPolicy: Cluster. See network egress.
Probes, start-up and shutdown
| Key | Default | Effect |
|---|---|---|
livenessProbe.{enabled,initialDelaySeconds,periodSeconds,timeoutSeconds,failureThreshold,path} |
true, 30, 10, 5, 3, /health/live |
Liveness probe of the backend. |
readinessProbe.{enabled,initialDelaySeconds,periodSeconds,timeoutSeconds,failureThreshold,path} |
true, 15, 5, 3, 3, /health/ready |
Readiness: the primary database and the cluster library's serving state. A replica that is loading, fenced or in safe mode is out of rotation; Redis and the read replica never take a pod out. Alert on /health/details, not on readiness. |
startupProbe.{enabled,initialDelaySeconds,periodSeconds,timeoutSeconds,failureThreshold,path} |
true, 10, 10, 5, 41, /health/ready |
Holds liveness and readiness off until the first boot finishes (migrations, plugin load and Redis). 10 s plus 41 x 10 s, about 420 s, holds the Postgres wait (90 s plus a connect timeout) and the host's 300 s start timeout (Hosting__StartupTimeoutSeconds, set through backend.extraEnv). Raising one without the other leaves the lower in force. Must stay enabled while startup secret references are configured. |
backend.secretReferenceTimeoutSeconds |
240 |
REEVE_SECRET_REF_TIMEOUT_SECONDS: how long transient secret-provider failures are retried at start. With the Postgres wait it must leave 60 s inside the startup-probe budget when any _REF variable is configured. |
backend.postgresStartupWaitSeconds |
90 |
Database__StartupWaitSeconds (0-600) on the backend and the migration Job: how long start-up retries an unreachable Postgres. A start that runs out of it exits 75 and is not counted toward safe mode. Plus 20 s it must fit inside the startup probe. |
backend.extraEnv |
[] |
Extra environment for the backend and the migration Job (standard EnvVar shape), rendered last so it wins. It cannot set SecretProviders__* (while secretProviders is non-empty), REEVE_SECRET_REF_TIMEOUT_SECONDS or Database__StartupWaitSeconds. Camera live view over WebRTC needs nothing here on a home network. |
backend.extraVolumes |
[] |
Extra volumes for the backend pod: CSI, agent or node-projected files referenced by *.file sources. |
backend.extraVolumeMounts |
[] |
Their mounts. Each must be read-only and must be in the same container that receives the *_FILE variable. |
backend.shutdown.timeoutSeconds |
199 |
Hosting__ShutdownTimeoutSeconds (5-600): one budget for the whole stop, spent by hosted services one after another (trigger-run drain, plugin shutdown, the blocked-egress writer, durable-sleep saves). Size it against the plugins and triggers you run. |
backend.shutdown.gracePeriodSeconds |
214 |
The pod's terminationGracePeriodSeconds (15-3600, the chart's bound), after which the kubelet kills what is left. Some stops (a trigger plugin's dispose) do not observe the shutdown token, which is what the room between the two is for. |
backend.shutdown.preStopSleepSeconds |
5 |
A native preStop sleep (0-60, the chart's bound; 0 renders none) before the backend gets SIGTERM. The native sleep action needs Kubernetes 1.30, the chart's minimum. The endpoint removal and the signal start together and the gateway learns of the removal later, so without it new requests reach a pod that has stopped accepting. The kubelet counts it inside the grace period. |
Both shutdown values are set instead of the platform's 30 s on each side, where a save beginning at the host's
deadline would land on the kill. The render requires the grace period less the preStop sleep to exceed the timeout
by at least 10 s, and both to cover the cluster library's drain, which starts after the member-request drain (5/16
of the timeout, rounded up): cluster.stopBudgetSeconds + cluster.proxyReadTimeoutSeconds + 2 x cluster.renewTimeoutSeconds (131 s with the defaults) plus that share (63 s), 194 s in all. The chart's timeout is
5 s below the compiled default of 204 s, the room the sleep takes, so the 214 s kill deadline the web
application's retry window is sized for stays. A pod that finishes stopping exits at once, so a
long grace period costs a rollout nothing. A Hosting__ShutdownTimeoutSeconds in backend.extraEnv is not
checked against the grace period.
Cluster, scaling and upgrades
The chart sets REPLICA_ID from each pod name at every replica count; every live replica needs a unique id,
so backend.extraEnv must not assign one. Cluster timings are seconds in the values and reach the backend as
Cluster__* TimeSpans (hh:mm:ss); each is a whole number from 1 to 3600. They are sized for a Raspberry Pi 4
and serve faster nodes unchanged; read running multiple replicas before changing
one.
| Key | Default | Effect |
|---|---|---|
coordination.clustered |
null |
Coordination__Clustered. null derives it from replicaCount (clustered above one); true or false overrides. |
cluster.fullStopUpgrade |
false |
false rolls a clustered backend replica by replica: the Deployment renders RollingUpdate with maxSurge: 0 and maxUnavailable: 1 (a single replica always renders Recreate), the StatefulSet RollingUpdate. true is the full stop, for a full-stop release or a jump from below the new build's window: the Deployment renders Recreate, the StatefulSet OnDelete. See upgrading and the full stop. |
cluster.rollingUpdate.partition |
0 |
The StatefulSet's updateStrategy.rollingUpdate.partition, read only while fullStopUpgrade is off: pods with an ordinal at or above it take the new template. 0 rolls every pod. |
cluster.leaseTtlSeconds |
30 |
Cluster__LeaseTtl: lifetime of an ownership lease. |
cluster.safetyMarginSeconds |
3 |
Cluster__SafetyMargin. |
cluster.stopBudgetSeconds |
5 |
Cluster__StopBudget. |
cluster.renewTimeoutSeconds |
3 |
Cluster__RenewTimeout. |
cluster.renewIntervalSeconds |
3 |
Cluster__RenewInterval. |
cluster.reconcileTimeoutSeconds |
15 |
Cluster__ReconcileTimeout. |
cluster.proxyReadTimeoutSeconds |
120 |
Cluster__ProxyReadTimeout: the shortest read timeout of any proxy in front of a replica. The /api Ingress proxy-read-timeout follows it. At most 120, the read timeout of the frontend nginx and the Compose balancer. |
cluster.actionTimeBudgetSeconds |
55 |
Cluster__ActionTimeBudget. |
cluster.checkSynchronousReplication |
true |
Cluster__CheckSynchronousReplication: with a standby whose settings do not make a commit wait for it, the library warns in its log and in the replication status section that an acknowledged write may be lost on failover. Never affects readiness and needs no extra database role. false silences it. |
podDisruptionBudget.enabled |
null |
null renders the budget above one replica; true or false overrides. It limits evictions only: scaling to 0 and deleting pods, which the full stop does, ignore it. |
podDisruptionBudget.minAvailable |
1 |
Minimum available backend pods during evictions. |
Under OnDelete a new chart or image changes no pod, and neither does kubectl rollout restart; a pod takes the
new template when it is re-created. Both flips of fullStopUpgrade apply with no patch under a client-side
apply (Helm 3) and a server-side apply (Argo CD with ServerSideApply=true, Helm 4): the rolling StatefulSet
renders the rollingUpdate fields the API server can default (partition and maxUnavailable: 1), so the
chart owns them and the apply to OnDelete removes them. An API server that drops maxUnavailable needs Argo
CD's server-side diff, and the first server-side apply over a client-side one cannot turn the full stop on;
see the full stop.
Plugins and workloads (persistence, workloads)
| Key | Default | Effect |
|---|---|---|
persistence.plugins.enabled |
false |
Storage for installed (marketplace) plugins only; built-in plugins ship in the image at /app/plugins. Each replica owns its plugin root, so with true set mode. |
persistence.plugins.mode |
"" |
perReplica: a StatefulSet gives each replica its own ReadWriteOnce PVC and installed plugins survive a restart (more than one replica needs coordination.clustered). ephemeral: each replica gets an emptyDir and the backend restores the installed plugin set on boot from the cluster's copy in object storage, and from each plugin's source for anything that copy cannot supply; a source that is unreachable at start never blocks the boot, the plugin returns on the next install broadcast or restart. |
persistence.plugins.{size,storageClassName} |
1Gi, "" |
Size and class of each per-replica PVC. |
persistence.plugins.mountPath |
/var/lib/reeve/plugins |
Plugins__CustomPluginsDirectory: the install and write root, and a load root beside /app/plugins. |
workloads.kubernetes.enabled |
false |
The workloads orchestrator: the backend deploys, updates and removes plugin adapter workloads through the Kubernetes API with its own ServiceAccount. Off by default because it widens cluster access. Renders the workloads Role and RoleBinding, an API-server egress rule (443/6443 to any destination) in the NetworkPolicy, and an always-on -workloads-nodes ClusterRole with nodes get/list. |
workloads.kubernetes.namespace |
"" |
Namespace the Role and RoleBinding are created in; empty is the release namespace. This grants access only: the namespace the backend orchestrates in is the one in Integrations, Workloads, which no chart value sets. Set both to the same namespace, or every call answers 403. |
workloads.kubernetes.clusterRole.enabled |
false |
Adds a read-only ClusterRole (nodes, storageclasses, namespaces get for Pod Security Admission labels, persistentvolumes get for relocation) for the test-connection probe and preflights; without it those checks report "inconclusive", the workload settings' Test provider says the storage classes cannot be listed, and demo content cannot check that the cluster has a default StorageClass. |
workloads.defaultStorageClassName |
"" |
Workloads__DefaultStorageClassName: a StorageClass for workload volumes on a cluster with no default class (otherwise such volumes stay Pending). Written into the workload settings once, only while they have never been saved; from the first save the settings page owns it and this value has no effect. |
workloads.pluginRoll.fleetSize |
null |
Workloads__PluginRoll__FleetSize: the fixed number of replicas a clustered plugin update waits for; null follows replicaCount. Membership below the target delays the roll; every current member is processed. |
workloads.observationReplication.enabled |
null |
Adapter observations replicated through Redis so any replica can serve them (Workloads__ObservationReplication__*). null follows Coordination__Clustered; true or false forces it on every replica, including a single one. See observation replication. |
workloads.observationReplication.perStreamBudgetBytes |
8388608 (8 MiB) |
Most history one adapter stream keeps (1024 to 17179869184). Raising it keeps a longer history for late readers at up to that much Redis memory per instance, still capped by the total. |
workloads.observationReplication.totalBudgetBytes |
null |
All streams together, in bytes. null derives it: totalBudgetPercentOfMaxmemory of Redis maxmemory, less one reply per replica, capped at 64 MiB. A number replaces the derivation; raising it takes that memory from the cache, rate limits and the SignalR backplane. |
workloads.observationReplication.totalBudgetPercentOfMaxmemory |
20 |
Share of Redis maxmemory the derived total may use (1-100). With maxmemory-policy noeviction, a higher share means writes are refused sooner. |
workloads.observationReplication.handoverGraceMilliseconds |
5000 |
How long a new owner waits for the previous owner's session to close before opening its own and reporting the rest as a gap (1-300000). |
workloads.observationReplication.pollIntervalMilliseconds |
250 |
Polling interval of a non-owning replica (50-10000), also Adaptive's busy interval. Raising it cuts Redis round trips. |
workloads.observationReplication.readerMode |
null |
Polling, Interrupt or Adaptive, spelled exactly so. null lets the backend resolve it: Adaptive when idlePollIntervalMilliseconds >= pollIntervalMilliseconds, otherwise Polling. Interrupt reads on hints with a full round every idle interval; Adaptive polls under load and uses hints while quiet. |
workloads.observationReplication.idlePollIntervalMilliseconds |
5000 |
Full-round interval of Interrupt, and of Adaptive while quiet (250-30000). Raising it saves idle CPU and delays noticing a Redis restart or a new instance by up to that long; quiet Adaptive followers can lag by this much if a hint is lost. |
workloads.observationReplication.checkpointIntervalSeconds |
60 |
How often the owner checkpoints the adapter's state (5-3600). Raising it writes less and leaves a longer stream to replay. |
workloads.observationReplication.dormantAfterHours |
24 |
How long a closed stream is kept before the leader's sweep removes it (1-8760). |
workloads.observationReplication.redisMaxmemoryBytes |
null |
Redis maxmemory the derived total is computed from (0 to 1 TiB). null passes redis.builtin.maxmemory through with the built-in Redis and stays unset for an external one, where the derived total falls back to its 64 MiB ceiling: set it to the external Redis's maxmemory, and raise it whenever you raise that. |
Every observation-replication number is a default you may override, never a fixed limit; each matches the
backend's own default. A knob set to null is not rendered, and keys the chart does not surface can be set
through backend.extraEnv. The workload provider's other settings (namespace, image pull secret, default
StorageClass after the first save) live in the workload settings under Integrations, Workloads and are never read
from configuration, so the chart renders no Workloads__Kubernetes__* variable.
The workloads Role grants exactly what the provider calls: Deployments and DaemonSets with watch for
event-driven reconcile, pods (read) and pods/log, Services, Secrets and PersistentVolumeClaims
(get/list/create/patch/delete), batch Jobs with patch (per-node scan Jobs are created by server-side apply),
ConfigMaps get only, ResourceQuotas read-only, events read-only, and get/list on
k8s.cni.cncf.io/network-attachment-definitions. There is no update verb and no deployments/scale.
Outbound TLS trust (tls)
| Key | Default | Effect |
|---|---|---|
tls.trustedCaCertificates |
"" |
One or more PEM certificates, rendered as Tls__TrustedCaCertificates. The backend trusts them after the system roots for its own outbound TLS; a workload that declares bootstrap:trustedCaCertificates receives the same list as REEVE_TRUSTED_CA_CERTIFICATES. A block that does not parse stops the backend at start. |
tls.trustedCaCertificatesFrom.configMap |
"" |
A ConfigMap holding the list instead. Set this or the inline form, not both. |
tls.trustedCaCertificatesFrom.key |
"" |
Key in that ConfigMap; requires configMap. |
An inline change rolls a backend Deployment by itself, and a StatefulSet unless cluster.fullStopUpgrade is on.
A ConfigMap change rolls neither: restart the backend (kubectl rollout restart deployment/<fullname>-backend, or
delete the backend pods one at a time with persistence.plugins.mode: perReplica). Either way the change never
reaches a running workload: redeploy each workload that should see it (on the Manual provider, render the
artefacts again and deploy them). Npgsql, Redis, Kubernetes, Docker and the Loki sink do not use this list.
Sign-in and identity (bootstrapAdmin, authentication, assetlinks)
| Key | Default | Effect |
|---|---|---|
bootstrapAdmin.username |
admin |
BootstrapAdmin__UserName of the administrator created on first start. The migration Job takes these values inline because it runs before the release ConfigMap exists. |
bootstrapAdmin.displayName |
Administrator |
BootstrapAdmin__DisplayName. |
bootstrapAdmin.email |
admin@reeve.local |
BootstrapAdmin__Email. |
authentication.oidc.callbackBaseUrl |
"http://reeve.local" |
Authentication__Oidc__CallbackBaseUrl: the external base URL OIDC redirects are built against. Must be the externally reachable app URL; the compiled default produces a localhost redirect and breaks real logins. |
authentication.oidc.allowInsecureMetadata |
false |
Authentication__Oidc__AllowInsecureMetadata: permits OIDC metadata over plain HTTP. Leave off in production. |
authentication.oidc.allowPrivateMetadata |
false |
Authentication__Oidc__AllowPrivateMetadata: permits the OIDC back-channel to connect to LAN or loopback addresses (an on-premises identity provider); link-local, cloud-metadata and carrier-grade-NAT addresses stay closed. |
authentication.jwt.accessTokenLifetimeMinutes |
15 |
Authentication__Jwt__AccessTokenLifetimeMinutes (1-1440). |
authentication.jwt.refreshTokenLifetimeDays |
30 |
Authentication__Jwt__RefreshTokenLifetimeDays (1-365). |
authentication.webAuthn.rpId |
"" |
Authentication__WebAuthn__RpId: the relying-party id, a registrable domain, never an IP or URL. Changing it invalidates every enrolled passkey. Empty derives ingress.hosts[0].host when the ingress is on and the host is a public name; an IPv4 address or a .local, .lan, .internal, .home.arpa or single-label name derives nothing. With no id, WebAuthn is off and its endpoints answer 503. An explicit id wins over the ingress host and renders without a chart-managed ingress. |
authentication.webAuthn.rpName |
"Reeve" |
Authentication__WebAuthn__RpName: display string some authenticators show. |
authentication.webAuthn.allowedOrigins |
[] |
Authentication__WebAuthn__AllowedOrigins__<i>: additional exact origins clientDataJSON.origin may equal. Empty accepts https://<rpId> plus the official Android app, derived by the backend. Any web origin listed replaces that default; android:apk-key-hash: values are base64url. |
authentication.webAuthn.residentKeyRequirement |
"preferred" |
discouraged, preferred or required. Every Android Credential Manager provider refuses discouraged, so preferred is the floor for Android passkeys. |
assetlinks.packageName |
"dev.reeve_iot.mobile" |
Android package named in /.well-known/assetlinks.json. The frontend image already serves a correct statement for the official APK; this block is needed only for an APK signed with your own key. |
assetlinks.releaseFingerprint |
the official release certificate | SHA-256 of the official release certificate, 32 uppercase colon-separated hex pairs, or the render fails. It equals the value in frontend/public/.well-known/assetlinks.json. Always listed first. |
assetlinks.extraFingerprints |
[] |
Appended certificates. Every key listed can claim your host and request your users' passkeys. Needs ingress.tls with a publicly trusted certificate and a publicly resolvable ingress.hosts[0].host. When set, the frontend mounts the merged statement by subPath and rolls whenever it changes. |
assetlinks.acknowledgeExtraSigningKeys |
false |
Required acknowledgement once extraFingerprints is non-empty. |
Cameras (cameras, cameraMotion)
Live view over WebRTC needs nothing here on a home network. The media plane is what an installation adds when a
viewer outside the LAN, or a camera whose workload has no reachable address, has to work. Its cameras.mediaPlane
values are in Media plane. See
camera media and
WebRTC signalling.
| Key | Default | Effect |
|---|---|---|
cameraMotion.ptzQuietSeconds |
10 |
CameraMotion__PtzQuietSeconds (0-120): seconds after the last pan-tilt-zoom signal during which a camera's new motion is masked, whatever source reports it. 0 turns the window off. |
Automations and analytics
| Key | Default | Effect |
|---|---|---|
analytics.rawRetentionDays |
90 |
Analytics__RawRetentionDays: how long raw telemetry is kept. |
analytics.hourlyRetentionDays |
1825 |
Analytics__HourlyRetentionDays: how long hourly aggregates are kept. |
analytics.routingThresholdDays |
7 |
Analytics__RoutingThresholdDays: a query window up to this width reads raw telemetry; a wider one reads the hourly aggregates. |
automations.durableSleep.parkWhenAtLeastSeconds |
30 |
Workflow__Engine__DurableSleepParkWhenAtLeastSeconds (1-86400): a wait at least this long parks its run as a database row instead of holding it in memory. null or "" disables parking (the chart sends an empty value). Set it on every replica in one rollout. To turn parking off safely, first set 86400, wait until no parked sleep is left, then set null; see automation and workflows. |
automations.freshness.presenceLabelTtlSeconds |
2700 |
Automations__Freshness__PresenceLabelTtlSeconds: how long a phone may be silent before its card reads "stale" and its source health decays to Degraded. The compiled default, 900 s, assumes the client's 5-minute reporting interval holds; Android Doze stretches a stationary handset past it. 45 minutes clears that without hiding a handset that has gone quiet. The other freshness thresholds stay at their compiled defaults, because they depend on device cadences the chart cannot know. |
Observability
| Key | Default | Effect |
|---|---|---|
observability.metrics.endpoint |
"" |
OpenTelemetry__MetricsEndpoint: OTLP metrics endpoint, read at start. Empty leaves metrics export unwired. |
observability.traces.endpoint |
"" |
OpenTelemetry__TracesEndpoint: OTLP traces endpoint. |
errorReporting.environment |
production |
ErrorReporting__Environment, the environment tag on reported events. |
errorReporting.backend.enabled |
false |
Sends backend errors to a Sentry-protocol service (Sentry, Bugsink, GlitchTip). Needs dsn. With the NetworkPolicy on, egress to the DSN's port is allowed. |
errorReporting.backend.dsn |
"" |
Backend DSN, a project's client key that can only submit events. |
errorReporting.frontend.enabled |
false |
Sends browser errors, independently of the backend. Needs dsn. |
errorReporting.frontend.dsn |
"" |
Browser DSN. |
errorReporting.frontend.tunnel |
"" |
Same-origin path the browser posts events to instead of the DSN host; routing it there (an ingress or gateway rule) is yours to set up. Empty posts to the DSN host. |
metrics.prometheusEnabled |
false |
Metrics__PrometheusEnabled: serves /metrics. Forced on when both prometheus.enabled and prometheus.serviceMonitor.enabled are set. |
metrics.bearerTokenSource |
null |
Token /metrics requires (Metrics__BearerToken_FILE; value, existingSecret or externalSecret). With the ServiceMonitor on, Prometheus reads the rendered Secret, so a file source is refused. |
metrics.bearerToken |
"" |
Alias of bearerTokenSource. |
prometheus.enabled |
true |
Together with prometheus.serviceMonitor.enabled, renders the ServiceMonitor and turns /metrics on. Alone it does nothing. |
prometheus.serviceMonitor.enabled |
false |
Renders a ServiceMonitor selecting the backend Service (component=backend, port http); the per-pod headless Service carries a different component so it is not scraped twice. |
prometheus.serviceMonitor.{interval,scrapeTimeout} |
30s, 10s |
Scrape timing. |
prometheus.serviceMonitor.labels |
{} |
Labels your Prometheus selects ServiceMonitors by. |
prometheus.serviceMonitor.honorLabels |
false |
honorLabels on the endpoint. |
grafana.dashboards.enabled |
false |
Bundles the chart's Grafana dashboards as a ConfigMap for a Grafana dashboard sidecar (kiwigrid/k8s-sidecar, shipped with the Grafana and kube-prometheus-stack charts). |
grafana.dashboards.{label,labelValue} |
grafana_dashboard, "1" |
Label and value the sidecar searches for. |
grafana.dashboards.annotations |
{} |
Annotations on the ConfigMap (for example a target folder). |
See observability.
Matter bridge (adapters.matterBridge)
The bridge exposes Reeve's own devices to Apple Home, Google Home, Alexa and Home Assistant as one LAN Matter
node, so it runs as exactly one instance. It owns no radio. Every adapters.matterBridge value is in
Matter bridge.
Network policy (networkPolicy)
| Key | Default | Effect |
|---|---|---|
networkPolicy.enabled |
false |
Renders a NetworkPolicy for the backend and the migration Job (component backend or db-migration), one for the media plane when it is enabled, and, with the built-in Redis, one that admits only backend pods to Redis on 6379; every other pod of the release needs its own. Requires a CNI that enforces NetworkPolicy. |
networkPolicy.ingressNamespaceSelector.matchLabels.name |
ingress-nginx |
Namespace label of the ingress controller allowed in. Namespace and pod selectors must both match. |
networkPolicy.ingressPodSelector.matchLabels.app.kubernetes.io/name |
ingress-nginx |
Pod label of the ingress controller. |
networkPolicy.egressAllowOidc |
false |
Allows egress to 443 for an external OIDC authority. |
networkPolicy.egressExternalServicesCidr |
"0.0.0.0/0" |
CIDR for external PostgreSQL and Redis on postgresql.external.port and redis.external.port (ipBlock rules; for Redis they replace the pod selector when redis.external.enabled) and for an operator's MQTT broker on TCP 1883 and 8883. A broker on another port, or inside the cluster on a CNI whose ipBlock rules do not match pod traffic, needs a NetworkPolicy of your own. The default allows private ranges too, so external services on a private network are reachable; narrow it where you can. |
networkPolicy.egressSecretProviders |
[] |
{cidr, port} entries for secret providers whose address is a DNS name (a NetworkPolicy cannot target a name). Providers at literal IP addresses are allowed automatically. Helm prints a reminder, because a DNS change can make a CIDR stale. |
DNS egress (53 TCP and UDP) to kube-system is always allowed. See deployment for what the
policy permits in full.
GitOps (argocd)
| Key | Default | Effect |
|---|---|---|
argocd.enabled |
false |
Declares that the chart is rendered by helm template (Argo CD), where lookup returns nothing and every generated secret would be minted anew on each sync. With it on, the Matter bridge needs workloadTokenSource; the render fails without it. |
Render-time validation
The chart refuses, at helm template, helm install and helm upgrade, the values the backend would refuse at
start-up and the combinations that would deploy something broken. Numbers in values arrive as floats; the chart
renders them as whole numbers and checks each against the bound the backend's options declare. The render fails
when:
- a required secret has no source, has two, or an inline
secrets.jwtSigningKey.value,secrets.bootstrapAdminPassword.valueordatabase.password.valueis a known placeholder. Rejected, case-insensitively, for the signing key:changeme,your-secret-here,your-jwt-signing-key,your-jwt-signing-key-min-32-chars,your-secure-password,placeholder,replace-me,todo,<changeme>,<placeholder>; for the bootstrap password the same except the twoyour-jwt-signing-keystrings, and alsoadmin,admin123,admin123!,password,devpassword,devpassword123. An inlinedatabase.password.valueis rejected forchangeme,your-secret-here,your-secure-password,placeholder,replace-me,todo,<changeme>and<placeholder>. The other secrets are not compared with these lists, and the chart does not judge strength. - a
refis given where it is refused, ordataProtection.*usesvalueorexternalSecret; - a
secretProvidersentry is malformed (see its row), or anegressSecretProvidersentry lacks a CIDR or has a port outside 1-65535; backend.extraEnvsetsSecretProviders__*,REEVE_SECRET_REF_TIMEOUT_SECONDSorDatabase__StartupWaitSeconds;- the startup budgets do not fit (see Probes, start-up and shutdown), or
startupProbeis off while startup secret references exist; - the shutdown pair leaves less than 10 s between them or does not cover the cluster drain;
cluster.proxyReadTimeoutSecondsexceeds 120, a cluster timing is outside 1-3600, or an ingressproxy-read-timeoutannotation is belowcluster.proxyReadTimeoutSeconds;- neither or both Redis modes are enabled,
redis.builtin.maxmemoryis not a Redis size or exceeds 1 TiB, orredis.externalhas bothpasswordandexistingSecret; - an observation-replication knob is outside its range,
readerModeis notPolling,InterruptorAdaptive, or an explicit non-Polling mode hasidlePollIntervalMillisecondsbelowpollIntervalMilliseconds; persistence.pluginsis enabled without a mode, has an unknown mode, usesperReplicawith the volume off, or usesperReplicaabove one replica withoutcoordination.clustered;- an image digest is not
sha256:<64 hex>; errorReporting.<side>.enabledhas nodsn;forwardedHeaders.forwardedForHeaderis not a header name, or isX-Original-For;- both
tls.trustedCaCertificatesandtls.trustedCaCertificatesFromare set, ortrustedCaCertificatesFrom.keyis set withoutconfigMap; workloads.kubernetes.enabledis on withserviceAccount.create: falseand noserviceAccount.name(the backend would run as the namespace default account and every call would answer 403);- the media plane is enabled with no password source, a username or password outside MediaMTX's character set,
an unquoted numeric password, a host with a scheme, port or path, a non-numeric or colliding port, an
externalTrafficPolicyother thanClusterorLocal(or on a ClusterIP Service), astunUrlsorviewerStunUrlsentry that is not a plainstun:URL, atrackGatherTimeoutbelow10s, astunGatherTimeoutoutside1s-6s, areadTimeoutoutside10s-16s, or ingest with no secret source; - hardware encoding is half-built:
gpu.hostPathwithoutgpu.enabled,gpu.enabledwithout a device (nohostPathand no extended resource inremux.resources.limits),hostPathwithoutprivileged: trueorrenderGroupId, or an encoder other thanvaapiwith nogpu.ffmpegentry; adapters.matterBridge.networkAttachmentis set withhostNetwork: true;argocd.enabledwith the bridge and no workload-token source;assetlinks.releaseFingerprintis not 32 uppercase colon-separated hex pairs (lowercaseapksigneroutput is refused too),extraFingerprintsis set withoutacknowledgeExtraSigningKeys, withoutingress.tls, or with a host that is not publicly resolvable, or an ingress annotation rewrites or redirects the request URI;metrics.bearerTokenSource.fileis set with the ServiceMonitor on;- a
*Sourceis combined with the plain alias of the same setting.
To confirm the gate is active, render with a placeholder and expect a SECURITY: error:
helm template reeve deploy/helm/reeve \
--values deploy/helm/reeve/values.example.yaml \
--set secrets.jwtSigningKey.existingSecret= \
--set secrets.jwtSigningKey.value=CHANGEME
Example and override files
deploy/helm/reeve/values.example.yamlis a three-replica example: the default CloudNativePG clusterreeve-db, the built-in Redis with a 2 GiB volume and a 1 GiB observation-replication Redis budget, an ingress forreeve.example.comwith/,/api,/hubsand/ws/workloadsand norewrite-targetannotation,callbackBaseUrl: "https://reeve.example.com", and the JWT key, the bootstrap password and the OIDC state signing key taken from thereeve-secretsSecret. It sets no image tags.Chart.yaml'sappVersionequals the host version inbackend/Directory.Build.props. It also feeds the Matter bridge's default spec hash, so a version change restarts the bridge once.deploy/helm/package-chart.sh TAG OUTDIRpackages the chart for a release tagvX.Y.Z:versionandappVersionbecomeX.Y.Z, and the three image tags (backend, frontend, Matter bridge) stay empty, so each image defaults to theappVersion. A chart version therefore names its images, and you deploy a release by moving your pin to its chart version.