Skip to content

Commit a043246

Browse files
authored
update helm and kind (#450)
* update helm and kind * gha matrix nums to strings
1 parent 8d586c2 commit a043246

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
runs-on: ubuntu-20.04
105105
strategy:
106106
matrix:
107-
k8sVersion: [1.14, 1.15, 1.16, 1.17, 1.18, 1.19]
107+
k8sVersion: ["1.16", "1.17", "1.18", "1.19", "1.20", "1.21"]
108108
steps:
109109
- name: Set up Go 1.x
110110
uses: actions/setup-go@v2

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<p>
66
<a href="https://github.com/kubernetes/kubernetes/releases">
7-
<img src="https://img.shields.io/badge/Kubernetes-%3E%3D%201.11-brightgreen" alt="kubernetes">
7+
<img src="https://img.shields.io/badge/Kubernetes-%3E%3D%201.16-brightgreen" alt="kubernetes">
88
</a>
99
<a href="https://golang.org/doc/go1.16">
1010
<img src="https://img.shields.io/github/go-mod/go-version/aws/aws-node-termination-handler?color=blueviolet" alt="go-version">

test/eks-cluster-test/cluster-spec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ kind: ClusterConfig
44
metadata:
55
name: nth-eks-cluster-test
66
region: us-west-2
7-
version: '1.16'
7+
version: '1.20'
88
cloudWatch:
99
clusterLogging:
1010
enableTypes: ["*"]

test/k8s-compatibility-test/run-k8s-compatibility-test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
set -euo pipefail
33

44
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
5-
versions=("1.18" "1.17" "1.16" "1.15" "1.14" "1.13" "1.12")
5+
versions=("1.21" "1.20" "1.19" "1.18" "1.17" "1.16")
66
E_CODE=0
77
AFTER_FIRST_RUN_ARGS=""
88
PASS_THRU_ARGS=""
99

1010
USAGE=$(cat << 'EOM'
1111
Usage: run-k8s-compatability-test [-h]
12-
Executes the spot termination integration test for each version of kubernetes (k8s 1.12 - 1.18 supported)
12+
Executes the spot termination integration test for each version of kubernetes (k8s 1.16 - 1.21 supported)
1313
1414
Examples:
1515
# run test with direct download of go modules

test/k8s-local-cluster-test/provision-cluster

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@ OVERRIDE_PATH=0
99
KIND_CONFIG_FILE=$SCRIPTPATH/kind-three-node-cluster.yaml
1010

1111
# shellcheck disable=SC2034
12-
K8_1_19="kindest/node:v1.19.1@sha256:98cf5288864662e37115e362b23e4369c8c4a408f99cbc06e58ac30ddc721600"
12+
K8_1_21="kindest/node:v1.21.1@sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6"
1313
# shellcheck disable=SC2034
14-
K8_1_18="kindest/node:v1.18.8@sha256:f4bcc97a0ad6e7abaf3f643d890add7efe6ee4ab90baeb374b4f41a4c95567eb"
14+
K8_1_20="kindest/node:v1.20.70@sha256:cbeaf907fc78ac97ce7b625e4bf0de16e3ea725daf6b04f930bd14c67c671ff9"
1515
# shellcheck disable=SC2034
16-
K8_1_17="kindest/node:v1.17.11@sha256:5240a7a2c34bf241afb54ac05669f8a46661912eab05705d660971eeb12f6555"
16+
K8_1_19="kindest/node:v1.19.11@sha256:07db187ae84b4b7de440a73886f008cf903fcf5764ba8106a9fd5243d6f32729"
1717
# shellcheck disable=SC2034
18-
K8_1_16="kindest/node:v1.16.15@sha256:a89c771f7de234e6547d43695c7ab047809ffc71a0c3b65aa54eda051c45ed20"
18+
K8_1_18="kindest/node:v1.18.19@sha256:7af1492e19b3192a79f606e43c35fb741e520d195f96399284515f077b3b622c"
1919
# shellcheck disable=SC2034
20-
K8_1_15="kindest/node:v1.15.12@sha256:d9b939055c1e852fe3d86955ee24976cab46cba518abcb8b13ba70917e6547a6"
20+
K8_1_17="kindest/node:v1.17.17@sha256:66f1d0d91a88b8a001811e2f1054af60eef3b669a9a74f9b6db871f2f1eeed00"
2121
# shellcheck disable=SC2034
22-
K8_1_14="kindest/node:v1.14.10@sha256:ce4355398a704fca68006f8a29f37aafb49f8fc2f64ede3ccd0d9198da910146"
22+
K8_1_16="kindest/node:v1.16.15@sha256:83067ed51bf2a3395b24687094e283a7c7c865ccc12a8b1d7aa673ba0c5e8861"
2323

24-
K8_VERSION="$K8_1_17"
24+
K8_VERSION="$K8_1_20"
2525
KUBECTL_VERSION=$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)
26-
KIND_VERSION="0.9.0"
27-
HELM_VERSION="3.3.1"
26+
KIND_VERSION="0.11.1"
27+
HELM_VERSION="3.6.0"
2828

2929
echoerr() { echo "$@" 1>&2; }
3030

@@ -33,7 +33,7 @@ USAGE=$(cat << 'EOM'
3333
Executes the spot termination integration test for the Node Termination Handler.
3434
Outputs the cluster context directory to stdout on successful completion
3535
36-
Example: provision-cluster -b my-test -i 123 -v 1.16
36+
Example: provision-cluster -b my-test -i 123 -v 1.20
3737
3838
Optional:
3939
-b Base Name of cluster

test/k8s-local-cluster-test/run-test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ USAGE=$(cat << 'EOM'
135135
-n Node Termination Handler Docker Image
136136
-d use GOPROXY=direct to bypass proxy.golang.org
137137
-o Override path w/ your own kubectl and kind binaries
138-
-v Kubernetes Version (Default: 1.16) [1.12, 1.13, 1.14, 1.15, 1.16, 1.17, and 1.18]
138+
-v Kubernetes Version (Default: 1.20) [1.16, 1.17, 1.18, 1.19, 1.20, and 1.21]
139139
-w Webhook Docker Image
140140
141141
EOM

0 commit comments

Comments
 (0)