Skip to content

Commit 02a2930

Browse files
authored
CLOUDP-363676: Skip the quay.io prefix on make bundle (#2986)
* CLOUDP-363676: Skip the quay.io prefix on make bundle * Restore quay.io prefixing at RH posting time
1 parent 3622aa9 commit 02a2930

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ endif
7474
BUNDLE_METADATA_OPTS ?= $(BUNDLE_CHANNELS) $(BUNDLE_DEFAULT_CHANNEL)
7575

7676
# Base registry for the operator, bundle, catalog images
77-
REGISTRY ?= quay.io/mongodb
77+
REGISTRY ?= mongodb
7878
# BUNDLE_IMG defines the image:tag used for the bundle.
7979
# You can use it as an arg. (E.g make bundle-build BUNDLE_IMG=<some-registry>/<project-name-bundle>:<tag>)
8080
BUNDLE_IMG ?= $(REGISTRY)/mongodb-atlas-kubernetes-operator-prerelease-bundle:$(VERSION)

scripts/release-redhat.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ sed -i.bak 's/COPY bundle\/metadata/COPY metadata/' "${version}/bundle.Dockerfil
3131
sed -i.bak 's/COPY bundle\/tests\/scorecard/COPY tests\/scorecard/' "${version}/bundle.Dockerfile"
3232
rm "${version}/bundle.Dockerfile.bak"
3333

34-
yq e -i '.metadata.annotations.containerImage = .metadata.annotations.containerImage' \
34+
yq e -i '.metadata.annotations.containerImage = "quay.io/" + .metadata.annotations.containerImage' \
3535
"${repo}/${version}"/manifests/mongodb-atlas-kubernetes.clusterserviceversion.yaml
3636

37-
yq e -i '.spec.install.spec.deployments[0].spec.template.spec.containers[0].image = .spec.install.spec.deployments[0].spec.template.spec.containers[0].image' \
37+
yq e -i '.spec.install.spec.deployments[0].spec.template.spec.containers[0].image = "quay.io/" + .spec.install.spec.deployments[0].spec.template.spec.containers[0].image' \
3838
"${repo}/${version}"/manifests/mongodb-atlas-kubernetes.clusterserviceversion.yaml
3939

4040
# commit

0 commit comments

Comments
 (0)