Add M8.3 dev/stage stores: Retain volumes, free-space reserve, store check
Keep the filesystem object store on a node-local Retain-class PVC per environment (ADR-0070), with the database on the external PostgreSQL VM. Because local-path does not enforce sizes, the object store now refuses new objects below a free-space reserve with a distinct full error, so a full volume publishes and acknowledges nothing. evo-world-clone gains check-store to qualify volume retention, reserve, database version/TLS and the runtime privilege boundary from inside the cluster; it now ships in the server image. Add the storage class, object claims, hand-applied store Jobs, policy rules forbidding password env vars, and the runbook. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -15,11 +15,19 @@ code=$?
|
||||
set -e
|
||||
test "$code" -eq 2
|
||||
grep -q '^usage: evo-server ' <<<"$usage"
|
||||
# The bundled operations tool refuses to run without a subcommand too (M8.3).
|
||||
set +e
|
||||
tool="$(run --entrypoint /usr/local/bin/evo-world-clone "$image" 2>&1)"
|
||||
code=$?
|
||||
set -e
|
||||
test "$code" -eq 2
|
||||
grep -q '^usage: evo-world-clone ' <<<"$tool"
|
||||
# Non-root, every shared library resolved, no credential material in the image.
|
||||
run --entrypoint /bin/sh "$image" -c '
|
||||
set -eu
|
||||
test "$(id -u)" = 10001 && test "$(id -g)" = 10001
|
||||
! ldd /usr/local/bin/evo-server | grep -q "not found"
|
||||
! ldd /usr/local/bin/evo-world-clone | grep -q "not found"
|
||||
test -z "$(find / -xdev \( -name "*pgpass*" -o -name "pg_service.conf" -o -name "*.pem" \
|
||||
-o -name "*.key" \) -not -path "/etc/ssl/*" -not -path "/usr/share/*" -print 2>/dev/null)"
|
||||
'
|
||||
|
||||
Reference in New Issue
Block a user