File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,25 @@ concurrency:
16
16
jobs :
17
17
run-tests :
18
18
runs-on : ubuntu-latest
19
+ env :
20
+ KIND_CLUSTER_NAME : kinder
21
+ K8S_VERSION : v1.34.0
19
22
steps :
20
- - name : Create k8s Kind Cluster
21
- uses : helm/kind-action@v1
22
- with :
23
- cluster_name : kinder
23
+ - name : Install kind
24
+ run : |
25
+ KIND_VERSION="v0.30.0"
26
+ curl -Lo ./kind https://kind.sigs.k8s.io/dl/${KIND_VERSION}/kind-linux-amd64
27
+ chmod +x ./kind
28
+ sudo mv ./kind /usr/local/bin/kind
29
+ kind --version
30
+ - name : Create Kind Cluster
31
+ run : |
32
+ kind create cluster --name $KIND_CLUSTER_NAME --image kindest/node:${K8S_VERSION}
33
+ - name : Verify kind and k8s version
34
+ run : |
35
+ kind version
36
+ kubectl version
37
+ kubectl cluster-info --context kind-kinder
24
38
- uses : actions/checkout@v4
25
39
with :
26
40
fetch-depth : 0
You can’t perform that action at this time.
0 commit comments