From 00969a24f9f2dfef7fb935cb85329a4f6f697f65 Mon Sep 17 00:00:00 2001 From: juarez Date: Thu, 23 Nov 2023 14:33:28 +0100 Subject: [PATCH] Bugfix: Export /var/cache/bridgehead/secrets as environment variables --- lib/functions.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/functions.sh b/lib/functions.sh index 0c93862..fe0ab67 100644 --- a/lib/functions.sh +++ b/lib/functions.sh @@ -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() {