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/clusterrolebinding.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 kud/deployment_infra/helm/node-feature-discovery/templates/clusterrolebinding.yaml (limited to 'kud/deployment_infra/helm/node-feature-discovery/templates/clusterrolebinding.yaml') diff --git a/kud/deployment_infra/helm/node-feature-discovery/templates/clusterrolebinding.yaml b/kud/deployment_infra/helm/node-feature-discovery/templates/clusterrolebinding.yaml new file mode 100644 index 00000000..4766d9a1 --- /dev/null +++ b/kud/deployment_infra/helm/node-feature-discovery/templates/clusterrolebinding.yaml @@ -0,0 +1,16 @@ +{{- if .Values.rbac.create }} +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: {{ include "node-feature-discovery.fullname" . }} + labels: + {{- include "node-feature-discovery.labels" . | nindent 4 }} +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: {{ include "node-feature-discovery.fullname" . }} +subjects: +- kind: ServiceAccount + name: {{ include "node-feature-discovery.serviceAccountName" . }} + namespace: {{ $.Release.Namespace }} +{{- end }} -- cgit 1.2.3-korg