You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
478 B
15 lines
478 B
{{ if and .Values.starrocksOperator.enabled .Values.global.rbac.create }}
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: RoleBinding
|
|
metadata:
|
|
name: cn-leader-election-rolebinding
|
|
namespace: {{ template "operator.namespace" . }}
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: Role
|
|
name: cn-leader-election-role
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: {{ template "operator.serviceAccountName" . }}
|
|
namespace: {{ template "operator.namespace" . }}
|
|
{{- end }}
|
|
|