feat: import prepared Catalog bindings through authenticated services

This commit is contained in:
Codex
2026-10-06 18:04:07 +02:00
parent d720da721b
commit af4c7b5df9
29 changed files with 835 additions and 35 deletions
+26 -5
View File
@@ -93,6 +93,9 @@ must exist. It starts no services and does not implicitly generate passwords.
```yaml
schemaVersion: 1
authentication:
username: admin
passwordFile: /private/path/my-installation/secrets/admin-password
databases:
- workspaceId: practice
engine: postgres
@@ -116,7 +119,11 @@ must exist. It starts no services and does not implicitly generate passwords.
`evidenceSecretFiles` with key `evidence.signed_urls`; static S3 credentials need
`evidence.access_key`, `evidence.secret_key` and optional `evidence.session_token`.
All values are private file paths. Workspace descriptors remain schema v4;
this bootstrap input is not a second runtime Catalog.
this bootstrap input is not a second runtime Catalog. The document also includes
`authentication.username: admin` and `authentication.passwordFile` pointing to
private `secrets/admin-password`. Update these references before validation if
selecting another administrator. Execution uses ordinary login and administrative
permissions, without asking for a password during setup.
4. Explicitly generate technical credentials in the standard layout:
```sh
@@ -211,10 +218,24 @@ comes from the prepared authentication documents. Secrets retain private permiss
services that read them run with the operator's UID. This path does not convert an
existing stack with incompatible volume ownership.
`platform_ready: true, workspace_ready: false` confirms platform startup and protected
endpoints, **not** readiness to query a database. Binding import, workspace activation
and preprocessing, and a model smoke test are subsequent steps. The three curated
example databases remain deferred.
Execution then imports bindings through authenticated Catalog services and the existing
secret store. It verifies the remote, branch, revision and exact contents against the
prepared plan, without silently retargeting an existing checkout. Database connectivity
is tested again by the application in the containers.
`platform_ready: true, bindings_ready: true, workspace_ready: false` confirms the platform,
authentication and database connections. Workspace preprocessing and model checks remain
necessary before a question. The three curated examples remain deferred. This extension
requires a bundle newer than preview.5; preview.5 only certifies platform startup.
An equivalent rerun does not duplicate bindings or credentials. Administrative changes
or deletion stop import with `binding_reconciliation_required`: compare the bootstrap
with Administration and preserve the intended change. Do not remove volumes or Catalog
receipts to bypass this check. `workspace_reconciliation_required` identifies a source
mismatch; `authentication_required` requires correcting the prepared administrator;
`container_connection_failed` means the DWH cannot be reached or authenticated from the
application network. Scalar credential files ignore outer whitespace, matching preflight
probes; PEM and known-host files retain their exact bytes.
With the default configuration, open `http://127.0.0.1:8080` to sign in. The browser
origin must match `publicUrl`; do not substitute `localhost` for `127.0.0.1`.