feat: реализовать ЛР7 — TLS, mTLS, OpenBao и hardening
Skeleton contracts / contracts (pull_request) Blocked by required conditions

This commit is contained in:
ferraronp
2026-11-26 19:50:38 +03:00
parent 20afc2c790
commit ca7515601a
98 changed files with 6252 additions and 107 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
case "${TARGET_INSTANCE_ID:?}" in
api1|api2)
# Stop TLS sidecar first: it shares the API network namespace.
docker compose stop "${TARGET_INSTANCE_ID}-tls" "$TARGET_INSTANCE_ID" ;;
*) echo 'Unsafe or unknown instance alias' >&2; exit 2;;
esac