1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00
node-feature-discovery/test/e2e/utils
Talor Itzhak a65278d890 e2e: podSecurity: adapt PodSecurity constraints
The tested pods have some lax spec wrt security,
hence a restrict podSecurity namespace won't allow running those pods.

In topology-updater tests, the topology-updater pod
needs to run the container as root
so change the namespace podSecurity from restricted to priviliged.

In node-feature-discovery tests, we don't need root access,
so add the required security context configuration.

Signed-off-by: Talor Itzhak <titzhak@redhat.com>
2022-11-21 12:26:36 +02:00
..
config.go test/e2e: fix segfault in case no e2e config file is specified 2022-09-14 11:00:16 +03:00
crd.go test/e2e: add tests for NodeFeatureRules 2022-10-11 17:23:52 +03:00
node.go Standardize "k8s.io/api/core/v1" package short name 2022-10-15 02:22:41 +03:00
noderesourcetopology.go Standardize "k8s.io/api/core/v1" package short name 2022-10-15 02:22:41 +03:00
pod.go e2e: podSecurity: adapt PodSecurity constraints 2022-11-21 12:26:36 +02:00
rbac.go Standardize "k8s.io/api/core/v1" package short name 2022-10-15 02:22:41 +03:00
service.go Standardize "k8s.io/api/core/v1" package short name 2022-10-15 02:22:41 +03:00