blob: 4e6264801058ae575bbba604b2de9baa347085f7 (
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 "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 }}
|