From 007126fa9450dd7224ac703b5b944cfd25dd5d06 Mon Sep 17 00:00:00 2001 From: Triona Doyle Date: Mon, 8 Jun 2026 15:52:16 +0100 Subject: [PATCH] fix(ci): hardcode kustomize download to bypass github api rate limits Signed-off-by: Triona Doyle --- openshift-ci/build-root/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openshift-ci/build-root/Dockerfile b/openshift-ci/build-root/Dockerfile index 6680e791d82..9753f1d4877 100644 --- a/openshift-ci/build-root/Dockerfile +++ b/openshift-ci/build-root/Dockerfile @@ -3,6 +3,7 @@ FROM registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.21-openshift-4.16 ARG KUBECTL_KUTTL_VERSION=0.12.1 +ARG KUSTOMIZE_VERSION=v5.1.1 ARG OPERATOR_SDK_VERSION=1.35.0 # Install kubectl tool which is used in e2e-tests @@ -18,8 +19,7 @@ RUN curl -sSL -o /usr/local/bin/argocd https://github.com/argoproj/argo-cd/relea chmod +x /usr/local/bin/argocd # Install Kustomize -RUN wget https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh && \ - bash install_kustomize.sh /usr/local/bin && rm install_kustomize.sh +RUN curl -sSL https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2F${KUSTOMIZE_VERSION}/kustomize_${KUSTOMIZE_VERSION}_linux_amd64.tar.gz | tar -xz -C /usr/local/bin # Install operator-sdk RUN curl -L -o /usr/local/bin/operator-sdk https://github.com/operator-framework/operator-sdk/releases/download/v${OPERATOR_SDK_VERSION}/operator-sdk_linux_amd64 && \