Skip to content

Commit

Permalink
escape comma in --set
Browse files Browse the repository at this point in the history
  • Loading branch information
czeslavo committed Nov 9, 2023
1 parent 1ccbd6d commit 5f529f9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/test-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,19 +86,18 @@ then
fi

# Configure values for all tests
# Enable Gateway API

# Enable ExpressionRoutes when testing old KIC versions.
if [[ -n "${KIC_VERSION-}" ]]; then
ADDITIONAL_FLAGS+=("--set ${CONTROLLER_PREFIX}ingressController.env.feature_gates=GatewayAlpha=true,ExpressionRoutes=true")
ADDITIONAL_FLAGS+=("--set ${CONTROLLER_PREFIX}ingressController.env.feature_gates='GatewayAlpha=true\,ExpressionRoutes=true'")
else
# Enable only Gateway API alpha otherwise.
ADDITIONAL_FLAGS+=("--set ${CONTROLLER_PREFIX}ingressController.env.feature_gates=GatewayAlpha=true")
fi

# Tests should not show up in reporting
ADDITIONAL_FLAGS+=("--set ${CONTROLLER_PREFIX}ingressController.env.anonymous_reports=false")


if [[ -n "${KONG_VERSION-}" ]]
then
ADDITIONAL_FLAGS+=("--set ${GATEWAY_PREFIX}image.tag=${KONG_VERSION}")
Expand Down

0 comments on commit 5f529f9

Please sign in to comment.