From a09e0f53e9627acf41fab94bfbed0b4fd2c62fec Mon Sep 17 00:00:00 2001 From: Muneeb Aijaz <43588696+MuneebAijaz@users.noreply.github.com> Date: Wed, 30 Oct 2024 16:20:09 +0500 Subject: [PATCH] fix kubectl version command (#451) --- .github/workflows/push.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 491318a7..5be5c4a1 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -49,8 +49,7 @@ jobs: run: | curl -LO "https://storage.googleapis.com/kubernetes-release/release/v${KUBERNETES_VERSION}/bin/linux/amd64/kubectl" sudo install ./kubectl /usr/local/bin/ && rm kubectl - kubectl version --short --client - kubectl version --short --client | grep -q ${KUBERNETES_VERSION} + kubectl version --client=true - name: Install Kind run: |