feat(catalogue,helm,ci): add private OCI auth, offline catalogue mirror, CI image/SBOM, metrics config, and OpenShift overlay (#2153)
This commit is contained in:
23 files changed
+1095
-12
No files matched your search
@@ -69,6 +69,23 @@ In Kubernetes, run extensions as separate Pods or sidecars under `restricted` Po
|
||||
|
||||
In Docker Compose and VM hosts, `LocalNamespaceRuntime` confines each extension binary in its own user and network namespace behind an allow-list forward proxy (`modules/connectors/internal/egress/tunnel.go`). The tunnel enforces Archie's host allow-list and loopback checks before chaining allowed traffic through `HTTPS_PROXY`.
|
||||
|
||||
### OpenShift `restricted-v2` SCC
|
||||
|
||||
OpenShift's default `restricted-v2` security context rejects pinned `runAsUser`, `runAsGroup`, and `fsGroup` values because it assigns UIDs per namespace. Add [values-openshift.yaml](../../deployments/helm/archie/values-openshift.yaml) alongside `values-prod.yaml` to omit those numeric IDs while keeping `runAsNonRoot: true`, `allowPrivilegeEscalation: false`, and a read-only root filesystem.
|
||||
|
||||
## Private OCI and Air-Gapped Catalogues
|
||||
|
||||
Private OCI registries authenticate through `[catalogue]` in `config.toml` or container environment variables:
|
||||
|
||||
- **Docker config file:** Set `catalogue.auth_file` (`ARCHIE_CATALOGUE_AUTH_FILE`) or set `config.catalogue.authSecret` in Helm to mount a registry `config.json` Secret.
|
||||
- **Direct credentials:** Set `catalogue.username` and `catalogue.password` via `ARCHIE_CATALOGUE_USERNAME` and `ARCHIE_CATALOGUE_PASSWORD_FILE`.
|
||||
|
||||
In air-gapped stages, mirror a verified catalogue to local storage and re-sign it with an internal Ed25519 key:
|
||||
|
||||
1. Generate an internal signing keypair with `archie catalogue keygen`.
|
||||
2. Download, verify, and re-sign the catalogue and binaries with `archie catalogue mirror -to /var/lib/archie/mirror -sign-key-file /etc/archie/mirror.key`.
|
||||
3. Transfer the mirror directory into the isolated environment and point `[catalogue]` `location` and `public_key` at the mirrored `catalogue.json` and internal public key.
|
||||
|
||||
## Probes, Graceful Drain, and High Availability
|
||||
|
||||
`cmd/archie` exposes three health endpoints (`internal/platform/health/health.go`):
|
||||
|
||||
Reference in new issue
Block a user