diff --git a/.github/scripts/kind.sh b/.github/scripts/kind.sh index ec53c35fe..aa09e6244 100755 --- a/.github/scripts/kind.sh +++ b/.github/scripts/kind.sh @@ -4,6 +4,9 @@ set -o errexit set -o nounset set -o pipefail +wget -q https://github.com/kubernetes-sigs/kind/releases/download/v0.20.0/kind-linux-amd64 +chmod +x kind-linux-amd64 && mv kind-linux-amd64 /usr/local/bin/kind + K8SVERSION=${K8SVERSION:-"v1.25.3"} WORKSPACE=${WORKSPACE:-$PWD} diff --git a/.github/workflows/kube.yml b/.github/workflows/kube.yml index e47ffd830..a6bb82099 100644 --- a/.github/workflows/kube.yml +++ b/.github/workflows/kube.yml @@ -23,9 +23,7 @@ jobs: steps: - name: work with kubernetes run: | - wget -q https://github.com/kubernetes-sigs/kind/releases/download/v0.20.0/kind-linux-amd64 - chmod +x kind-linux-amd64 && mv kind-linux-amd64 /usr/local/bin/kind - ./github/scripts/kind.sh + ./.github/scripts/kind.sh - name: chmod if: always() run: |