summaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/helm/ovn4nfv/templates/clusterrolebinding.yaml
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2021-05-05 23:14:09 +0000
committerGerrit Code Review <gerrit@onap.org>2021-05-05 23:14:09 +0000
commite6fbe6c0d75098e29143b4f8e4b21207c0ec51a3 (patch)
tree607bd72301880a33f0ad360783fb19f38546ff55 /kud/deployment_infra/helm/ovn4nfv/templates/clusterrolebinding.yaml
parente5c8b88b92debaa52fb6dcbd0b2b288d22a57752 (diff)
parent61dc8e7b3aa13852dfde84dad4e6152178dd298d (diff)
Merge "Add ovn4nfv addon helm chart"
Diffstat (limited to 'kud/deployment_infra/helm/ovn4nfv/templates/clusterrolebinding.yaml')
-rw-r--r--kud/deployment_infra/helm/ovn4nfv/templates/clusterrolebinding.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/kud/deployment_infra/helm/ovn4nfv/templates/clusterrolebinding.yaml b/kud/deployment_infra/helm/ovn4nfv/templates/clusterrolebinding.yaml
new file mode 100644
index 00000000..0891458a
--- /dev/null
+++ b/kud/deployment_infra/helm/ovn4nfv/templates/clusterrolebinding.yaml
@@ -0,0 +1,16 @@
+{{- if .Values.rbac.create }}
+kind: ClusterRoleBinding
+apiVersion: rbac.authorization.k8s.io/v1
+metadata:
+ name: {{ include "ovn4nfv.fullname" . }}
+ labels:
+ {{- include "ovn4nfv.labels" . | nindent 4 }}
+roleRef:
+ apiGroup: rbac.authorization.k8s.io
+ kind: ClusterRole
+ name: {{ include "ovn4nfv.fullname" . }}
+subjects:
+- apiGroup: rbac.authorization.k8s.io
+ kind: Group
+ name: system:serviceaccounts
+{{- end }}