From 22bbf41ccbb0203c061fa55e4f476057da589582 Mon Sep 17 00:00:00 2001 From: salonichf5 <146118978+salonichf5@users.noreply.github.com> Date: Mon, 11 Mar 2024 13:50:44 -0600 Subject: [PATCH] add another version for k8s --- .github/workflows/functional.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/functional.yml b/.github/workflows/functional.yml index d4c05239e6..f37e194e0b 100644 --- a/.github/workflows/functional.yml +++ b/.github/workflows/functional.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - k8s-version: ["latest"] + k8s-version: ["1.23.17", "latest"] nginx-image: [nginx, nginx-plus] steps: - name: Checkout Repository @@ -121,6 +121,7 @@ jobs: run: | ngf_prefix=ghcr.io/nginxinc/nginx-gateway-fabric ngf_tag=${{ steps.ngf-meta.outputs.version }} + if [ ${{ startsWith(matrix.k8s-version, '1.23') || startsWith(matrix.k8s-version, '1.24') }} == "true" ]; then export INSTALL_WEBHOOK=true; fi make load-images${{ matrix.nginx-image == 'nginx-plus' && '-with-plus' || ''}} PREFIX=${ngf_prefix} TAG=${ngf_tag} working-directory: ./tests