run k8s 1.24 in ci for skipper

Skipper's installation requires the creation of a PodSecurityPolicy
object. Since PSP was removed from k8s 1.25, we need to run tests for
skipper on k8s 1.24.

Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
This commit is contained in:
Sanskar Jaiswal
2023-09-06 17:58:35 +05:30
parent 225e968288
commit 69cb3cd881

View File

@@ -38,10 +38,18 @@ jobs:
uses: actions/checkout@v3
- name: Setup Kubernetes
uses: helm/kind-action@v1.8.0
if: matrix.provider != 'skipper'
with:
version: v0.20.0
cluster_name: kind
node_image: kindest/node:v1.27.3@sha256:9dd3392d79af1b084671b05bcf65b21de476256ad1dcc853d9f3b10b4ac52dde
- name: Setup Kubernetes for skipper
uses: helm/kind-action@v1.8.0
if: matrix.provider == 'skipper'
with:
version: v0.20.0
cluster_name: kind
node_image: kindest/node:v1.24.12@sha256:0bdca26bd7fe65c823640b14253ea7bac4baad9336b332c94850f84d8102f873
- name: Build container image
run: |
docker build -t test/flagger:latest .