rancher-charts/charts/rancher-provisioning-capi/104.0.0+up0.3.0/templates/rolebinding-capi-leader-ele...

16 lines
397 B
YAML
Raw Normal View History

apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
labels:
cluster.x-k8s.io/provider: cluster-api
name: capi-leader-election-rolebinding
namespace: "{{ .Release.Namespace }}"
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: capi-leader-election-role
subjects:
- kind: ServiceAccount
name: capi-manager
namespace: "{{ .Release.Namespace }}"