Skip to content

Commit

Permalink
fix: env var in test (#7260)
Browse files Browse the repository at this point in the history
  • Loading branch information
rschalo authored Oct 21, 2024
1 parent 39718d7 commit a96df68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/hack/e2e_scripts/install_karpenter.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit a96df68

Please sign in to comment.