Skip to content

Commit

Permalink
allow overriding kind version
Browse files Browse the repository at this point in the history
  • Loading branch information
gionn committed Nov 16, 2023
1 parent 4fc87ab commit 4c5cf6a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/actions/setup-kind/action.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
name: "Setup a KinD cluster"
description: "Spin a local Kubernetes cluster with ingress-nginx"
inputs:
kind-version:
description: |
The kind version to use. Versions available at:
https://github.com/kubernetes-sigs/kind/releases
default: v0.20.0
kind-node-image:
description: |
The Kind docker node image to use. Check the Kind version
release notes to check the list of suitable images:
The Kind docker node image to use. Should match the same kind version at:
https://github.com/kubernetes-sigs/kind/releases
default: kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
kind-wait:
Expand All @@ -23,6 +27,7 @@ runs:
uses: helm/[email protected] # https://github.com/helm/kind-action/releases/tag/v1.8.0
with:
config: ${{ github.action_path }}/kind.yml
version: ${{ inputs.kind-version }}
node_image: ${{ inputs.kind-node-image }}
wait: ${{ inputs.kind-wait }}

Expand Down

0 comments on commit 4c5cf6a

Please sign in to comment.