Bugfix: Export /var/cache/bridgehead/secrets as environment variables

This commit is contained in:
juarez 2023-11-23 14:33:28 +01:00
parent 0f0627975c
commit 00969a24f9
1 changed files with 2 additions and 0 deletions

View File

@ -284,7 +284,9 @@ function sync_secrets() {
-e OIDC_PROVIDER=secret-sync-central.oidc-client-enrollment.$BROKER_ID \
-e SECRET_DEFINITIONS=$SECRET_SYNC_ARGS \
docker.verbis.dkfz.de/cache/samply/secret-sync-local:latest
set -a # Export variables as environment variables
source /var/cache/bridgehead/secrets/*
set +a # Export variables in the regular way
}
capitalize_first_letter() {