summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-05-15 14:42:08 -0600
committermo khan <mo@mokhan.ca>2025-05-15 14:42:08 -0600
commitc151c1a77d31c5e01885691b6df1ea7b0be0b0e5 (patch)
tree254aed8be6abaffaeba71df5bcb35d41d52bb2b2 /bin
parent3d01a69471fc4f0ae9f2f4145620b6aea50f2216 (diff)
parentb6968005e1e1758e37edc7830c02e2217ee5fd90 (diff)
Merge branch 'envoy-cleanup' into 'main'
Delete code that is now handled by envoy See merge request gitlab-org/software-supply-chain-security/authorization/sparkled!7
Diffstat (limited to 'bin')
-rwxr-xr-xbin/entrypoint.sh (renamed from bin/init.sh)0
-rwxr-xr-xbin/envoy.sh5
2 files changed, 1 insertions, 4 deletions
diff --git a/bin/init.sh b/bin/entrypoint.sh
index 28d6c5f..28d6c5f 100755
--- a/bin/init.sh
+++ b/bin/entrypoint.sh
diff --git a/bin/envoy.sh b/bin/envoy.sh
index 8690bd1..67ea54c 100755
--- a/bin/envoy.sh
+++ b/bin/envoy.sh
@@ -17,18 +17,15 @@ if [ "$oidc_scheme" = "http" ]; then
yaml=$(echo "$yaml" | sed -e "s/port_value: 443/port_value: $oidc_port/")
fi
-# I need an adult with access to vault to set this
if [ -z "$OAUTH_CLIENT_SECRET" ]; then
export OAUTH_CLIENT_SECRET="secret"
fi
-
-# and this.
if [ -z "$HMAC_SESSION_SECRET" ]; then
export HMAC_SESSION_SECRET="$OAUTH_CLIENT_SECRET"
fi
if ! command -v envoy; then
- echo "envoy could not be found"
+ echo "envoy could not be found: https://www.envoyproxy.io/docs/envoy/latest/start/install"
exit 1
fi