Skip to content

Commit

Permalink
feat(mr): add model registry odh extras manifests, fixes RHOAIENG-5112 (
Browse files Browse the repository at this point in the history
  • Loading branch information
dhirajsb authored Jun 1, 2024
1 parent af749ec commit 7c3e81b
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion components/modelregistry/modelregistry.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,17 @@ func (m *ModelRegistry) ReconcileComponent(_ context.Context, cli client.Client,
}
// Deploy ModelRegistry Operator
err = deploy.DeployManifestsFromPath(cli, owner, Path, dscispec.ApplicationsNamespace, m.GetComponentName(), enabled)
if err != nil {
return err
}
l.Info("apply manifests done")
return err

// Create additional model registry resources, componentEnabled=true because these extras are never deleted!
err = deploy.DeployManifestsFromPath(cli, owner, Path+"/extras", dscispec.ApplicationsNamespace, m.GetComponentName(), true)
if err != nil {
return err
}
l.Info("apply extra manifests done")

return nil
}

0 comments on commit 7c3e81b

Please sign in to comment.