Skip to content

Commit 7bbe3bc

Browse files
author
Mark Olliver
committed
disable proxy logic to allow for custom config map
1 parent 2c5b31f commit 7bbe3bc

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

go.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,12 @@ if [ -z ${DISABLE_SYSDIG_METRICS+x} ]; then
7777
EOF-SYSDIG-SERVER
7878
fi
7979

80-
IFS=',' read -a LOCATIONS_ARRAY <<< "$LOCATIONS_CSV"
81-
for i in "${!LOCATIONS_ARRAY[@]}"; do
82-
/enable_location.sh $((${i} + 1)) ${LOCATIONS_ARRAY[$i]}
83-
done
80+
if [ "${CUSTOM_PROXY_CONFIG}" != "TRUE" ]; then
81+
IFS=',' read -a LOCATIONS_ARRAY <<< "$LOCATIONS_CSV"
82+
for i in "${!LOCATIONS_ARRAY[@]}"; do
83+
/enable_location.sh $((${i} + 1)) ${LOCATIONS_ARRAY[$i]}
84+
done
85+
fi
8486

8587
if [ "${NAME_RESOLVER}" == "" ]; then
8688
if [ "${DNSMASK}" == "TRUE" ]; then

0 commit comments

Comments
 (0)