From dc230e023a3149ae9f6dc023eb40e12b97ddb023 Mon Sep 17 00:00:00 2001 From: Todd Malsbary Date: Mon, 1 Mar 2021 14:02:16 -0800 Subject: Add multus addon helm chart - Support for calico configuration is present but currently disabled. Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary Change-Id: I2d2161564c4da2e165e5cf13cea92fae4935f8b2 --- .../helm/multus-cni/templates/clusterrole.yaml | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 kud/deployment_infra/helm/multus-cni/templates/clusterrole.yaml (limited to 'kud/deployment_infra/helm/multus-cni/templates/clusterrole.yaml') diff --git a/kud/deployment_infra/helm/multus-cni/templates/clusterrole.yaml b/kud/deployment_infra/helm/multus-cni/templates/clusterrole.yaml new file mode 100644 index 00000000..1a3a87e0 --- /dev/null +++ b/kud/deployment_infra/helm/multus-cni/templates/clusterrole.yaml @@ -0,0 +1,31 @@ +{{- if .Values.rbac.create }} +kind: ClusterRole +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: {{ include "multus.fullname" . }} + labels: + {{- include "multus.labels" . | nindent 4 }} +rules: + - apiGroups: ["k8s.cni.cncf.io"] + resources: + - '*' + verbs: + - '*' + - apiGroups: + - "" + resources: + - pods + - pods/status + verbs: + - get + - update + - apiGroups: + - "" + - events.k8s.io + resources: + - events + verbs: + - create + - patch + - update +{{- end }} \ No newline at end of file -- cgit 1.2.3-korg