From d83622c05d6ab558390530d556ca7758072b1fb4 Mon Sep 17 00:00:00 2001 From: Reed Schalo Date: Mon, 21 Oct 2024 13:22:34 -0700 Subject: [PATCH] fix: env var in test (#7260) --- test/hack/e2e_scripts/install_karpenter.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/hack/e2e_scripts/install_karpenter.sh b/test/hack/e2e_scripts/install_karpenter.sh index 0a4d93bc4855..ac55078469f8 100755 --- a/test/hack/e2e_scripts/install_karpenter.sh +++ b/test/hack/e2e_scripts/install_karpenter.sh @@ -1,10 +1,10 @@ aws eks update-kubeconfig --name "$CLUSTER_NAME" # First, conditionally install the webhook stanza and CRDs -if (( "$WEBHOOKS_ENABLED" == 'false' )); then +if (( "$WEBHOOKS_ENABLED" == false )); then helm upgrade --install karpenter-crd oci://public.ecr.aws/karpenter/karpenter-crd \ --namespace kube-system \ - --version $(git describe --tags --abbrev=0 | cut -c 2-) \ + --version "0-$(git rev-parse HEAD)" \ --set webhook.enabled=${WEBHOOKS_ENABLED} \ --wait fi