An open API service indexing awesome lists of open source software.

https://github.com/codingnagger/minikube-setup-action

Installs minikube in your Github Actions workflow.
https://github.com/codingnagger/minikube-setup-action

github-actions hacktoberfest kubernetes minikube

Last synced: 6 months ago
JSON representation

Installs minikube in your Github Actions workflow.

Awesome Lists containing this project

README

          

# Minikube setup action

This action installs a VM-free Kubernetes cluster using Minikube.

## Inputs

### `minikube-version`

**Optional** Version of Minikube you wish to use. Default `"1.27.1"`.

### `minikube-platform`

**Optional** Version of Minikube you wish to use. Default `"amd64"`.

### `k8s-version`

**Optional** Version of Kubernetes you wish to use with Minikube. Default `"1.23.0"`.

## Outputs

### `launcher`

The command to run in order to start Minikube using `eval`.

## Example usage

```yaml
name: "Minikube workflow"
on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup Minikube
id: minikube
uses: CodingNagger/minikube-setup-action@v1.0.2
- name: Launch Minikube
run: eval ${{ steps.minikube.outputs.launcher }}
- name: Check pods
run: |
kubectl get pods
```