mirror of https://github.com/istio/istio.io.git
Migrate ingress-sni-passthrough test to minimal profile setup (#12576)
* Migrate ingress-sni-passthrough test to profile minimal Signed-off-by: Faseela K <faseela.k@est.tech> * fix after snapshot test Signed-off-by: Faseela K <faseela.k@est.tech> * update minimal profile Signed-off-by: Faseela K <faseela.k@est.tech> * Fix cleanup test error Signed-off-by: Faseela K <faseela.k@est.tech> * review comments Signed-off-by: Faseela K <faseela.k@est.tech> --------- Signed-off-by: Faseela K <faseela.k@est.tech>
This commit is contained in:
parent
3897ae5e15
commit
d8faad8fe3
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue