Skip to content

Commit 297cd27

Browse files
authored
feat: add support for vault secrets (#740)
Signed-off-by: Filipe Mota <[email protected]>
1 parent 6b74d96 commit 297cd27

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

bin/entrypoint.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
#!/bin/sh
2+
set -eu
3+
set -a
4+
if [ -d /vault/secrets ]; then
5+
for f in /vault/secrets/*;
6+
do [ -f "$f" ] && . "$f" || true;
7+
done
8+
fi
9+
set +a
10+
211
echo "Running command: yarn workspace @relay-vaults/$@"
312

413
yarn workspace @relay-vaults/$@

0 commit comments

Comments
 (0)