2024-03-06 00:36:08 +08:00
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
kind: ClusterRole
|
|
|
|
metadata:
|
|
|
|
name: node-feature-discovery
|
|
|
|
rules:
|
|
|
|
- apiGroups:
|
|
|
|
- ""
|
|
|
|
resources:
|
|
|
|
- nodes
|
|
|
|
- nodes/status
|
|
|
|
verbs:
|
|
|
|
- get
|
|
|
|
- patch
|
|
|
|
- update
|
|
|
|
- list
|
|
|
|
- apiGroups:
|
|
|
|
- nfd.k8s-sigs.io
|
|
|
|
resources:
|
|
|
|
- nodefeatures
|
|
|
|
- nodefeaturerules
|
2024-08-19 20:59:30 +08:00
|
|
|
- nodefeaturegroups
|
2024-03-06 00:36:08 +08:00
|
|
|
verbs:
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- watch
|
2024-08-19 20:59:30 +08:00
|
|
|
- apiGroups:
|
|
|
|
- nfd.k8s-sigs.io
|
|
|
|
resources:
|
|
|
|
- nodefeaturegroup/status
|
|
|
|
verbs:
|
|
|
|
- patch
|
|
|
|
- update
|
2024-03-06 00:36:08 +08:00
|
|
|
- apiGroups:
|
|
|
|
- coordination.k8s.io
|
|
|
|
resources:
|
|
|
|
- leases
|
|
|
|
verbs:
|
|
|
|
- create
|
|
|
|
- apiGroups:
|
|
|
|
- coordination.k8s.io
|
|
|
|
resources:
|
|
|
|
- leases
|
|
|
|
resourceNames:
|
|
|
|
- "nfd-master.nfd.kubernetes.io"
|
|
|
|
verbs:
|
|
|
|
- get
|
|
|
|
- update
|
|
|
|
---
|
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
kind: ClusterRole
|
|
|
|
metadata:
|
|
|
|
name: node-feature-discovery-gc
|
|
|
|
rules:
|
|
|
|
- apiGroups:
|
|
|
|
- ""
|
|
|
|
resources:
|
|
|
|
- nodes
|
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- ""
|
|
|
|
resources:
|
|
|
|
- nodes/proxy
|
|
|
|
verbs:
|
|
|
|
- get
|
|
|
|
- apiGroups:
|
|
|
|
- topology.node.k8s.io
|
|
|
|
resources:
|
|
|
|
- noderesourcetopologies
|
|
|
|
verbs:
|
|
|
|
- delete
|
|
|
|
- list
|
|
|
|
- apiGroups:
|
|
|
|
- nfd.k8s-sigs.io
|
|
|
|
resources:
|
|
|
|
- nodefeatures
|
|
|
|
verbs:
|
|
|
|
- delete
|
|
|
|
- list
|