mirror of https://git.rancher.io/charts
16 lines
397 B
YAML
16 lines
397 B
YAML
|
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 }}"
|