Skip to content

Commit

Permalink
lint-test CI: make kind node image configurable (#2624)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

* Remove default values so that we use whatever the kind-action uses

Signed-off-by: Dimitar Dimitrov <[email protected]>

---------

Signed-off-by: Dimitar Dimitrov <[email protected]>
  • Loading branch information
dimitarvdimitrov authored Aug 31, 2023
1 parent 6d45c29 commit a10a8a9
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -66,7 +69,8 @@ jobs:
uses: helm/[email protected]
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: |
Expand Down

0 comments on commit a10a8a9

Please sign in to comment.