Skip to content

Commit

Permalink
Add kind e2e tests for Kubernetes v1.27.3 (#7139)
Browse files Browse the repository at this point in the history
* Update Kubernetes from 1.25.3 to 1.25.11 in KinD e2e tests

* Add Kubernetes 1.27 for KinD e2e tests

* Default new KinD cluster to Kubernetes 1.27.3
  • Loading branch information
creydr authored Aug 17, 2023
1 parent 2b02cb4 commit 9d2bcef
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/kind-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
fail-fast: false # Keep running if one leg fails.
matrix:
k8s-version:
- v1.25.3
- v1.25.11
- v1.27.3

test-suite:
- ./test/rekt/...
Expand All @@ -29,9 +30,12 @@ jobs:
# This is attempting to make it a bit clearer what's being tested.
# See: https://github.com/kubernetes-sigs/kind/releases/tag/v0.20.0
include:
- k8s-version: v1.25.3
- k8s-version: v1.25.11
kind-version: v0.20.0
kind-image-sha: sha256:cd248d1438192f7814fbca8fede13cfe5b9918746dfa12583976158a834fd5c5
kind-image-sha: sha256:227fa11ce74ea76a0474eeefb84cb75d8dad1b08638371ecf0e86259b35be0c8
- k8s-version: v1.27.3
kind-version: v0.20.0
kind-image-sha: sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72

# Add the flags we use for each of these test suites.
- test-suite: ./test/e2e
Expand Down
4 changes: 2 additions & 2 deletions hack/create-kind-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ set -o nounset
set -o pipefail

CLUSTER_SUFFIX=${CLUSTER_SUFFIX:-"cluster.local"}
NODE_VERSION=${NODE_VERSION:-"v1.20.0"}
NODE_SHA=${NODE_SHA:-"sha256:b40ecf8bcb188f6a0d0f5d406089c48588b75edc112c6f635d26be5de1c89040"}
NODE_VERSION=${NODE_VERSION:-"v1.27.3"}
NODE_SHA=${NODE_SHA:-"sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72"}

cat <<EOF | kind create cluster --config=-
apiVersion: kind.x-k8s.io/v1alpha4
Expand Down

0 comments on commit 9d2bcef

Please sign in to comment.