diff --git a/assets/gpu-feature-discovery/0200_role.yaml b/assets/gpu-feature-discovery/0200_role.yaml index 201042082..7a202bdec 100644 --- a/assets/gpu-feature-discovery/0200_role.yaml +++ b/assets/gpu-feature-discovery/0200_role.yaml @@ -12,3 +12,13 @@ rules: - use resourceNames: - privileged +- apiGroups: + - "nfd.k8s-sigs.io" + resources: + - "nodefeatures" + verbs: + - get + - list + - watch + - create + - update diff --git a/bundle/manifests/gpu-operator-certified.clusterserviceversion.yaml b/bundle/manifests/gpu-operator-certified.clusterserviceversion.yaml index 72556a489..840229f7f 100644 --- a/bundle/manifests/gpu-operator-certified.clusterserviceversion.yaml +++ b/bundle/manifests/gpu-operator-certified.clusterserviceversion.yaml @@ -847,6 +847,16 @@ spec: - watch - update - delete + - apiGroups: + - "nfd.k8s-sigs.io" + resources: + - "nodefeatures" + verbs: + - get + - list + - watch + - create + - update deployments: - name: gpu-operator spec: diff --git a/deployments/gpu-operator/templates/role.yaml b/deployments/gpu-operator/templates/role.yaml index 9e5bcede3..c566b5a17 100644 --- a/deployments/gpu-operator/templates/role.yaml +++ b/deployments/gpu-operator/templates/role.yaml @@ -82,3 +82,13 @@ rules: - watch - update - delete +- apiGroups: + - "nfd.k8s-sigs.io" + resources: + - "nodefeatures" + verbs: + - get + - list + - watch + - create + - update