diff --git a/content/en/docs/tasks/traffic-management/ingress/ingress-sni-passthrough/gtwapi_test.sh b/content/en/docs/tasks/traffic-management/ingress/ingress-sni-passthrough/gtwapi_test.sh index 8338a36bf4..e95c5c62e8 100644 --- a/content/en/docs/tasks/traffic-management/ingress/ingress-sni-passthrough/gtwapi_test.sh +++ b/content/en/docs/tasks/traffic-management/ingress/ingress-sni-passthrough/gtwapi_test.sh @@ -18,14 +18,11 @@ source "tests/util/gateway-api.sh" install_gateway_api_crds -# @setup profile=none -istioctl install --set profile=minimal -y +# @setup profile=minimal source "content/en/docs/tasks/traffic-management/ingress/ingress-sni-passthrough/test.sh" # @cleanup snip_cleanup_2 snip_cleanup_3 snip_cleanup_4 -istioctl uninstall --purge -y -kubectl delete ns istio-system remove_gateway_api_crds diff --git a/tests/setup/profile_minimal/doc_test.go b/tests/setup/profile_minimal/doc_test.go index c9e4463304..54f133330b 100644 --- a/tests/setup/profile_minimal/doc_test.go +++ b/tests/setup/profile_minimal/doc_test.go @@ -37,11 +37,20 @@ func TestDocs(t *testing.T) { } func setupConfig(ctx resource.Context, cfg *istio.Config) { + // FIXME: test framework does not honor profile=minimal config at present, + // hence we have to explicitly disable the gateways. cfg.ControlPlaneValues = ` -profile: minimal values: pilot: env: PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING: true +components: + egressGateways: + - enabled: false + name: istio-egressgateway + ingressGateways: + - enabled: false + name: istio-ingressgateway ` + cfg.DeployEastWestGW = false }