From 670070a879f26bd671dbb70efc42031253179cdb Mon Sep 17 00:00:00 2001 From: stefanprodan Date: Mon, 20 Jul 2020 14:37:50 +0300 Subject: [PATCH] Drop support for Kubernetes <1.16 --- .github/workflows/e2e.yaml | 4 +++- cmd/tk/check.go | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 6d1de1ae..9002c0ff 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -24,7 +24,9 @@ jobs: with: go-version: 1.14.x - name: Setup Kubernetes - uses: engineerd/setup-kind@v0.3.0 + uses: engineerd/setup-kind@v0.4.0 + with: + image: kindest/node:v1.16.9 - name: Run test run: make test - name: Check if working tree is dirty diff --git a/cmd/tk/check.go b/cmd/tk/check.go index 78f5cd95..2b376ccc 100644 --- a/cmd/tk/check.go +++ b/cmd/tk/check.go @@ -67,7 +67,7 @@ func runCheckCmd(cmd *cobra.Command, args []string) error { checkFailed = true } - if !kubernetesCheck(">=1.14.0") { + if !kubernetesCheck(">=1.16.0") { checkFailed = true }