diff --git a/test/resilience/tests/envoygateway.go b/test/resilience/tests/envoygateway.go index d4ad6fde9d3..95634ca6079 100644 --- a/test/resilience/tests/envoygateway.go +++ b/test/resilience/tests/envoygateway.go @@ -68,7 +68,7 @@ var EGResilience = suite.ResilienceTest{ t.Log("Simulating API server connection failure for all pods") err = suite.WithResCleanUp(ctx, t, func() (client.Object, error) { - return suite.Kube().ManageEgress(ctx, apiServerIP, namespace, policyName, true, map[string]string{}) + return suite.Kube().ManageEgress(ctx, apiServerIP, namespace, policyName, true, map[string]string{"app.kubernetes.io/name": "gateway-helm"}) }) require.NoError(t, err, "Failed to simulate API server connection failure")