Skip to content

Commit 4c16188

Browse files
Merge pull request opendatahub-io#105 from rimolive/rmartine
Remove ViewerCRD deployment
2 parents 26e1285 + b3a5e24 commit 4c16188

34 files changed

+1
-510
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ When a `DataSciencePipelinesApplication` is deployed, the following components a
195195
* APIServer
196196
* Persistence Agent
197197
* Scheduled Workflow controller
198-
* Viewer CRD controller
199198
* MLPipelines UI
200199

201200
If specified in the `DataSciencePipelinesApplication` resource, the following components may also be additionally deployed:

api/v1alpha1/dspipeline_types.go

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ type DSPASpec struct {
2929
*PersistenceAgent `json:"persistenceAgent,omitempty"`
3030
// +kubebuilder:default:={deploy: true}
3131
*ScheduledWorkflow `json:"scheduledWorkflow,omitempty"`
32-
// +kubebuilder:default:={deploy: false}
33-
*ViewerCRD `json:"viewerCRD,omitempty"`
3432
// +kubebuilder:default:={mariaDB: {deploy: true}}
3533
*Database `json:"database,omitempty"`
3634
// +kubebuilder:validation:Optional
@@ -108,16 +106,6 @@ type ScheduledWorkflow struct {
108106
Resources *ResourceRequirements `json:"resources,omitempty"`
109107
}
110108

111-
type ViewerCRD struct {
112-
// +kubebuilder:default:=false
113-
// +kubebuilder:validation:Optional
114-
Deploy bool `json:"deploy"`
115-
Image string `json:"image,omitempty"`
116-
// +kubebuilder:default:=50
117-
MaxNumViewer int `json:"maxNumViewer,omitempty"`
118-
Resources *ResourceRequirements `json:"resources,omitempty"`
119-
}
120-
121109
type MlPipelineUI struct {
122110
// +kubebuilder:default:=true
123111
// +kubebuilder:validation:Optional

api/v1alpha1/zz_generated.deepcopy.go

Lines changed: 0 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/base/kustomization.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,6 @@ vars:
4343
apiVersion: v1
4444
fieldref:
4545
fieldpath: data.IMAGES_SCHEDULEDWORKFLOW
46-
- name: IMAGES_VIEWERCRD
47-
objref:
48-
kind: ConfigMap
49-
name: dspo-parameters
50-
apiVersion: v1
51-
fieldref:
52-
fieldpath: data.IMAGES_VIEWERCRD
5346
- name: IMAGES_CACHE
5447
objref:
5548
kind: ConfigMap

config/base/params.env

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ IMAGES_APISERVER=quay.io/opendatahub/ds-pipelines-api-server:main-0e8a011
22
IMAGES_ARTIFACT=quay.io/opendatahub/ds-pipelines-artifact-manager:main-0e8a011
33
IMAGES_PERSISTENTAGENT=quay.io/opendatahub/ds-pipelines-persistenceagent:main-0e8a011
44
IMAGES_SCHEDULEDWORKFLOW=quay.io/opendatahub/ds-pipelines-scheduledworkflow:main-0e8a011
5-
IMAGES_VIEWERCRD=quay.io/opendatahub/ds-pipelines-viewercontroller:main-0e8a011
65
IMAGES_CACHE=registry.access.redhat.com/ubi8/ubi-minimal
76
IMAGES_MOVERESULTSIMAGE=registry.access.redhat.com/ubi8/ubi-micro
87
IMAGES_MARIADB=registry.redhat.io/rhel8/mariadb-103:1-188

config/configmaps/files/config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ Images:
33
Artifact: $(IMAGES_ARTIFACT)
44
PersistentAgent: $(IMAGES_PERSISTENTAGENT)
55
ScheduledWorkflow: $(IMAGES_SCHEDULEDWORKFLOW)
6-
ViewerCRD: $(IMAGES_VIEWERCRD)
76
Cache: $(IMAGES_CACHE)
87
MoveResultsImage: $(IMAGES_MOVERESULTSIMAGE)
98
MariaDB: $(IMAGES_MARIADB)

config/crd/bases/datasciencepipelinesapplications.opendatahub.io_datasciencepipelinesapplications.yaml

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -494,56 +494,6 @@ spec:
494494
type: object
495495
type: object
496496
type: object
497-
viewerCRD:
498-
default:
499-
deploy: false
500-
properties:
501-
deploy:
502-
default: false
503-
type: boolean
504-
image:
505-
type: string
506-
maxNumViewer:
507-
default: 50
508-
type: integer
509-
resources:
510-
description: ResourceRequirements structures compute resource
511-
requirements. Replaces ResourceRequirements from corev1 which
512-
also includes optional storage field. We handle storage field
513-
separately, and should not include it as a subfield for Resources.
514-
properties:
515-
limits:
516-
properties:
517-
cpu:
518-
anyOf:
519-
- type: integer
520-
- type: string
521-
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
522-
x-kubernetes-int-or-string: true
523-
memory:
524-
anyOf:
525-
- type: integer
526-
- type: string
527-
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
528-
x-kubernetes-int-or-string: true
529-
type: object
530-
requests:
531-
properties:
532-
cpu:
533-
anyOf:
534-
- type: integer
535-
- type: string
536-
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
537-
x-kubernetes-int-or-string: true
538-
memory:
539-
anyOf:
540-
- type: integer
541-
- type: string
542-
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
543-
x-kubernetes-int-or-string: true
544-
type: object
545-
type: object
546-
type: object
547497
required:
548498
- objectStorage
549499
type: object

config/crd/bases/viewers.yaml

Lines changed: 0 additions & 39 deletions
This file was deleted.

config/crd/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ resources:
22
- bases/datasciencepipelinesapplications.opendatahub.io_datasciencepipelinesapplications.yaml
33
# +kubebuilder:scaffold:crdkustomizeresource
44
- bases/scheduledworkflows.yaml
5-
- bases/viewers.yaml
65

76
configurations:
87
- kustomizeconfig.yaml

config/internal/common/policy.yaml.tmpl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ spec:
4545
matchLabels:
4646
app: ds-pipeline-scheduledworkflow-{{.Name}}
4747
component: data-science-pipelines
48-
- podSelector:
49-
matchLabels:
50-
app: ds-pipeline-viewer-crd-{{.Name}}
51-
component: data-science-pipelines
5248
ports:
5349
- protocol: TCP
5450
port: 8888

0 commit comments

Comments
 (0)