mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 09:52:49 +00:00
Indicate that manual Namespace creation for local ingress scale tests is intentional
Signed-off-by: Antonin Bas <abas@vmware.com>
This commit is contained in:
parent
62b77b7c01
commit
0194705db3
@ -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),
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user