From 4c49c8094c158199556faff88385c8abbd97e498 Mon Sep 17 00:00:00 2001 From: Todd Malsbary Date: Mon, 1 Mar 2021 13:42:21 -0800 Subject: Add nfd addon helm chart This change adds iavf, qat, and pci device labels to the node feature discovery config. Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary Change-Id: Ie6296caf898983149483ac581428f2c80405bca8 --- .../templates/clusterrole.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 kud/deployment_infra/helm/node-feature-discovery/templates/clusterrole.yaml (limited to 'kud/deployment_infra/helm/node-feature-discovery/templates/clusterrole.yaml') diff --git a/kud/deployment_infra/helm/node-feature-discovery/templates/clusterrole.yaml b/kud/deployment_infra/helm/node-feature-discovery/templates/clusterrole.yaml new file mode 100644 index 00000000..a4da2303 --- /dev/null +++ b/kud/deployment_infra/helm/node-feature-discovery/templates/clusterrole.yaml @@ -0,0 +1,21 @@ +{{- 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 }} -- cgit 1.2.3-korg