Skip to content

Commit

Permalink
Add acceleratorprofiles from dashboard as new CRD (opendatahub-io#569)
Browse files Browse the repository at this point in the history
Signed-off-by: Wen Zhou <wenzhou@redhat.com>
  • Loading branch information
zdtsw authored Sep 27, 2023
1 parent f1dddc1 commit 82687d6
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
10 changes: 10 additions & 0 deletions bundle/manifests/opendatahub-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,16 @@ spec:
- pipelineloops
verbs:
- '*'
- apiGroups:
- dashboard.opendatahub.io
resources:
- acceleratorprofiles
verbs:
- create
- delete
- get
- list
- patch
- apiGroups:
- dashboard.opendatahub.io
resources:
Expand Down
10 changes: 10 additions & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,16 @@ rules:
- pipelineloops
verbs:
- '*'
- apiGroups:
- dashboard.opendatahub.io
resources:
- acceleratorprofiles
verbs:
- create
- delete
- get
- list
- patch
- apiGroups:
- dashboard.opendatahub.io
resources:
Expand Down
1 change: 1 addition & 0 deletions controllers/datasciencecluster/kubebuilder_rbac.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ package datasciencecluster
// +kubebuilder:rbac:groups="console.openshift.io",resources=odhquickstarts,verbs=create;get;patch;list;delete
// +kubebuilder:rbac:groups="dashboard.opendatahub.io",resources=odhdocuments,verbs=create;get;patch;list;delete
// +kubebuilder:rbac:groups="dashboard.opendatahub.io",resources=odhapplications,verbs=create;get;patch;list;delete
// +kubebuilder:rbac:groups="dashboard.opendatahub.io",resources=acceleratorprofiles,verbs=create;get;patch;list;delete

// +kubebuilder:rbac:groups="operators.coreos.com",resources=clusterserviceversions,verbs=get;list;watch
// +kubebuilder:rbac:groups="operators.coreos.com",resources=customresourcedefinitions,verbs=create;get;patch;delete
Expand Down

0 comments on commit 82687d6

Please sign in to comment.