Skip to content

Commit 60f8ab3

Browse files
committed
fix: exit Envoy config script if not enabled
1 parent ff5148e commit 60f8ab3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docker/all-in-one/init/configure-envoy.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#!/bin/bash
22
set -eou pipefail
33

4+
if [ "${ENVOY_ENABLED:-}" != "true" ]; then
5+
exit
6+
fi
7+
48
ENVOY_CDS_CONF=/etc/envoy/cds.yaml
59
ENVOY_LDS_CONF=/etc/envoy/lds.yaml
610
touch /var/log/services/envoy.log

0 commit comments

Comments
 (0)