infra4talos/apps-kustomized/node-feature-discovery/charts/node-feature-discovery/templates/role.yaml
Martyn Ranyard 9ce01b80d7 Make the gpus selectable
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2024-02-21 14:45:29 +00:00

19 lines
424 B
YAML

{{- if .Values.worker.rbac.create }}
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: {{ include "node-feature-discovery.fullname" . }}-worker
namespace: {{ include "node-feature-discovery.namespace" . }}
labels:
{{- include "node-feature-discovery.labels" . | nindent 4 }}
rules:
- apiGroups:
- nfd.k8s-sigs.io
resources:
- nodefeatures
verbs:
- create
- get
- update
{{- end }}