vino/config/rbac/leader_election_role.yaml
Alexander Hughes 439feeb5a6 kubebuilder init
- Adds apache license
- Adds basic structure of project via
  kubebuilder init \
  --domain airshipit.org \
  --license apache2 \
  --repo github.com/att-comdev/vino

Signed-off-by: Alexander Hughes <Alexander.Hughes@pm.me>
2020-11-19 15:28:17 -05: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