Skip to content

Commit 64562f4

Browse files
author
Radu M
committed
Update default Kind version
Signed-off-by: Radu M <root@radu.sh>
1 parent 46b8925 commit 64562f4

File tree

3 files changed

+16
-17
lines changed

3 files changed

+16
-17
lines changed

.github/workflows/e2e.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@ jobs:
55
kind:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@master
9-
- uses: engineerd/setup-kind@v0.2.0
10-
with:
11-
version: "v0.6.1"
12-
- name: Testing
13-
run: |
14-
kubectl cluster-info
15-
kubectl version
16-
kubectl get pods -n kube-system
8+
- uses: actions/checkout@master
9+
- uses: engineerd/setup-kind@v0.3.0
10+
- name: Testing
11+
run: |
12+
kubectl cluster-info
13+
kubectl version
14+
kubectl get pods -n kube-system

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,23 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@master
16-
- uses: engineerd/setup-kind@v0.2.0
16+
- uses: engineerd/setup-kind@v0.3.0
1717
- name: Testing
1818
run: |
1919
kubectl cluster-info
2020
kubectl get pods -n kube-system
2121
```
2222

2323
> Note: KUBECONFIG is automatically merged after cluster creation, so starting with version 0.6 of Kind, you do not need to manually export the `KUBECONFIG` environment variable. See [this document for a detailed migration guide][kind-kubeconfig]
24-
> Note: GitHub Actions workers come pre-configured with `kubectl` version 1.16.3.
24+
25+
> Note: GitHub Actions workers come pre-configured with `kubectl`.
2526
2627
The following arguments can be configured on the job using the `with` keyword (see example above).
2728
Currently, possible inputs are all the flags for `kind cluster create`, with the additional version, which sets the Kind version to downloadm and `skipClusterCreation`, which when present, skips creating the cluster (the Kind tools is configured in the path).
2829

2930
Optional inputs:
3031

31-
- `version`: version of Kind to use (default `"v0.6.1"`)
32+
- `version`: version of Kind to use (default `"v0.7.0"`)
3233
- `config`: path (relative to the root of the repository) to a kind config file. If omitted, a default 1-node cluster will be created
3334
- `image`: node Docker image to use for booting the cluster.
3435
- `name`: cluster context name (default `"kind"`)
@@ -46,13 +47,13 @@ jobs:
4647
runs-on: ubuntu-latest
4748
steps:
4849
- uses: actions/checkout@master
49-
- uses: engineerd/setup-kind@v0.2.0
50+
- uses: engineerd/setup-kind@v0.3.0
5051
with:
51-
version: "v0.6.0"
52+
version: "v0.7.0"
5253
- name: Testing
5354
run: |
5455
kubectl cluster-info
5556
kubectl get pods -n kube-system
5657
```
5758

58-
[kind-kubeconfig]: https://github.com/kubernetes-sigs/kind/issues/1060
59+
[kind-kubeconfig]: https://github.com/kubernetes-sigs/kind/issues/1060

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ description: "Easily run a Kubernetes cluster in your GitHub Action"
33
author: "Engineerd"
44
inputs:
55
version:
6-
description: "Version of Kind to use (default v0.6.1)"
7-
default: "v0.6.1"
6+
description: "Version of Kind to use (default v0.7.0)"
7+
default: "v0.7.0"
88
config:
99
description: "Path (relative to the root of the repository) to a kind config file"
1010
image:

0 commit comments

Comments
 (0)