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

Add dashboard config CRD #561

Merged
merged 3 commits into from
Jul 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: odhdashboardconfigs.opendatahub.io
spec:
group: opendatahub.io
scope: Namespaced
names:
plural: odhdashboardconfigs
singular: odhdashboardconfig
kind: OdhDashboardConfig
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:
maroroman marked this conversation as resolved.
Show resolved Hide resolved
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