diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-21 16:15:51 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-21 16:15:51 -0600 |
| commit | a920a8cfe415858bb2777371a77018599ffed23f (patch) | |
| tree | dd7dcf8e78ea554d071ad502f92b7908687daa3e /bin | |
| parent | 16c27cd885b9c0d1241dfead3120643f0e8c556c (diff) | |
| parent | 5f76ebe3b95b491a7a07ddb9dd5799735cf3e159 (diff) | |
Merge branch 'minit' into 'main'
Replace entrypoint.sh with a Procfile runner
See merge request gitlab-org/software-supply-chain-security/authorization/sparkled!18
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/entrypoint.sh | 15 | ||||
| -rwxr-xr-x | bin/envoy-shim (renamed from bin/envoy.sh) | 2 |
2 files changed, 1 insertions, 16 deletions
diff --git a/bin/entrypoint.sh b/bin/entrypoint.sh deleted file mode 100755 index a3b9a0e..0000000 --- a/bin/entrypoint.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env -S dumb-init /bin/sh -# shellcheck shell=sh -set -e - -[ -n "$DEBUG" ] && set -x - -cd "$(dirname "$0")/.." - -./bin/envoy.sh & # launch envoy in background -./bin/authzd & # launch authzd in background - -/usr/bin/env -i - \ - APP_ENV="$APP_ENV" \ - BIND_ADDR="$BIND_ADDR" \ - ./bin/sparkled # launch sparkled in foreground diff --git a/bin/envoy.sh b/bin/envoy-shim index 433ea22..f358631 100755 --- a/bin/envoy.sh +++ b/bin/envoy-shim @@ -30,7 +30,7 @@ if ! command -v envoy > /dev/null 2>&1; then fi # https://github.com/envoyproxy/envoy/blob/48f93b68232aba15b5b14743a134691926749122//source/common/common/logger.h#L36 -envoy \ +exec envoy \ --base-id 0 \ --config-yaml "$yaml" \ --log-level warn \ |
