From a10a8a911d9d5b30372bbb8073dfb0040ed659ea Mon Sep 17 00:00:00 2001 From: Dimitar Dimitrov Date: Thu, 31 Aug 2023 16:23:53 +0200 Subject: [PATCH] lint-test CI: make kind node image configurable (#2624) * lint-test CI: make kind node image configurable In addition to configuring kubectl as PR 2618 did we should also be able to configure the kubernetes node image. This PR does this and introduces some consistency in input naming. Signed-off-by: Dimitar Dimitrov * Remove default values so that we use whatever the kind-action uses Signed-off-by: Dimitar Dimitrov --------- Signed-off-by: Dimitar Dimitrov --- .github/workflows/lint-test.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index 82eb585ea6..f5d3528496 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -18,9 +18,12 @@ on: default: v3.8.2 required: false type: string - k8s_version: + kind_kubectl_version: description: version of the kubectl binary used for the kind cluster - default: v1.26.4 + required: false + type: string + kind_node_image: + description: image reference for the node containers in the kind_cluster required: false type: string @@ -66,7 +69,8 @@ jobs: uses: helm/kind-action@v1.8.0 if: steps.list-changed.outputs.changed == 'true' with: - kubectl_version: ${{ inputs.k8s_version }} + kubectl_version: ${{ inputs.kind_kubectl_version }} + node_image: ${{ inputs.kind_node_image }} - name: Run chart-testing (install) run: |