airshipctl/manifests/function/hwcc/rbac/leader_election_role.yaml
Rajat Sharma 57a543478c Add manifests for Hardware-Classification-Controller
Adding Deployment manifests and README.md
Relates-To-Issue: #78

Change-Id: I9fd1aa39a19bd1d60bdbed826016aeb0786bb188
Co-Authored-By: Ashu Kumar <ashughorla@gmail.com>
2020-08-18 09:31:04 +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