0
1
Fork 0
mirror of https://github.com/helm/kind-action synced 2024-05-13 20:29:54 +00:00
Go to file
dependabot[bot] 6848e82a1b
Bump actions/checkout from 4.1.4 to 4.1.5 in the actions group (#114)
Bumps the actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 4.1.4 to 4.1.5
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](0ad4b8fada...44c2b7a8a4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13 12:11:34 +02:00
.github Bump actions/checkout from 4.1.4 to 4.1.5 in the actions group (#114) 2024-05-13 12:11:34 +02:00
.gitignore Remove TypeScript 2019-12-02 21:05:09 +01:00
action.yml bump kind to 0.22.0 / kubectl and general housekeeping (#107) 2024-04-23 01:34:18 +02:00
cleanup.js Add post action cleanup to remove kind cluster (#21) 2020-08-08 11:21:41 +02:00
cleanup.sh #54 ignore the occasional post delete cluster (#79) 2023-07-11 09:42:24 +02:00
CODE_OF_CONDUCT.md Helm CoC 2019-11-26 16:39:32 -05:00
kind.sh bump kind to 0.22.0 / kubectl and general housekeeping (#107) 2024-04-23 01:34:18 +02:00
LICENSE Helm license 2019-11-26 16:39:21 -05:00
main.js Remove TypeScript 2019-12-02 21:05:09 +01:00
main.sh bump kind to v0.20.0 and script cleanup (#88) 2023-07-11 14:17:59 +02:00
README.md Update kind to release v0.21.0 (#104) 2024-02-13 17:07:28 +01:00

Kind Action

A GitHub Action for Kubernetes IN Docker - local clusters for testing Kubernetes using kubernetes-sigs/kind.

Usage

Pre-requisites

Create a workflow YAML file in your .github/workflows directory. An example workflow is available below. For more information, reference the GitHub Help Documentation for Creating a workflow file.

Inputs

For more information on inputs, see the API Documentation

  • version: The kind version to use (default: v0.21.0)
  • config: The path to the kind config file
  • node_image: The Docker image for the cluster nodes
  • cluster_name: The name of the cluster to create (default: chart-testing)
  • wait: The duration to wait for the control plane to become ready (default: 60s)
  • verbosity: info log verbosity, higher value produces more output
  • kubectl_version: The kubectl version to use (default: v1.28.6)
  • install_only: Skips cluster creation, only install kind (default: false)
  • ignore_failed_clean: Whether to ignore the post delete cluster action failing (default: false)

Example Workflow

Create a workflow (eg: .github/workflows/create-cluster.yml):

name: Create Cluster

on: pull_request

jobs:
  create-cluster:
    runs-on: ubuntu-latest
    steps:
      - name: Create k8s Kind Cluster
        uses: helm/kind-action@v1

This uses @helm/kind-action GitHub Action to spin up a kind Kubernetes cluster on every Pull Request. See @helm/chart-testing-action for a more practical example.

Code of conduct

Participation in the Helm community is governed by the Code of Conduct.