Skip to content

Commit

Permalink
(from AES) entrypoint.sh: Disable sidecars when running as a traffic …
Browse files Browse the repository at this point in the history
…agent
  • Loading branch information
LukeShu authored and Flynn committed Dec 24, 2020
1 parent ef6809f commit a184683
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions python/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -477,10 +477,12 @@ fi
################################################################################
# WORKER: extra sidecars #
################################################################################
shopt -s nullglob
for sidecar in /ambassador/sidecars/*; do
launch "${sidecar##*/}" "$sidecar"
done
if [[ -z "$AGENT_SERVICE" ]]; then
shopt -s nullglob
for sidecar in /ambassador/sidecars/*; do
launch "${sidecar##*/}" "$sidecar"
done
fi

################################################################################
# Wait for one worker to quit, then kill the others #
Expand Down

0 comments on commit a184683

Please sign in to comment.