From 5fedd599b803437b28dab6366e6362ce95200ab1 Mon Sep 17 00:00:00 2001 From: Faseela K Date: Fri, 6 Sep 2024 17:51:27 +0200 Subject: [PATCH] [multicluster] gwapi tests need not install istio gateways Signed-off-by: Faseela K --- .../setup/install/external-controlplane/test.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/content/en/docs/setup/install/external-controlplane/test.sh b/content/en/docs/setup/install/external-controlplane/test.sh index ebaf20c59036..6970c097c0d6 100644 --- a/content/en/docs/setup/install/external-controlplane/test.sh +++ b/content/en/docs/setup/install/external-controlplane/test.sh @@ -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