Skip to content

Commit 15c3aeb

Browse files
Run kind cluster with 1.34.0 version
Signed-off-by: Devanshu <[email protected]>
1 parent cfa67ed commit 15c3aeb

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

.github/workflows/kind-action.yml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,25 @@ concurrency:
1616
jobs:
1717
run-tests:
1818
runs-on: ubuntu-latest
19+
env:
20+
KIND_CLUSTER_NAME: kinder
21+
K8S_VERSION: v1.34.0
1922
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
2438
- uses: actions/checkout@v4
2539
with:
2640
fetch-depth: 0

0 commit comments

Comments
 (0)