33a1965f00
This commit adds RBAC and initial BMH creation library code. Integrating this code to create the correct BMH will occur in a future patch. Signed-off-by: Alexander Hughes <Alexander.Hughes@pm.me> Change-Id: If865f13e8c458fb54ae3eb4dbc74105fb1de6386
47 lines
729 B
YAML
47 lines
729 B
YAML
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: cluster-manager-role
|
|
rules:
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- secrets
|
|
verbs:
|
|
- create
|
|
- get
|
|
- watch
|
|
- list
|
|
- delete
|
|
- update
|
|
- apiGroups:
|
|
- airship.airshipit.org
|
|
resources:
|
|
- vinoes
|
|
verbs:
|
|
- create
|
|
- delete
|
|
- get
|
|
- list
|
|
- patch
|
|
- update
|
|
- watch
|
|
- apiGroups:
|
|
- airship.airshipit.org
|
|
resources:
|
|
- vinoes/status
|
|
verbs:
|
|
- get
|
|
- patch
|
|
- update
|
|
- apiGroups:
|
|
- metal3.io
|
|
resources:
|
|
- baremetalhosts
|
|
verbs:
|
|
- create
|
|
- get
|
|
- list
|
|
- patch
|
|
- update |