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/clusterrole.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/clusterrole.yaml')
-rw-r--r-- | kud/deployment_infra/helm/node-feature-discovery/templates/clusterrole.yaml | 21 |
1 files changed, 21 insertions, 0 deletions
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 }} |