Skip to content

Commit

Permalink
[multicluster] gwapi tests need not install istio gateways (#15662)
Browse files Browse the repository at this point in the history
Signed-off-by: Faseela K <[email protected]>
  • Loading branch information
kfaseela authored Sep 6, 2024
1 parent b09d537 commit 0bf4192
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions content/en/docs/setup/install/external-controlplane/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,18 @@ _verify_like snip_deploy_a_sample_application_3 "$snip_deploy_a_sample_applicati

_verify_contains snip_deploy_a_sample_application_4 "Hello version: v1"

# Install ingress with istioctl
echo y | snip_enable_gateways_1
if [ "$GATEWAY_API" != "true" ]; then
# Install ingress with istioctl
echo y | snip_enable_gateways_1

# And egress with helm
_rewrite_helm_repo snip_enable_gateways_4
# And egress with helm
_rewrite_helm_repo snip_enable_gateways_4

_verify_same kubectl_get_egress_gateway_for_remote_cluster "Running"
_verify_same kubectl_get_egress_gateway_for_remote_cluster "Running"
fi

if [ "$GATEWAY_API" == "true" ]; then
snip_install_crds
snip_configure_and_test_an_ingress_gateway_4
snip_configure_and_test_an_ingress_gateway_6
else
Expand Down

0 comments on commit 0bf4192

Please sign in to comment.