Skip to content

Commit

Permalink
test: Fix bad update to install_karpenter.sh bash script (aws#7007)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-innis authored Sep 13, 2024
1 parent c925158 commit 174aa72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/hack/e2e_scripts/diff_karpenter.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CHART="oci://$ECR_ACCOUNT_ID.dkr.ecr.$ECR_REGION.amazonaws.com/karpenter/snapshot/karpenter"
if (( "$PRIVATE_CLUSTER" == 'true' )); then
if [[ "$PRIVATE_CLUSTER" == "true" ]]; then
CHART="oci://$ACCOUNT_ID.dkr.ecr.$REGION.amazonaws.com/karpenter/snapshot/karpenter"
fi

Expand Down
2 changes: 1 addition & 1 deletion test/hack/e2e_scripts/install_karpenter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ aws eks update-kubeconfig --name "$CLUSTER_NAME"

CHART="oci://$ECR_ACCOUNT_ID.dkr.ecr.$ECR_REGION.amazonaws.com/karpenter/snapshot/karpenter"
ADDITIONAL_FLAGS=""
if (( "$PRIVATE_CLUSTER" == "true" )); then
if [[ "$PRIVATE_CLUSTER" == "true" ]]; then
CHART="oci://$ACCOUNT_ID.dkr.ecr.$REGION.amazonaws.com/karpenter/snapshot/karpenter"
ADDITIONAL_FLAGS="--set .Values.controller.image.repository=$ACCOUNT_ID.dkr.ecr.$REGION.amazonaws.com/karpenter/snapshot/controller --set .Values.controller.image.digest=\"\" --set .Values.postInstallHook.image.repository=$ACCOUNT_ID.dkr.ecr.$REGION.amazonaws.com/ecr-public/bitnami/kubectl --set .Values.postInstallHook.image.digest=\"\""
fi
Expand Down

0 comments on commit 174aa72

Please sign in to comment.