Skip to content

Commit

Permalink
Added accelerator CRD (#1451)
Browse files Browse the repository at this point in the history
* added cr

* added accelerator profile crd

* added to kustomize
  • Loading branch information
Gkrumbach07 authored Jul 3, 2023
1 parent 7fce600 commit ff64ff2
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
39 changes: 39 additions & 0 deletions manifests/crd/acceleratorprofiles.opendatahub.io.crd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: acceleratorprofiles.opendatahub.io
spec:
group: opendatahub.io
scope: Namespaced
names:
plural: acceleratorprofiles
singular: acceleratorprofile
kind: AcceleratorProfile
versions:
- name: v1alpha
served: true
storage: true
schema:
openAPIV3Schema:
type: object
required:
- spec
properties:
spec:
type: object
required:
- display-name
- enabled
- identifier
properties:
display-name:
type: string
enabled:
type: boolean
identifier:
type: string
description:
type: string
modifiedDate:
type: string

1 change: 1 addition & 0 deletions manifests/crd/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ resources:
- odhquickstarts.console.openshift.io.crd.yaml
- odhdocuments.dashboard.opendatahub.io.crd.yaml
- odhapplications.dashboard.opendatahub.io.crd.yaml
- acceleratorprofiles.opendatahub.io.crd.yaml

0 comments on commit ff64ff2

Please sign in to comment.