airshipctl/manifests/function/capi/v0.3.3/rbac/leader_election_role.yaml
Dmitry Ukov 719c347197 Add CAPI function
Forked kustomization from 0.3.3 release

Change-Id: Ib84914f8e00d4e35c3670095b56e2c4dd33d1650
2020-04-27 17:45:34 +04:00

34 lines
420 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