From e1330ff020f0d23bb95603e2193e59604b1ee5f1 Mon Sep 17 00:00:00 2001 From: Pavan-Gunda Date: Thu, 12 Oct 2023 12:09:32 +0200 Subject: [PATCH] added a migration step to set ck8skubespray version to any --- migration/v2.23/upgrade-cluster.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/migration/v2.23/upgrade-cluster.md b/migration/v2.23/upgrade-cluster.md index 87c65953..cd4da8c4 100644 --- a/migration/v2.23/upgrade-cluster.md +++ b/migration/v2.23/upgrade-cluster.md @@ -24,6 +24,13 @@ 1. Update the kubespray submodule: `git submodule update --init --recursive` +1. Set `ck8sKubesprayVersion` to `any` in `sc-config/group_vars/all/ck8s-kubespray-general.yaml` and `wc-config/group_vars/all/ck8s-kubespray-general.yaml` + + ```bash + yq4 -i '.ck8sKubesprayVersion = "any"' ${CK8S_CONFIG_PATH}/sc-config/group_vars/all/ck8s-kubespray-general.yaml + yq4 -i '.ck8sKubesprayVersion = "any"' ${CK8S_CONFIG_PATH}/wc-config/group_vars/all/ck8s-kubespray-general.yaml + ``` + 1. Run `bin/ck8s-kubespray upgrade v2.23 prepare` to update your config. 1. Download the required files on the nodes