aboutsummaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/helm/multus-cni/templates/clusterrolebinding.yaml
diff options
context:
space:
mode:
authorTodd Malsbary <todd.malsbary@intel.com>2021-03-01 14:02:16 -0800
committerTodd Malsbary <todd.malsbary@intel.com>2021-04-09 10:21:49 -0700
commitdc230e023a3149ae9f6dc023eb40e12b97ddb023 (patch)
tree3218e6fca169c3231d66420fa8474b1e2edd7365 /kud/deployment_infra/helm/multus-cni/templates/clusterrolebinding.yaml
parente9a12efd25a570e64b728d8fc482939a727e9214 (diff)
Add multus addon helm chart
- Support for calico configuration is present but currently disabled. Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I2d2161564c4da2e165e5cf13cea92fae4935f8b2
Diffstat (limited to 'kud/deployment_infra/helm/multus-cni/templates/clusterrolebinding.yaml')
-rw-r--r--kud/deployment_infra/helm/multus-cni/templates/clusterrolebinding.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/kud/deployment_infra/helm/multus-cni/templates/clusterrolebinding.yaml b/kud/deployment_infra/helm/multus-cni/templates/clusterrolebinding.yaml
new file mode 100644
index 00000000..4e626480
--- /dev/null
+++ b/kud/deployment_infra/helm/multus-cni/templates/clusterrolebinding.yaml
@@ -0,0 +1,16 @@
+{{- if .Values.rbac.create }}
+kind: ClusterRoleBinding
+apiVersion: rbac.authorization.k8s.io/v1
+metadata:
+ name: {{ include "multus.fullname" . }}
+ labels:
+ {{- include "multus.labels" . | nindent 4 }}
+roleRef:
+ apiGroup: rbac.authorization.k8s.io
+ kind: ClusterRole
+ name: {{ include "multus.fullname" . }}
+subjects:
+- kind: ServiceAccount
+ name: {{ include "multus.serviceAccountName" . }}
+ namespace: {{ $.Release.Namespace }}
+{{- end }} \ No newline at end of file