opendatahub-io / model-registry-operator

Apache License 2.0
3 stars 17 forks source link

Add support for creating a Route for ModelRegistry http REST service, fixes #19 #29

Closed dhirajsb closed 10 months ago

dhirajsb commented 10 months ago

Description

Added template and logic to create an OpenShift Route only if the controller is running in an OpenShift cluster. Fixes #19

How Has This Been Tested?

Tested by setting the rest spec flag ServiceRoute to enabled in sample model registry manually to verify that Route is created. Tested Route by using curl against the hostname created by OpenShift.

Merge criteria:

dhirajsb commented 10 months ago

This only exposes the HTTP endpoint right now, because there are issues with doing the same for gRPC. It appears that the gRPC connection needs to be a secured SSL connection for Routes, and there are issues in SSL configuration in mlmd.