diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index ba14e23..d6d662d 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -76,7 +76,7 @@ spec: - name: GRPC_IMAGE value: gcr.io/tfx-oss-public/ml_metadata_store_server:1.14.0 - name: REST_IMAGE - value: quay.io/opendatahub/model-registry:latest + value: quay.io/opendatahub/model-registry:v0.1.2 - name: ENABLE_WEBHOOKS value: "false" securityContext: diff --git a/config/overlays/odh/params.env b/config/overlays/odh/params.env index 6f63341..406413a 100644 --- a/config/overlays/odh/params.env +++ b/config/overlays/odh/params.env @@ -1,3 +1,3 @@ -IMAGES_MODELREGISTRY_OPERATOR=quay.io/opendatahub/model-registry-operator:latest +IMAGES_MODELREGISTRY_OPERATOR=quay.io/opendatahub/model-registry-operator:v0.1.2 IMAGES_GRPC_SERVICE=gcr.io/tfx-oss-public/ml_metadata_store_server:1.14.0 -IMAGES_REST_SERVICE=quay.io/opendatahub/model-registry:latest \ No newline at end of file +IMAGES_REST_SERVICE=quay.io/opendatahub/model-registry:v0.1.2 \ No newline at end of file diff --git a/internal/controller/config/defaults.go b/internal/controller/config/defaults.go index 60fc0ff..a01018a 100644 --- a/internal/controller/config/defaults.go +++ b/internal/controller/config/defaults.go @@ -18,10 +18,11 @@ package config import ( "embed" + "text/template" + "github.com/spf13/viper" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" - "text/template" ) //go:embed templates/*.yaml.tmpl @@ -31,7 +32,7 @@ const ( GrpcImage = "GRPC_IMAGE" RestImage = "REST_IMAGE" DefaultGrpcImage = "gcr.io/tfx-oss-public/ml_metadata_store_server:1.14.0" - DefaultRestImage = "quay.io/opendatahub/model-registry:latest" + DefaultRestImage = "quay.io/opendatahub/model-registry:v0.1.2" RouteDisabled = "disabled" RouteEnabled = "enabled" )