diff --git a/Makefile.prod b/Makefile.prod index 4bebfd563..9cd12cec8 100644 --- a/Makefile.prod +++ b/Makefile.prod @@ -29,7 +29,7 @@ BUNDLE_METADATA_OPTS ?= $(BUNDLE_CHANNELS) $(BUNDLE_DEFAULT_CHANNEL) # # For example, running 'make bundle-build bundle-push catalog-build catalog-push' will build and push both # kiegroup.org/kogito-serverless-operator-bundle:$VERSION and kiegroup.org/kogito-serverless-operator-catalog:$VERSION. -IMAGE_TAG_BASE ?= registry.redhat.io/openshift-serverless-1-tech-preview/logic-rhel8-operator +IMAGE_TAG_BASE ?= registry.redhat.io/openshift-serverless-1/logic-rhel8-operator # BUNDLE_IMG defines the image:tag used for the bundle. # You can use it as an arg. (E.g make bundle-build BUNDLE_IMG=/:) diff --git a/bundle.prod/manifests/logic-operator-rhel8-builder-config_v1_configmap.yaml b/bundle.prod/manifests/logic-operator-rhel8-builder-config_v1_configmap.yaml index 76405972e..23980249b 100644 --- a/bundle.prod/manifests/logic-operator-rhel8-builder-config_v1_configmap.yaml +++ b/bundle.prod/manifests/logic-operator-rhel8-builder-config_v1_configmap.yaml @@ -2,7 +2,7 @@ apiVersion: v1 data: DEFAULT_BUILDER_RESOURCE_NAME: Dockerfile DEFAULT_WORKFLOW_EXTENSION: .sw.json - Dockerfile: "FROM registry.redhat.io/openshift-serverless-1-tech-preview/logic-swf-builder-rhel8:latest + Dockerfile: "FROM registry.redhat.io/openshift-serverless-1/logic-swf-builder-rhel8:latest AS builder\n\n# variables that can be overridden by the builder\n# To add a Quarkus extension to your application\nARG QUARKUS_EXTENSIONS\n# Args to pass to the Quarkus CLI add extension command\nARG QUARKUS_ADD_EXTENSION_ARGS\n# Additional java/mvn arguments to pass to the builder\n diff --git a/bundle.prod/manifests/logic-operator-rhel8.clusterserviceversion.yaml b/bundle.prod/manifests/logic-operator-rhel8.clusterserviceversion.yaml index 5851cba00..c99c16ced 100644 --- a/bundle.prod/manifests/logic-operator-rhel8.clusterserviceversion.yaml +++ b/bundle.prod/manifests/logic-operator-rhel8.clusterserviceversion.yaml @@ -560,7 +560,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: registry.redhat.io/openshift-serverless-1-tech-preview/logic-rhel8-operator@sha256:cdc81719192f2dfdf8a1d366cda54347462acba3425f48a61b29631f191284fa + image: registry.redhat.io/openshift-serverless-1/logic-rhel8-operator@sha256:cdc81719192f2dfdf8a1d366cda54347462acba3425f48a61b29631f191284fa livenessProbe: httpGet: path: /healthz @@ -652,6 +652,6 @@ spec: relatedImages: - image: registry.redhat.io/openshift4/ose-kube-rbac-proxy@sha256:4564ca3dc5bac80d6faddaf94c817fbbc270698a9399d8a21ee1005d85ceda56 name: kube-rbac-proxy - - image: registry.redhat.io/openshift-serverless-1-tech-preview/logic-rhel8-operator@sha256:cdc81719192f2dfdf8a1d366cda54347462acba3425f48a61b29631f191284fa + - image: registry.redhat.io/openshift-serverless-1/logic-rhel8-operator@sha256:cdc81719192f2dfdf8a1d366cda54347462acba3425f48a61b29631f191284fa name: manager version: 1.33.0 diff --git a/config/manager/prod/kustomization.yaml b/config/manager/prod/kustomization.yaml index b5c4b41b8..2927ad31e 100644 --- a/config/manager/prod/kustomization.yaml +++ b/config/manager/prod/kustomization.yaml @@ -20,7 +20,7 @@ kind: Kustomization images: - digest: sha256:cdc81719192f2dfdf8a1d366cda54347462acba3425f48a61b29631f191284fa name: controller - newName: registry.redhat.io/openshift-serverless-1-tech-preview/logic-rhel8-operator + newName: registry.redhat.io/openshift-serverless-1/logic-rhel8-operator # Patching the manager deployment file to add an env var with the operator namespace in patchesJson6902: - patch: |- diff --git a/config/manager/prod/sonataflow_builder_dockerfile.yaml b/config/manager/prod/sonataflow_builder_dockerfile.yaml index d09c4c40c..4ad16b64d 100644 --- a/config/manager/prod/sonataflow_builder_dockerfile.yaml +++ b/config/manager/prod/sonataflow_builder_dockerfile.yaml @@ -1,4 +1,4 @@ -FROM registry.redhat.io/openshift-serverless-1-tech-preview/logic-swf-builder-rhel8:latest AS builder +FROM registry.redhat.io/openshift-serverless-1/logic-swf-builder-rhel8:latest AS builder # variables that can be overridden by the builder # To add a Quarkus extension to your application diff --git a/config/manifests/prod/bases/logic-operator-rhel8.clusterserviceversion.yaml b/config/manifests/prod/bases/logic-operator-rhel8.clusterserviceversion.yaml index 41a1378f4..6eb08d0cc 100644 --- a/config/manifests/prod/bases/logic-operator-rhel8.clusterserviceversion.yaml +++ b/config/manifests/prod/bases/logic-operator-rhel8.clusterserviceversion.yaml @@ -200,11 +200,11 @@ spec: provider: name: Red Hat relatedImages: - - image: registry.redhat.io/openshift-serverless-1-tech-preview/logic-operator-rhel8:1.33.0 + - image: registry.redhat.io/openshift-serverless-1/logic-operator-rhel8:1.33.0 name: IMAGE_LOGIC_SWF_OPERATOR - - image: registry.redhat.io/openshift-serverless-1-tech-preview/logic-swf-devmode-rhel8:1.33.0 + - image: registry.redhat.io/openshift-serverless-1/logic-swf-devmode-rhel8:1.33.0 name: IMAGE_LOGIC_SWF_DEVMODE - - image: registry.redhat.io/openshift-serverless-1-tech-preview/logic-swf-builder-rhel8:1.33.0 + - image: registry.redhat.io/openshift-serverless-1/logic-swf-builder-rhel8:1.33.0 name: IMAGE_LOGIC_SWF_BUILDER - image: registry.redhat.io/openshift4/ose-kube-rbac-proxy@sha256:4564ca3dc5bac80d6faddaf94c817fbbc270698a9399d8a21ee1005d85ceda56 name: IMAGE_KUBE_RBAC_PROXY diff --git a/controllers/platform/platformutils_test.go b/controllers/platform/platformutils_test.go index f1119036d..0132bb2ff 100644 --- a/controllers/platform/platformutils_test.go +++ b/controllers/platform/platformutils_test.go @@ -43,9 +43,9 @@ func TestSonataFlowBuildController(t *testing.T) { assert.True(t, foundDefault) // 2 - Let's try to override using the productized image - platform.Spec.Build.Config.BaseImage = "registry.access.redhat.com/openshift-serverless-1-tech-preview/logic-swf-builder-rhel8" + platform.Spec.Build.Config.BaseImage = "registry.access.redhat.com/openshift-serverless-1/logic-swf-builder-rhel8" resProductized := GetCustomizedBuilderDockerfile(dockerfile, *platform) - foundProductized, err := regexp.MatchString("FROM registry.access.redhat.com/openshift-serverless-1-tech-preview/logic-swf-builder-rhel8 AS builder", resProductized) + foundProductized, err := regexp.MatchString("FROM registry.access.redhat.com/openshift-serverless-1/logic-swf-builder-rhel8 AS builder", resProductized) assert.NoError(t, err) assert.True(t, foundProductized) } diff --git a/images/prod-bundle-image.yaml b/images/prod-bundle-image.yaml index 51ebb27bc..5760a5003 100644 --- a/images/prod-bundle-image.yaml +++ b/images/prod-bundle-image.yaml @@ -13,7 +13,7 @@ # limitations under the License. schema_version: 1 -name: "openshift-serverless-1-tech-preview/logic-operator-bundle" +name: "openshift-serverless-1/logic-operator-bundle" description: "OpenShift Serverless Logic Operator Bundle" version: "1.33.0" from: "scratch" diff --git a/images/prod-operator-image.yaml b/images/prod-operator-image.yaml index 523398ec7..aee814a7f 100644 --- a/images/prod-operator-image.yaml +++ b/images/prod-operator-image.yaml @@ -39,7 +39,7 @@ - ppc64le - aarch64 -- name: "openshift-serverless-1-tech-preview/logic-rhel8-operator" +- name: "openshift-serverless-1/logic-rhel8-operator" version: "1.33.0" from: "registry.access.redhat.com/ubi8/ubi-micro:latest" description: "Runtime Image for the Red Hat OpenShift Serverless Logic Operator"