diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 5bdb2ca..e552d6f 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -27,13 +27,13 @@ jobs: strategy: fail-fast: false matrix: - kind-k8s-version: [1.26.15, 1.27.13, 1.28.9, 1.29.4, 1.30.0] + kind-k8s-version: [1.27.16, 1.28.15, 1.29.10, 1.30.6, 1.31.2] steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Create K8s Kind Cluster uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0 with: - version: v0.23.0 + version: v0.25.0 cluster_name: vault-plugin-auth-kubernetes node_image: kindest/node:v${{ matrix.kind-k8s-version }} - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 181c3e3..bb4411f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## Unreleased +### Build: +* Test with k8s versions 1.27-1.31 + + ### Dependency updates * `github.com/hashicorp/go-sockaddr` v1.0.6 -> v1.0.7 * `github.com/hashicorp/vault/api` v1.14.0 -> v1.15.0 diff --git a/Makefile b/Makefile index ec9c531..c3b8e87 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ TESTARGS ?= '-test.v' KIND_CLUSTER_NAME ?= vault-plugin-auth-kubernetes # kind k8s version -KIND_K8S_VERSION ?= v1.26.2 +KIND_K8S_VERSION ?= v1.31.2 .PHONY: default default: dev @@ -52,7 +52,7 @@ setup-integration-test: teardown-integration-test vault-image kind --name $(KIND_CLUSTER_NAME) load docker-image hashicorp/vault:dev kubectl --context="kind-$(KIND_CLUSTER_NAME)" create namespace test kubectl --context="kind-$(KIND_CLUSTER_NAME)" label namespaces test target=integration-test other=label - helm upgrade --install vault vault --repo https://helm.releases.hashicorp.com --version=0.25.0 \ + helm upgrade --install vault vault --repo https://helm.releases.hashicorp.com --version=0.29.0 \ --kube-context="kind-$(KIND_CLUSTER_NAME)" \ --wait --timeout=5m \ --namespace=test \