From 0194705db3b4b6fe420957466567b24fb8d9a029 Mon Sep 17 00:00:00 2001 From: Antonin Bas Date: Wed, 24 Aug 2022 13:50:13 -0700 Subject: [PATCH] Indicate that manual Namespace creation for local ingress scale tests is intentional Signed-off-by: Antonin Bas --- test/e2e/network/scale/localrun/ingress_scale.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/e2e/network/scale/localrun/ingress_scale.go b/test/e2e/network/scale/localrun/ingress_scale.go index 6d7bc0e8691..d2990e19b65 100644 --- a/test/e2e/network/scale/localrun/ingress_scale.go +++ b/test/e2e/network/scale/localrun/ingress_scale.go @@ -131,11 +131,12 @@ func main() { } }() + // This program is meant for local testing. It creates a Namespace + // directly instead of using the e2e test framework. ns := &v1.Namespace{ ObjectMeta: metav1.ObjectMeta{ Name: testNamespace, Labels: map[string]string{ - // TODO(https://github.com/kubernetes/kubernetes/issues/108298): route namespace creation via framework.Framework.CreateNamespace in 1.24 admissionapi.EnforceLevelLabel: string(admissionapi.LevelPrivileged), }, },