Skip to content

Commit 56dcbe3

Browse files
committed
Generate quay.io registry manifests for installation
Signed-off-by: Aitor Perez Cedres <acedres@vmware.com>
1 parent 365ab6b commit 56dcbe3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,12 @@ deploy-kind: check-env-docker-repo git-commit-sha manifests deploy-namespace-rba
102102
kustomize build config/crd | kubectl apply -f -
103103
kustomize build config/default/overlays/kind | sed 's@((operator_docker_image))@"$(DOCKER_REGISTRY_SERVER)/$(OPERATOR_IMAGE):$(GIT_COMMIT)"@' | kubectl apply -f -
104104

105+
QUAY_IO_OPERATOR_IMAGE ?= quay.io/rabbitmqoperator/cluster-operator:latest
105106
# Builds a single-file installation manifest to deploy the Operator
106107
generate-installation-manifest:
107108
mkdir -p releases
108109
kustomize build config/installation/ > releases/rabbitmq-cluster-operator.yaml
110+
ytt -f releases/rabbitmq-cluster-operator.yaml -f config/ytt/overlay-manager-image.yaml --data-value operator_image=$(QUAY_IO_OPERATOR_IMAGE) > releases/rabbitmq-cluster-operator-quay-io.yaml
109111

110112
# Build the docker image
111113
docker-build: check-env-docker-repo git-commit-sha

0 commit comments

Comments
 (0)