Skip to content

Commit

Permalink
Merge pull request #2220 from rzetelskik/cert-manager-url-fix-1.15
Browse files Browse the repository at this point in the history
[v1.15] Fix cert-manager URL in deploy release CI script
  • Loading branch information
scylla-operator-bot[bot] authored Dec 2, 2024
2 parents c2b346d + 90877da commit 14f702c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hack/ci-deploy-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion hack/ci-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 14f702c

Please sign in to comment.