Skip to content

Commit

Permalink
feat: set ModelReg and KFTO default to Managed in ODH (opendatahub-io…
Browse files Browse the repository at this point in the history
…#1207)

Signed-off-by: Wen Zhou <wenzhou@redhat.com>
  • Loading branch information
zdtsw authored Aug 28, 2024
1 parent ab7e04e commit e2a329b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ metadata:
"managementState": "Managed"
},
"modelregistry": {
"managementState": "Removed"
"managementState": "Managed"
},
"ray": {
"managementState": "Managed"
},
"trainingoperator": {
"managementState": "Removed"
"managementState": "Managed"
},
"trustyai": {
"managementState": "Managed"
Expand Down
4 changes: 2 additions & 2 deletions config/samples/datasciencecluster_v1_datasciencecluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ spec:
kueue:
managementState: "Managed"
trainingoperator:
managementState: "Removed"
managementState: "Managed"
ray:
managementState: "Managed"
workbenches:
managementState: "Managed"
trustyai:
managementState: "Managed"
modelregistry:
managementState: "Removed"
managementState: "Managed"
4 changes: 2 additions & 2 deletions pkg/upgrade/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ func CreateDefaultDSC(ctx context.Context, cli client.Client) error {
Component: components.Component{ManagementState: operatorv1.Managed},
},
ModelRegistry: modelregistry.ModelRegistry{
Component: components.Component{ManagementState: operatorv1.Removed},
Component: components.Component{ManagementState: operatorv1.Managed},
},
TrainingOperator: trainingoperator.TrainingOperator{
Component: components.Component{ManagementState: operatorv1.Removed},
Component: components.Component{ManagementState: operatorv1.Managed},
},
},
},
Expand Down

0 comments on commit e2a329b

Please sign in to comment.