airshipctl/manifests/function/hwcc/rbac/hardwareclassification_viewer_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

21 lines
367 B
YAML

# permissions to do viewer hardwareclassifications.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: hardwareclassification-viewer-role
rules:
- apiGroups:
- metal3.io
resources:
- hardwareclassifications
verbs:
- get
- list
- watch
- apiGroups:
- metal3.io
resources:
- hardwareclassifications/status
verbs:
- get