- apiVersion: rbac.authorization.k8s.io/v1
- kind: RoleBinding
- metadata:
- name: leader-election-rolebinding
- roleRef:
- apiGroup: rbac.authorization.k8s.io
- kind: Role
- name: leader-election-role
- subjects:
- - kind: ServiceAccount
- name: controller-manager
- namespace: system
|