1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-06 16:57:10 +00:00
node-feature-discovery/test/e2e
adrianc 3f012c2d5a
Add support running with OwnerReferencesPermissionEnforcement
when OwnerReferencesPermissionEnforcement validating webhook is
enabled additional permissions are required to set/update owner ref
field. NFD worker sets/updates NodeFeature owner ref field to
the worker pod and owning daemonset.

owner reference can only be updated if the worker has delete permissions
for NodeFeatures.

if owner reference has blockOwnerDeletion (as the case for the daemonset
owner reference) then it requires update permissions to the finalizers
of the owner, to avoid this, we set blockOwnerDeleteion to false for all
owners referenced from NFD worker pod when setting/updating NodeFeature
owner ref.

Signed-off-by: adrianc <adrianc@nvidia.com>
2025-01-08 13:44:30 +02:00
..
data deploy: add CR restrictions to the helm config 2024-09-16 16:02:42 +02:00
utils Add support running with OwnerReferencesPermissionEnforcement 2025-01-08 13:44:30 +02:00
e2e-test-config.example.yaml source/cpu: drop deprecated cpu-rdt labels 2023-12-22 17:29:00 +02:00
e2e_test.go test/e2e: simplify TestMain 2024-08-12 14:17:27 +03:00
framework.go Makefile: add env var controls to make test targets configurable 2023-12-08 17:48:00 +01:00
gomega.go Use non-exp maps package 2023-12-12 17:31:25 +02:00
nfd_gc_test.go Move NFD api to a separate go mod 2024-04-05 16:35:47 +02:00
node_feature_discovery_test.go Cleanup for NodeFeature API being GA 2024-12-13 15:40:46 +02:00
topology_updater_test.go test/e2e: specify -sleep-interval in topology-updater exclude-memory test 2024-07-16 12:47:08 +03:00