airshipctl/manifests/function/capd/v0.3.7/rbac/leader_election_role.yaml
Rishabh Kumar Jain 809b6234a5 Integrate docker provider (capd) with airshipctl
* add documentation for docker provider (capd)
  * add manifests for docker provider (capd)
  * add cluster templates for control plane and workers
  * add site definition to use docker provider (capd) with
    control plane and workers

Change-Id: I36a643774ce2e468b70ab29568bface3da537d41
2020-09-10 21:24:40 +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