Skip to content

Commit ae11d64

Browse files
committed
ci: test across several k8s versions
1 parent 5ec3f83 commit ae11d64

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/tests.yaml

+24
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,13 @@ jobs:
108108

109109
apply:
110110
runs-on: ubuntu-latest
111+
strategy:
112+
matrix:
113+
include:
114+
- node_image: kindest/node:v1.32.2@sha256:f226345927d7e348497136874b6d207e0b32cc52154ad8323129352923a3142f
115+
- node_image: kindest/node:v1.31.6@sha256:28b7cbb993dfe093c76641a0c95807637213c9109b761f1d422c2400e22b8e87
116+
- node_image: kindest/node:v1.30.10@sha256:4de75d0e82481ea846c0ed1de86328d821c1e6a6a91ac37bf804e5313670e507
117+
111118
steps:
112119
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
113120

@@ -121,6 +128,11 @@ jobs:
121128

122129
- name: Create k8s KinD Cluster
123130
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
131+
with:
132+
# NOTE: default is 0.26.0 https://github.com/helm/kind-action/blob/a1b0e391336a6ee6713a0583f8c6240d70863de3/kind.sh#L21
133+
# so bump this manually
134+
version: v0.27.0
135+
node_image: ${{ matrix.node_image }}
124136

125137
- name: Verify installing CRDs via kustomize works
126138
run: make install
@@ -130,6 +142,13 @@ jobs:
130142

131143
CRDs-validation:
132144
runs-on: ubuntu-latest
145+
strategy:
146+
matrix:
147+
include:
148+
- node_image: kindest/node:v1.32.2@sha256:f226345927d7e348497136874b6d207e0b32cc52154ad8323129352923a3142f
149+
- node_image: kindest/node:v1.31.6@sha256:28b7cbb993dfe093c76641a0c95807637213c9109b761f1d422c2400e22b8e87
150+
- node_image: kindest/node:v1.30.10@sha256:4de75d0e82481ea846c0ed1de86328d821c1e6a6a91ac37bf804e5313670e507
151+
133152
steps:
134153
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
135154

@@ -143,6 +162,11 @@ jobs:
143162

144163
- name: Create k8s KinD Cluster
145164
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
165+
with:
166+
# NOTE: default is 0.26.0 https://github.com/helm/kind-action/blob/a1b0e391336a6ee6713a0583f8c6240d70863de3/kind.sh#L21
167+
# so bump this manually
168+
version: v0.27.0
169+
node_image: ${{ matrix.node_image }}
146170

147171
- name: Verify installing CRDs via kustomize works
148172
run: make install

0 commit comments

Comments
 (0)