Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: change release image versions for v0.2.13 #184

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-image-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.21.13'
go-version: '1.22.11'
- name: Generate Tag
shell: bash
id: tags
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.21.13'
go-version: '1.22.11'
- name: Build
run: make build
- name: Check if there are uncommitted file changes
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM registry.access.redhat.com/ubi8/go-toolset:1.21.13 AS builder
FROM registry.access.redhat.com/ubi8/go-toolset:1.22 AS builder
ARG TARGETOS
ARG TARGETARCH

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ test: manifests generate fmt vet govulncheck envtest ## Run tests.
##@ Build

.PHONY: build
build: sync-images manifests generate fmt vet govulncheck ## Build manager binary.
build: sync-images manifests generate fmt vet ## Build manager binary.
go build -o bin/manager cmd/main.go

.PHONY: run
Expand Down
2 changes: 1 addition & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.13
- name: ENABLE_WEBHOOKS
value: "false"
- name: CREATE_AUTH_RESOURCES
Expand Down
4 changes: 2 additions & 2 deletions config/overlays/odh/params.env
Original file line number Diff line number Diff line change
@@ -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.13
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.13
CREATE_AUTH_RESOURCES=true
DEFAULT_CERT=
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/opendatahub-io/model-registry-operator

go 1.21
go 1.22

toolchain go1.22.11

require (
github.com/banzaicloud/k8s-objectmatcher v1.8.0
Expand Down
7 changes: 4 additions & 3 deletions internal/controller/config/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,16 @@ 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"
"k8s.io/apimachinery/pkg/api/resource"
"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
Expand All @@ -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.13"
RouteDisabled = "disabled"
RouteEnabled = "enabled"

Expand Down