From 84b6ac05f3fe7a0e622ac61b669429dc77bced50 Mon Sep 17 00:00:00 2001 From: Rui Fu Date: Thu, 20 Jul 2023 18:14:53 +0800 Subject: [PATCH] bump k8s to 1.23.17 (#668) --- .ci/helm.sh | 2 +- .ci/tests/kind.yaml | 2 +- .github/workflows/olm-verify.yml | 2 +- .github/workflows/test-helm-charts.yml | 2 +- install.sh | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.ci/helm.sh b/.ci/helm.sh index e66357508..28e917755 100644 --- a/.ci/helm.sh +++ b/.ci/helm.sh @@ -35,7 +35,7 @@ FUNCTION_NAME=$1 function ci::create_cluster() { echo "Creating a kind cluster ..." - ${FUNCTION_MESH_HOME}/hack/kind-cluster-build.sh --name sn-platform-"${CLUSTER_ID}" -c 3 -v 10 -k v1.22.15 + ${FUNCTION_MESH_HOME}/hack/kind-cluster-build.sh --name sn-platform-"${CLUSTER_ID}" -c 3 -v 10 -k v1.23.17 echo "Successfully created a kind cluster." } diff --git a/.ci/tests/kind.yaml b/.ci/tests/kind.yaml index a308ce82c..5d3179bcb 100644 --- a/.ci/tests/kind.yaml +++ b/.ci/tests/kind.yaml @@ -22,7 +22,7 @@ kubeadmConfigPatchesJSON6902: nodes: # the control plane node (worker) config - role: control-plane - image: kindest/node:v1.22.15 + image: kindest/node:v1.23.17 extraPortMappings: - containerPort: 31234 hostPort: 31234 diff --git a/.github/workflows/olm-verify.yml b/.github/workflows/olm-verify.yml index 6a6573b09..31f052e29 100644 --- a/.github/workflows/olm-verify.yml +++ b/.github/workflows/olm-verify.yml @@ -53,7 +53,7 @@ jobs: - name: Kubernetes KinD Cluster uses: container-tools/kind-action@v1 with: - node_image: kindest/node:v1.22.15 + node_image: kindest/node:v1.23.17 - name: Build RedHat certificated bundle And Publish to Quay env: diff --git a/.github/workflows/test-helm-charts.yml b/.github/workflows/test-helm-charts.yml index 4ab8eac0b..2fe8f610c 100644 --- a/.github/workflows/test-helm-charts.yml +++ b/.github/workflows/test-helm-charts.yml @@ -73,7 +73,7 @@ jobs: if: steps.list-changed.outputs.changed == 'true' - name: Create kind cluster - run: hack/kind-cluster-build.sh --name chart-testing -c 1 -v 10 --k8sVersion v1.22.15 + run: hack/kind-cluster-build.sh --name chart-testing -c 1 -v 10 --k8sVersion v1.23.17 if: steps.list-changed.outputs.changed == 'true' - name: Set up GO 1.20.4 diff --git a/install.sh b/install.sh index 26d074d06..2e306eabe 100755 --- a/install.sh +++ b/install.sh @@ -47,7 +47,7 @@ OPTIONS: -c --crd The path of the crd files. --kind-version Version of the Kind tool, default value: v0.7.0 --node-num The count of the cluster nodes, default value: 2 - --k8s-version Version of the Kubernetes cluster, default value: v1.22.15 + --k8s-version Version of the Kubernetes cluster, default value: v1.23.17 --volume-num The volumes number of each kubernetes node, default value: 2 --release-name Release name of function-mesh, default value: function-mesh --namespace Namespace of function-mesh, default value: default @@ -60,7 +60,7 @@ main() { local kind_name="kind" local kind_version="v0.7.0" local node_num=2 - local k8s_version="v1.22.15" + local k8s_version="v1.23.17" local volume_num=2 local release_name="function-mesh" local namespace="default"