Skip to content

Commit

Permalink
Revert "Update defaults for modelmesh" (opendatahub-io#146)
Browse files Browse the repository at this point in the history
(cherry picked from commit e5a27c4)
(cherry picked from commit 7389619)
  • Loading branch information
zdtsw authored and VaishnaviHire committed Dec 11, 2023
1 parent 1c6f95c commit 9c1cca0
Show file tree
Hide file tree
Showing 3 changed files with 1,847 additions and 14 deletions.
1,844 changes: 1,844 additions & 0 deletions bundle/manifests/rhods-operator.clusterserviceversion.yaml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions config/samples/dscinitialization_v1_dscinitialization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ spec:
managementState: "Managed"
namespace: 'opendatahub'
applicationsNamespace: 'opendatahub'

16 changes: 2 additions & 14 deletions pkg/upgrade/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ import (
"github.com/opendatahub-io/opendatahub-operator/v2/components/ray"
"github.com/opendatahub-io/opendatahub-operator/v2/components/trustyai"
"github.com/opendatahub-io/opendatahub-operator/v2/components/workbenches"
infrav1 "github.com/opendatahub-io/opendatahub-operator/v2/infrastructure/v1"
"github.com/opendatahub-io/opendatahub-operator/v2/pkg/cluster"
"github.com/opendatahub-io/opendatahub-operator/v2/pkg/deploy"
)
Expand Down Expand Up @@ -157,24 +156,13 @@ func CreateDefaultDSC(cli client.Client, platform deploy.Platform) error {
Component: components.Component{ManagementState: operatorv1.Managed},
},
ModelMeshServing: modelmeshserving.ModelMeshServing{
Component: components.Component{ManagementState: operatorv1.Managed},
Component: components.Component{ManagementState: operatorv1.Removed},
},
DataSciencePipelines: datasciencepipelines.DataSciencePipelines{
Component: components.Component{ManagementState: operatorv1.Managed},
},
Kserve: kserve.Kserve{
Component: components.Component{
ManagementState: operatorv1.Managed,
},
Serving: infrav1.ServingSpec{
ManagementState: operatorv1.Managed,
Name: "knative-serving",
IngressGateway: infrav1.IngressGatewaySpec{
Certificate: infrav1.CertificateSpec{
Type: "SelfSigned",
},
},
},
Component: components.Component{ManagementState: operatorv1.Managed},
},
CodeFlare: codeflare.CodeFlare{
Component: components.Component{ManagementState: operatorv1.Removed},
Expand Down

0 comments on commit 9c1cca0

Please sign in to comment.