From 90877dafb9864436212c6d2723bca034b61e329a Mon Sep 17 00:00:00 2001 From: Kacper Rzetelski Date: Mon, 2 Dec 2024 10:39:53 +0100 Subject: [PATCH] Fix cert-manager URL in deploy release CI script --- hack/ci-deploy-release.sh | 2 +- hack/ci-deploy.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/ci-deploy-release.sh b/hack/ci-deploy-release.sh index c0674b8d310..26dea1d082a 100755 --- a/hack/ci-deploy-release.sh +++ b/hack/ci-deploy-release.sh @@ -42,7 +42,7 @@ mkdir -p "${ARTIFACTS_DEPLOY_DIR}/"{operator,manager} kubectl_create -n=prometheus-operator -f="${source_url}/${revision}/examples/third-party/prometheus-operator.yaml" kubectl_create -n=haproxy-ingress -f="${source_url}/${revision}/examples/third-party/haproxy-ingress.yaml" -kubectl_create -f="${source_url}/${revision}/examples/common/cert-manager.yaml" +kubectl_create -f="${source_url}/${revision}/examples/third-party/cert-manager.yaml" # Wait for cert-manager crd and webhooks kubectl wait --for condition=established --timeout=60s crd/certificates.cert-manager.io crd/issuers.cert-manager.io for d in cert-manager{,-cainjector,-webhook}; do diff --git a/hack/ci-deploy.sh b/hack/ci-deploy.sh index 7054dc458ea..4f83a0edee1 100755 --- a/hack/ci-deploy.sh +++ b/hack/ci-deploy.sh @@ -28,7 +28,7 @@ cp ./deploy/manager/dev/*.yaml "${DEPLOY_DIR}/manager" cp ./deploy/operator/*.yaml "${DEPLOY_DIR}/operator" cp ./examples/third-party/prometheus-operator/*.yaml "${DEPLOY_DIR}/prometheus-operator" cp ./examples/third-party/haproxy-ingress/*.yaml "${DEPLOY_DIR}/haproxy-ingress" -cp ./examples/common/cert-manager.yaml "${DEPLOY_DIR}/" +cp ./examples/third-party/cert-manager.yaml "${DEPLOY_DIR}/" for f in $( find "${DEPLOY_DIR}"/ -type f -name '*.yaml' ); do sed -i -E -e "s~docker\.io/scylladb/scylla-operator:[^ @]+$~${OPERATOR_IMAGE_REF}~" "${f}"