Skip to content

Commit

Permalink
Add defaults for Kserve for new install
Browse files Browse the repository at this point in the history
  • Loading branch information
VaishnaviHire committed Nov 28, 2023
1 parent 6eb6d4a commit 8bd2782
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion pkg/upgrade/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ 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 @@ -169,7 +170,18 @@ func CreateDefaultDSC(cli client.Client, platform deploy.Platform) error {
Component: components.Component{ManagementState: operatorv1.Managed},
},
Kserve: kserve.Kserve{
Component: components.Component{ManagementState: operatorv1.Managed},
Component: components.Component{
ManagementState: operatorv1.Managed,
},
Serving: infrav1.ServingSpec{
ManagementState: operatorv1.Managed,
Name: "knative-serving",
IngressGateway: infrav1.IngressGatewaySpec{
Certificate: infrav1.CertificateSpec{
Type: "SelfSigned",
},
},
},
},
CodeFlare: codeflare.CodeFlare{
Component: components.Component{ManagementState: operatorv1.Removed},
Expand Down

0 comments on commit 8bd2782

Please sign in to comment.