fix: secret sync account for minimal override

This commit is contained in:
janskiba 2024-02-07 16:05:26 +00:00 committed by juarez
parent 951ad25e42
commit 4fb6d2dc55
1 changed files with 5 additions and 1 deletions

View File

@ -279,7 +279,11 @@ function sync_secrets() {
fi fi
mkdir -p /var/cache/bridgehead/secrets/ mkdir -p /var/cache/bridgehead/secrets/
touch /var/cache/bridgehead/secrets/oidc touch /var/cache/bridgehead/secrets/oidc
$COMPOSE -p secret_sync -f ./minimal/docker-compose.yml up -d forward_proxy local override=""
if [ -f "minimal/docker-compose.override.yml" ]; then
override+=" -f ./minimal/docker-compose.override.yml"
fi
$COMPOSE -p secret_sync -f ./minimal/docker-compose.yml $override up -d forward_proxy
# The oidc provider will need to be switched based on the project at some point I guess # The oidc provider will need to be switched based on the project at some point I guess
docker run --rm \ docker run --rm \
--network secret_sync_default \ --network secret_sync_default \