test/e2e/framework: configure pod security admission level for e2e tests

This commit is contained in:
Sergiusz Urbaniak
2022-01-30 13:37:24 +01:00
parent e06e6771ef
commit 373c08e0c7
123 changed files with 297 additions and 4 deletions

View File

@@ -167,7 +167,9 @@ func (ns *Namespace) Spec() *v1.Namespace {
// LabelSelector returns the default labels that should be placed on a namespace
// in order for it to be uniquely selectable by label selectors
func (ns *Namespace) LabelSelector() map[string]string {
return map[string]string{"ns": ns.Name}
return map[string]string{
"ns": ns.Name,
}
}
// Pod is the abstract representation of what matters to network policy tests for