File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212
1313env :
1414 GO_VERSION : " 1.26"
15- K8S_VERSION : " v1.34.0 "
16- KIND_VERSION : " v0.30 .0"
15+ K8S_VERSION : " v1.36.1 "
16+ KIND_VERSION : " v0.32 .0"
1717 IMAGE_NAME : registry.k8s.io/networking/dranet
1818 KIND_CLUSTER_NAME : kind
1919
3434 sudo apt -y install linux-modules-extra-$(uname -r)
3535 sudo modprobe -v vrf
3636
37+ - name : Set up environment (download dependencies)
38+ run : |
39+ TMP_DIR=$(mktemp -d)
40+ # kubectl
41+ curl -L "https://dl.k8s.io/${{ env.K8S_VERSION }}/bin/linux/amd64/kubectl" -o "${TMP_DIR}/kubectl"
42+ # kind
43+ curl -Lo "${TMP_DIR}/kind" "https://kind.sigs.k8s.io/dl/${{ env.KIND_VERSION }}/kind-linux-amd64"
44+ # Install
45+ sudo cp "${TMP_DIR}/kubectl" /usr/local/bin/kubectl
46+ sudo cp "${TMP_DIR}/kind" /usr/local/bin/kind
47+ sudo chmod +x /usr/local/bin/*
48+ # Clean
49+ sudo rm -rf "${TMP_DIR}"
50+
3751 - name : Setup Bats and bats libs
3852 id : setup-bats
3953 uses : bats-core/bats-action@77d6fb60505b4d0d1d73e48bd035b55074bbfb43 # 4.0.0
Original file line number Diff line number Diff line change 2525
2626env :
2727 GO_VERSION : " 1.26"
28- K8S_VERSION : " v1.34.0 "
29- KIND_VERSION : " v0.30 .0"
28+ K8S_VERSION : " v1.36.1 "
29+ KIND_VERSION : " v0.32 .0"
3030 IMAGE_NAME : registry.k8s.io/networking/dranet
3131 KIND_CLUSTER_NAME : kind
3232
Original file line number Diff line number Diff line change 1919 # Runs daily at 03:00 UTC
2020 - cron : ' 0 3 * * *'
2121
22+ env :
23+ GO_VERSION : " 1.26"
24+ K8S_VERSION : " v1.36.1"
25+ KIND_VERSION : " v0.32.0"
26+ IMAGE_NAME : registry.k8s.io/networking/dranet
27+ KIND_CLUSTER_NAME : kind
28+
2229permissions :
2330 contents : read
2431
3542 sudo apt update
3643 sudo apt -y install linux-modules-extra-$(uname -r)
3744 sudo modprobe -v vrf
38-
45+
46+ - name : Set up environment (download dependencies)
47+ run : |
48+ TMP_DIR=$(mktemp -d)
49+ # kubectl
50+ curl -L "https://dl.k8s.io/${{ env.K8S_VERSION }}/bin/linux/amd64/kubectl" -o "${TMP_DIR}/kubectl"
51+ # kind
52+ curl -Lo "${TMP_DIR}/kind" "https://kind.sigs.k8s.io/dl/${{ env.KIND_VERSION }}/kind-linux-amd64"
53+ # Install
54+ sudo cp "${TMP_DIR}/kubectl" /usr/local/bin/kubectl
55+ sudo cp "${TMP_DIR}/kind" /usr/local/bin/kind
56+ sudo chmod +x /usr/local/bin/*
57+ # Clean
58+ sudo rm -rf "${TMP_DIR}"
59+
3960 - name : Setup Bats and bats libs
4061 id : setup-bats
4162 uses : bats-core/bats-action@77d6fb60505b4d0d1d73e48bd035b55074bbfb43 # 4.0.0
Original file line number Diff line number Diff line change @@ -68,11 +68,11 @@ kind: Cluster
6868apiVersion : kind.x-k8s.io/v1alpha4
6969nodes :
7070- role : control-plane
71- image : kindest/node:v1.34.0
71+ image : kindest/node:v1.36.1
7272- role : worker
73- image : kindest/node:v1.34.0
73+ image : kindest/node:v1.36.1
7474- role : worker
75- image : kindest/node:v1.34.0
75+ image : kindest/node:v1.36.1
7676` ` `
7777
7878Then to create the cluster:
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ kind: Cluster
1515apiVersion : kind.x-k8s.io/v1alpha4
1616nodes :
1717- role : control-plane
18- image : kindest/node:v1.35 .1@sha256:05d7bcdefbda08b4e038f644c4df690cdac3fba8b06f8289f30e10026720a1ab
18+ image : kindest/node:v1.36 .1@sha256:3489c7674813ba5d8b1a9977baea8a6e553784dab7b84759d1014dbd78f7ebd5
1919 kubeadmConfigPatches :
2020 # Enable the corresponding version of the resource.k8s.io API
2121 - |
@@ -33,15 +33,15 @@ nodes:
3333 kubeletExtraArgs:
3434 v: "5"
3535 - role : worker
36- image : kindest/node:v1.35 .1@sha256:05d7bcdefbda08b4e038f644c4df690cdac3fba8b06f8289f30e10026720a1ab
36+ image : kindest/node:v1.36 .1@sha256:3489c7674813ba5d8b1a9977baea8a6e553784dab7b84759d1014dbd78f7ebd5
3737 kubeadmConfigPatches :
3838 - |
3939 kind: JoinConfiguration
4040 nodeRegistration:
4141 kubeletExtraArgs:
4242 v: "5"
4343 - role : worker
44- image : kindest/node:v1.35 .1@sha256:05d7bcdefbda08b4e038f644c4df690cdac3fba8b06f8289f30e10026720a1ab
44+ image : kindest/node:v1.36 .1@sha256:3489c7674813ba5d8b1a9977baea8a6e553784dab7b84759d1014dbd78f7ebd5
4545 kubeadmConfigPatches :
4646 - |
4747 kind: JoinConfiguration
You can’t perform that action at this time.
0 commit comments