diff options
author | Ritu Sood <ritu.sood@intel.com> | 2021-04-30 21:23:37 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-04-30 21:23:37 +0000 |
commit | 44edb464dcc62a4693e71e3f3ceb18bbcf27e70c (patch) | |
tree | 9ffea76bb30b8c63bcc6853d03abef1fbee5a279 /kud/deployment_infra/helm/node-feature-discovery/templates/clusterrolebinding.yaml | |
parent | da059633bfc66d591b660cc375cfca6c910a1f4a (diff) | |
parent | 4c49c8094c158199556faff88385c8abbd97e498 (diff) |
Merge "Add nfd addon helm chart"
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 }} |