forked from mtusi2026/mtusi2026lab7
lab 7 openbao
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
# Restart hook (tests/resilience.py --mode persistence): restarts ALL stores with their volumes (nothing is removed), then re-unseals OpenBao,
|
||||
# refreshes the 24 h SecretIDs and restarts the services that fetch secrets.
|
||||
set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
docker compose restart postgres redis s3 kafka openbao prometheus loki tempo
|
||||
sh scripts/bao_unseal.sh
|
||||
sh scripts/bao_secret_id.sh all >/dev/null
|
||||
docker compose restart api dispatcher worker s3_sweeper otel-collector grafana
|
||||
Reference in New Issue
Block a user