mirror of https://github.com/samply/bridgehead.git
Bugfix: Export /var/cache/bridgehead/secrets as environment variables
This commit is contained in:
parent
0a1070c3a5
commit
185143c084
|
@ -284,7 +284,9 @@ function sync_secrets() {
|
||||||
-e OIDC_PROVIDER=secret-sync-central.oidc-client-enrollment.$BROKER_ID \
|
-e OIDC_PROVIDER=secret-sync-central.oidc-client-enrollment.$BROKER_ID \
|
||||||
-e SECRET_DEFINITIONS=$SECRET_SYNC_ARGS \
|
-e SECRET_DEFINITIONS=$SECRET_SYNC_ARGS \
|
||||||
docker.verbis.dkfz.de/cache/samply/secret-sync-local:latest
|
docker.verbis.dkfz.de/cache/samply/secret-sync-local:latest
|
||||||
|
set -a # Export variables as environment variables
|
||||||
source /var/cache/bridgehead/secrets/*
|
source /var/cache/bridgehead/secrets/*
|
||||||
|
set +a # Export variables in the regular way
|
||||||
}
|
}
|
||||||
|
|
||||||
capitalize_first_letter() {
|
capitalize_first_letter() {
|
||||||
|
|
Loading…
Reference in New Issue