16 lines
663 B
YAML
16 lines
663 B
YAML
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: ClusterRoleBinding
|
||
|
metadata:
|
||
|
name: {{ template "k8s-triliovault-operator.name" . }}-{{ .Release.Namespace }}-manager-rolebinding
|
||
|
labels:
|
||
|
{{- include "k8s-triliovault-operator.labels" . | nindent 4 }}
|
||
|
app.kubernetes.io/instance: {{ template "k8s-triliovault-operator.appName" . }}-manager-rolebinding
|
||
|
roleRef:
|
||
|
apiGroup: rbac.authorization.k8s.io
|
||
|
kind: ClusterRole
|
||
|
name: {{ template "k8s-triliovault-operator.name" . }}-{{ .Release.Namespace }}-manager-role
|
||
|
subjects:
|
||
|
- kind: ServiceAccount
|
||
|
name: {{ template "k8s-triliovault-operator.serviceAccountName" . }}
|
||
|
namespace: {{ .Release.Namespace }}
|