leader_election_role_binding.yaml 541 B

12345678910111213141516171819
  1. apiVersion: rbac.authorization.k8s.io/v1
  2. kind: RoleBinding
  3. metadata:
  4. labels:
  5. app.kubernetes.io/name: rolebinding
  6. app.kubernetes.io/instance: leader-election-rolebinding
  7. app.kubernetes.io/component: rbac
  8. app.kubernetes.io/created-by: nodb
  9. app.kubernetes.io/part-of: nodb
  10. app.kubernetes.io/managed-by: kustomize
  11. name: leader-election-rolebinding
  12. roleRef:
  13. apiGroup: rbac.authorization.k8s.io
  14. kind: Role
  15. name: leader-election-role
  16. subjects:
  17. - kind: ServiceAccount
  18. name: controller-manager
  19. namespace: system