feat: реализовать ЛР7 — TLS, mTLS, OpenBao и hardening
Skeleton contracts / contracts (pull_request) Blocked by required conditions
Skeleton contracts / contracts (pull_request) Blocked by required conditions
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user