airshipctl/manifests/function/cacpk/v0.3.3/rbac/leader_election_role.yaml
Dmitry Ukov 9f1916d8dd Add CAPI ControlPlane provider Kubeadm
Forked kustomization from 0.3.3 release

Change-Id: I7e7074fe6e68aff4c3280567160ebb25bd9f7780
2020-04-27 17:47:03 +04:00

33 lines
419 B
YAML

# permissions to do leader election.
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: leader-election-role
rules:
- apiGroups:
- ""
resources:
- configmaps
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- ""
resources:
- configmaps/status
verbs:
- get
- update
- patch
- apiGroups:
- ""
resources:
- events
verbs:
- create