mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-04-13 15:56:24 +00:00
This commit adds Helm chart for node-feature-discovery Signed-off-by: Adrian Chiris <adrianc@nvidia.com> Signed-off-by: Ivan Kolodiazhnyi <ikolodiazhny@nvidia.com>
21 lines
487 B
YAML
21 lines
487 B
YAML
{{- if .Values.rbac.create }}
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: {{ include "node-feature-discovery.fullname" . }}
|
|
labels:
|
|
{{- include "node-feature-discovery.labels" . | nindent 4 }}
|
|
rules:
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- nodes
|
|
# when using command line flag --resource-labels to create extended resources
|
|
# you will need to uncomment "- nodes/status"
|
|
# - nodes/status
|
|
verbs:
|
|
- get
|
|
- patch
|
|
- update
|
|
- list
|
|
{{- end }}
|