From 3f798b4f332dc1727575b76a515f422948e4770c Mon Sep 17 00:00:00 2001 From: Matteo Mortari Date: Sun, 8 Dec 2024 11:24:59 +0100 Subject: [PATCH] chore: change release image versions (#170) Signed-off-by: tarilabs --- config/manager/manager.yaml | 2 +- config/overlays/odh/params.env | 4 ++-- internal/controller/config/defaults.go | 7 ++++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 4e0385b..9e84340 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -76,7 +76,7 @@ spec: - name: GRPC_IMAGE value: quay.io/opendatahub/mlmd-grpc-server:latest - name: REST_IMAGE - value: quay.io/opendatahub/model-registry:latest + value: quay.io/opendatahub/model-registry:v0.2.11 - name: ENABLE_WEBHOOKS value: "false" - name: CREATE_AUTH_RESOURCES diff --git a/config/overlays/odh/params.env b/config/overlays/odh/params.env index 2aa4030..af43fb5 100644 --- a/config/overlays/odh/params.env +++ b/config/overlays/odh/params.env @@ -1,5 +1,5 @@ -IMAGES_MODELREGISTRY_OPERATOR=quay.io/opendatahub/model-registry-operator:latest +IMAGES_MODELREGISTRY_OPERATOR=quay.io/opendatahub/model-registry-operator:v0.2.11 IMAGES_GRPC_SERVICE=quay.io/opendatahub/mlmd-grpc-server:latest -IMAGES_REST_SERVICE=quay.io/opendatahub/model-registry:latest +IMAGES_REST_SERVICE=quay.io/opendatahub/model-registry:v0.2.11 CREATE_AUTH_RESOURCES=true DEFAULT_CERT= \ No newline at end of file diff --git a/internal/controller/config/defaults.go b/internal/controller/config/defaults.go index 89553ab..e1aae47 100644 --- a/internal/controller/config/defaults.go +++ b/internal/controller/config/defaults.go @@ -19,6 +19,9 @@ package config import ( "context" "embed" + "strings" + "text/template" + configv1 "github.com/openshift/api/config/v1" "github.com/spf13/viper" v1 "k8s.io/api/core/v1" @@ -26,8 +29,6 @@ import ( "k8s.io/apimachinery/pkg/types" "sigs.k8s.io/controller-runtime/pkg/client" klog "sigs.k8s.io/controller-runtime/pkg/log" - "strings" - "text/template" ) //go:embed templates/*.yaml.tmpl @@ -38,7 +39,7 @@ const ( GrpcImage = "GRPC_IMAGE" RestImage = "REST_IMAGE" DefaultGrpcImage = "quay.io/opendatahub/mlmd-grpc-server:latest" - DefaultRestImage = "quay.io/opendatahub/model-registry:latest" + DefaultRestImage = "quay.io/opendatahub/model-registry:v0.2.11" RouteDisabled = "disabled" RouteEnabled = "enabled"