-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OPSEXP-2398 Configurable version and wait time in setup-kind (#376)
- Loading branch information
Showing
3 changed files
with
20 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,24 @@ | ||
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 | ||
required: true | ||
default: kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72 | ||
kind-wait: | ||
description: The duration to wait for the control plane to become ready | ||
default: 60s | ||
ingress-nginx-ref: | ||
description: | | ||
the Nginx ingress ref to get the ingress congtroller deployment manifest from | ||
the Nginx ingress ref to get the ingress controller deployment manifest from | ||
(https://github.com/kubernetes/ingress-nginx). Consider main (the default) a floating tag which can result in | ||
deploying any version (including betas) and non repeatable builds. | ||
required: false | ||
default: main | ||
runs: | ||
using: "composite" | ||
|
@@ -22,7 +27,9 @@ 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 }} | ||
|
||
- name: Install ingress-nginx | ||
shell: bash | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v3.7.0 | ||
v3.8.0 |