Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
Add dashboard config CRD
Browse files Browse the repository at this point in the history
  • Loading branch information
maroroman committed May 23, 2022
1 parent 674b4c9 commit 81eac68
Show file tree
Hide file tree
Showing 2 changed files with 104 additions and 0 deletions.
1 change: 1 addition & 0 deletions odh-dashboard/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ resources:
- deployment.yaml
- routes.yaml
- service.yaml
- odh-dashboard-crd.yaml
103 changes: 103 additions & 0 deletions odh-dashboard/base/odh-dashboard-crd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: odhdashboards.opendatahub.io
spec:
group: opendatahub.io
scope: Namespaced
names:
plural: odhdashboards
singular: odhdashboard
kind: OdhDashboard
versions:
- name: v1alpha
served: true
storage: true
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
dashboardConfig:
type: object
properties:
enablement:
type: boolean
disableInfo:
type: boolean
disableSupport:
type: boolean
disableClusterManager:
type: boolean
disableTracking:
type: boolean
disableBYONImageStream:
type: boolean
disableISVBadges:
type: boolean
notebookSizes:
type: array
items:
type: object
required:
- name
- resources
properties:
name:
type: string
resources:
type: object
properties:
requests:
type: object
properties:
cpu:
type: string
memory:
type: string
limits:
type: object
properties:
cpu:
type: string
memory:
type: string
notebookController:
type: object
properties:
enabled:
type: boolean
gpuConfig:
type: object
properties:
enabled:
type: boolean
envVarConfig:
type: object
properties:
enabled:
type: boolean
notebookControllerState:
type: array
items:
type: object
properties:
user:
type: string
lastSelectedImage:
type: string
lastSelectedSize:
type: string
environmentVariables:
type: array
items:
type: object
properties:
key:
type: string
value:
type: string
secrets:
type: string

0 comments on commit 81eac68

Please sign in to comment.