1
0
forked from suse-edge/Factory
Factory/endpoint-copier-operator-chart/templates/rbac/leader_election_role_binding.yaml

15 lines
489 B
YAML
Raw Normal View History

apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
labels:
{{- include "endpoint-copier-operator.labels" . | nindent 4 }}
name: {{ include "endpoint-copier-operator.fullname" . }}-leader-election
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: {{ include "endpoint-copier-operator.fullname" . }}-leader-election
subjects:
- kind: ServiceAccount
name: {{ include "endpoint-copier-operator.fullname" . }}
namespace: {{ .Release.Namespace }}