rancher-charts/charts/rancher-provisioning-capi/103.0.0+up0.0.1/templates/role-capi-leader-election-r...

27 lines
460 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
labels:
cluster.x-k8s.io/provider: cluster-api
name: capi-leader-election-role
namespace: "{{ .Release.Namespace }}"
rules:
- apiGroups:
- ""
resources:
- events
verbs:
- create
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- get
- list
- watch
- create
- update
- patch
- delete