aboutsummaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/helm/ovn4nfv/templates/clusterrolebinding.yaml
blob: 0891458ac4d68197a463fc2282d57f2771b79670 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 }}