Skip to content

Commit ae370da

Browse files
authored
remove call to get latest kubectl (kubernetes-sigs#6148)
Signed-off-by: Raffaele Di Fazio <raffo@github.com>
1 parent c0b0e4b commit ae370da

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/e2e-test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ set -e
55
KO_VERSION="0.18.0"
66
KIND_VERSION="0.30.0"
77
ALPINE_VERSION="3.22"
8+
KUBECTL_VERSION="1.35.0"
89

910
echo "Starting end-to-end tests for external-dns with local provider..."
1011

@@ -20,7 +21,7 @@ kind create cluster
2021

2122
# Install kubectl
2223
echo "Installing kubectl..."
23-
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
24+
curl -LO "https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl"
2425
chmod +x kubectl
2526
sudo mv kubectl /usr/local/bin/kubectl
2627

0 commit comments

Comments
 (0)