diff options
author | Ritu Sood <ritu.sood@intel.com> | 2021-04-30 21:19:28 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-04-30 21:19:28 +0000 |
commit | da059633bfc66d591b660cc375cfca6c910a1f4a (patch) | |
tree | 1ad02d5088b8f272ecf46aa8eb83f89d7ae840c2 /kud/deployment_infra/helm/multus-cni/templates/clusterrole.yaml | |
parent | 9a1819ffb933052b4d18bfe71d965940f40140bf (diff) | |
parent | dc230e023a3149ae9f6dc023eb40e12b97ddb023 (diff) |
Merge "Add multus addon helm chart"
Diffstat (limited to 'kud/deployment_infra/helm/multus-cni/templates/clusterrole.yaml')
-rw-r--r-- | kud/deployment_infra/helm/multus-cni/templates/clusterrole.yaml | 31 |
1 files changed, 31 insertions, 0 deletions
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 |