Skip to content

Commit

Permalink
chore: rename upstream operator to project-quay (#928)
Browse files Browse the repository at this point in the history
* Revert "chore: fix yq script"

This reverts commit ce015df.

* Revert "chore: bundle.package.v1 should match CSV name, i.e. be quay-operator (#920)"

This reverts commit 012186d.

* chore: rename upstream operator to project-quay
  • Loading branch information
Oleg Bulatov authored Jun 3, 2024
1 parent ce015df commit 81b4922
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions hack/prepare-upstream.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ yq eval -i '
.metadata.annotations["olm.skipRange"] = (">=3.6.x <${RELEASE}" | envsubst) |
.metadata.annotations["quay-version"] = strenv(RELEASE) |
.metadata.annotations.containerImage = ("quay.io/projectquay/quay-operator:${RELEASE}" | envsubst) |
.metadata.name = ("quay-operator.v${RELEASE}" | envsubst) |
.metadata.name = ("project-quay.v${RELEASE}" | envsubst) |
.spec.install.spec.deployments[0].spec.template.spec.containers[0].image = ("quay.io/projectquay/quay-operator:${RELEASE}" | envsubst) |
.spec.install.spec.deployments[0].spec.template.spec.containers[0].env[] |= (
select(.name == "RELATED_IMAGE_COMPONENT_BUILDER").value = ("quay.io/projectquay/quay-builder:${RELEASE}" | envsubst) |
Expand All @@ -49,5 +49,8 @@ yq eval -i '

yq eval -i '
.annotations["operators.operatorframework.io.bundle.channel.default.v1"] = strenv(DEFAULT_CHANNEL) |
.annotations["operators.operatorframework.io.bundle.channels.v1"] = strenv(CHANNEL)
.annotations["operators.operatorframework.io.bundle.channels.v1"] = strenv(CHANNEL) |
.annotations["operators.operatorframework.io.bundle.package.v1"] = "project-quay"
' ./bundle/metadata/annotations.yaml

mv ./bundle/manifests/quay-operator.clusterserviceversion.yaml ./bundle/manifests/project-quay.clusterserviceversion.yaml

0 comments on commit 81b4922

Please sign in to comment.