diff options
author | Todd Malsbary <todd.malsbary@intel.com> | 2021-03-01 13:42:21 -0800 |
---|---|---|
committer | Todd Malsbary <todd.malsbary@intel.com> | 2021-03-30 15:31:13 -0700 |
commit | 4c49c8094c158199556faff88385c8abbd97e498 (patch) | |
tree | 28463014a1fcb1ff59555f6ec62283f6c9a788cc /kud/deployment_infra/helm/node-feature-discovery/templates/clusterrolebinding.yaml | |
parent | 705fad712373e73463fff22a3136e6e92b372048 (diff) |
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 <todd.malsbary@intel.com>
Change-Id: Ie6296caf898983149483ac581428f2c80405bca8
Diffstat (limited to 'kud/deployment_infra/helm/node-feature-discovery/templates/clusterrolebinding.yaml')
-rw-r--r-- | kud/deployment_infra/helm/node-feature-discovery/templates/clusterrolebinding.yaml | 16 |
1 files changed, 16 insertions, 0 deletions
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 }} |