You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e5e2ecf
Browse filesBrowse the repository at this point in the historyBrowse files
fix(server): clarify the SQLite WAL switch and its failure mode
Reword the durability helper's comment to match sqlx's actual behaviour
(pool connections open one at a time; the WAL switch waits out
busy_timeout before failing), report a WAL switch failure with the file
path and the exclusive-access requirement, and note in the Helm values
and reference docs that the SQLite file needs a local block-backed volume.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
| server.credentialDrivers.vault.tokenPath | string |`""`| Mounted token file path when authMethod is token_file. |
249
249
| server.credentialStorage.existingSecret | string |`""`| Name of a pre-existing Secret containing the key-encryption key. When set, the chart does NOT generate a new Secret; it references this one instead. The Secret must contain a key named "key-encryption-key" with a base64-encoded 32-byte value. Required for GitOps workflows that render manifests with `helm template` (where `lookup` is unavailable). |
250
-
| server.dbUrl | string |`"sqlite:/var/openshell/openshell.db"`| Gateway database URL (used for the default SQLite backend). |
250
+
| server.dbUrl | string |`"sqlite:/var/openshell/openshell.db"`| Gateway database URL (used for the default SQLite backend). SQLite runs in WAL mode and needs a local block-backed volume, not NFS or other network filesystems. |
251
251
| server.defaultRuntimeClassName | string |`""`| Default Kubernetes runtimeClassName for sandbox pods. Applied when a CreateSandbox request does not specify one. Empty (default) = omit the field, using the cluster's default RuntimeClass. Set to a RuntimeClass name (e.g. "kata-containers", "nvidia") to apply it to all sandboxes that don't explicitly override it. |
252
252
| server.disableTls | bool |`false`| Disable TLS entirely - the server listens on plaintext HTTP. Set to true when a reverse proxy / tunnel terminates TLS at the edge. |
253
253
| server.drivers.kubernetes.operatorNamespaceFile | string |`""`| Path to a JSON file containing an array of namespace names allowed in operator mode. Hot-reloaded on change. |
Copy file name to clipboardExpand all lines: docs/reference/gateway-config.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Gateway CLI flag > gateway OPENSHELL_* env var > TOML file > built-in defa
18
18
19
19
`database_url` is env-only. The loader rejects it when it appears in the file. When `OPENSHELL_DB_URL` is unset, the gateway stores its SQLite database under `$XDG_STATE_HOME/openshell/gateway/openshell.db`.
20
20
21
-
SQLite databases run in WAL mode with `synchronous=NORMAL`: the gateway keeps `openshell.db-wal` and `openshell.db-shm` next to the database file, the file must live on a local filesystem, and a backup must use `sqlite3 openshell.db ".backup <copy>"` rather than copying `openshell.db` on its own. A power loss can roll back the most recent transactions without corrupting the database.
21
+
On-disk SQLite databases run in WAL mode with `synchronous=NORMAL`: the gateway keeps `openshell.db-wal` and `openshell.db-shm` next to the database file, the file must live on a local filesystem, and a backup must use `sqlite3 openshell.db ".backup <copy>"` rather than copying `openshell.db` on its own. A power loss can roll back the most recent transactions without corrupting the database.
22
22
23
23
`name` assigns an operator-facing identity to the gateway installation. Set it with `[openshell.gateway].name`, `--name`, or `OPENSHELL_GATEWAY_NAME`. It defaults to `openshell`; the Helm chart defaults it to the chart fullname so all replicas in one installation share a name. Chart fullnames are only unique within their Kubernetes namespace, so set `server.name` explicitly when one collector receives telemetry from multiple namespaces or clusters. This identity is independent of client-side gateway aliases, TLS names, and `gateway_jwt.gateway_id`.
0 commit comments