airshipctl/manifests/function/capm3/v0.3.1/rbac/leader_election_role.yaml
Dmitry Ukov 5cf6528dee Add CAPI Metal3 prodvider
Version 0.3.1 has been used as a basis for this function

Closes: #161
Change-Id: I7c15fdff0a0cb2ba90295d0a403f737ee4398deb
2020-04-27 17:42:14 +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