Skip to content

Commit

Permalink
feat: Operator adding OpenShift route for online feature server
Browse files Browse the repository at this point in the history
Signed-off-by: Abdul Hameed <ahameed@redhat.com>
  • Loading branch information
redhatHameed committed Jan 29, 2025
1 parent 5992364 commit 83e3e5d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions infra/feast-operator/internal/controller/services/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,16 @@ func (feast *FeastServices) Deploy() error {
if err = feast.deployFeastServiceByType(OnlineFeastType); err != nil {
return err
}
if err = feast.createRoute(OnlineFeastType); err != nil {
return err
}
} else {
if err := feast.removeFeastServiceByType(OnlineFeastType); err != nil {
return err
}
if err := feast.removeRoute(OnlineFeastType); err != nil {
return err
}
}

if feast.isLocalRegistry() {
Expand Down

0 comments on commit 83e3e5d

Please sign in to comment.