airshipctl/manifests/function/cabpk/v0.3.7/rbac/leader_election_role.yaml
Sreejith Punnapuzha cf1f55f3ca upgrade cabpk to v0.3.7
* upgrade cabpk to v0.3.7

Change-Id: Ib6343048eccc95e4b941cf83103cc763b866c687
Signed-off-by: Sreejith Punnapuzha <sreejith.punnapuzha@outlook.com>
2020-09-14 19:58:12 +00: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