From cfe4785649f1a2e2f6f1db373fd099aa37df8769 Mon Sep 17 00:00:00 2001 From: Pete Brown Date: Fri, 1 Nov 2024 12:35:06 +1000 Subject: [PATCH] Fix the hypershift install The hypershift cli needs a kubeconfig to work now so our version command is failing. Will report an issue for that soon. --- Containerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index e2945cb..c3c54de 100644 --- a/Containerfile +++ b/Containerfile @@ -293,7 +293,8 @@ RUN k9s completion bash > /etc/bash_completion.d/k9s RUN ocm backplane version RUN ocm addons version RUN ocm backplane completion bash > /etc/bash_completion.d/ocm-backplane -RUN [[ $(platform_convert "@@PLATFORM@@" --amd64 --arm64) != "amd64" ]] && echo "removing non-arm64 hypershift binary" && rm ${BIN_DIR}/hypershift || hypershift --version +# removed --version command because hypershift needs a kubeconfig to work now. We can remove this when that is resolved. +RUN [[ $(platform_convert "@@PLATFORM@@" --amd64 --arm64) != "amd64" ]] && echo "removing non-arm64 hypershift binary" && rm ${BIN_DIR}/hypershift RUN rosa completion bash > /etc/bash_completion.d/rosa RUN servicelogger version RUN servicelogger completion bash > /etc/bash_completion.d/servicelogger