Skip to content

Commit c587e7d

Browse files
GDF manifest changes to add owner references to NodeFeature CRs
Aligns with upstream GFD changes. Signed-off-by: Rajath Agasthya <ragasthya@nvidia.com>
1 parent 1626bd1 commit c587e7d

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

assets/gpu-feature-discovery/0200_role.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,9 @@ rules:
2222
- watch
2323
- create
2424
- update
25+
- apiGroups:
26+
- ""
27+
resources:
28+
- "pods"
29+
verbs:
30+
- "get"

assets/gpu-feature-discovery/0500_daemonset.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ spec:
7979
valueFrom:
8080
fieldRef:
8181
fieldPath: spec.nodeName
82+
- name: POD_NAME
83+
valueFrom:
84+
fieldRef:
85+
fieldPath: metadata.name
8286
volumeMounts:
8387
- name: output-dir
8488
mountPath: "/etc/kubernetes/node-feature-discovery/features.d"

0 commit comments

Comments
 (0)