Skip to content

Commit 5b9c3a7

Browse files
committed
chore: set EXTRA_ARGS env
prevent unbound failure
1 parent 4327da1 commit 5b9c3a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/apisnoop.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ deploy::apisnoop() {
66
APISNOOP_IMAGE_TAG="${APISNOOP_VERSION:-v20240626-auditlogger-1.2.12-4-g80e96ac}"
77
LOAD_K8S_DATA="${LOAD_K8S_DATA:-false}"
88

9+
EXTRA_ARGS=""
910
if [ "$LOAD_K8S_DATA" = "true" ]; then
1011
EXTRA_ARGS="--set extraEnv[0].name=LOAD_K8S_DATA --set-string extraEnv[0].value=true"
1112
fi

0 commit comments

Comments
 (0)