summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-05-26 16:57:27 -0600
committermo khan <mo@mokhan.ca>2025-05-26 16:57:27 -0600
commit162fd07f7957082b172a828e69fa8ef9f125fa18 (patch)
treea65916f6f271bc419e349682a24c796e7d162511 /bin
parent87e06e544c361721cfc5747e270dac0be04e89f8 (diff)
fix: do not provide secrets to sparkle
Diffstat (limited to 'bin')
-rwxr-xr-xbin/entrypoint.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/entrypoint.sh b/bin/entrypoint.sh
index a770286..ab38bfa 100755
--- a/bin/entrypoint.sh
+++ b/bin/entrypoint.sh
@@ -8,4 +8,10 @@ cd "$(dirname "$0")/.."
./bin/envoy.sh & # launch envoy in background
./bin/authzd & # launch authzd in background
-./bin/sparkled # launch sparkled in foreground
+
+/usr/bin/env -i - \
+ APP_ENV="$APP_ENV" \
+ BIND_ADDR="$BIND_ADDR" \
+ OAUTH_CLIENT_ID="$OAUTH_CLIENT_ID" \
+ OIDC_ISSUER="$OIDC_ISSUER" \
+ ./bin/sparkled # launch sparkled in foreground