commit 835a7ae76ac2e8a16a97cd95d130fd255cc9dea4
Author: Saba Touheed Mujawar <email address hidden>
Date: Fri Feb 23 08:03:00 2024 -0500
Correct kubeadm config file format to v1beta3 for k8s 1.27
kubeadm 1.27 and newer no longer supports v1beta2 file format.
Existing code that updates the control plane params still uses
this api which causes an issue in updating the k8s service
parameters during runtime configuration.
This change updates the file format to kubeadm.k8s.io/v1beta3
which resolves the issue and also works for k8s versions greater
than 1.21
TEST PLAN:
PASS: Install iso with k8s 1.27 default, configure service parameters to control plane components during runtime
and verify that it reflects in respective manifests files.
PASS: Install iso with k8s 1.24, perform runtime kubernetes configuration successfully .
PASS: Perform k8s upgrade from 1.24 to all available versions,
For each version perform runtime kubernetes configuration successfully.
Closes-Bug: 2054807
Change-Id: Ibaf5b26e731127c6951f2275db0d5e930ee5d5c9
Signed-off-by: Saba Touheed Mujawar <email address hidden>
Reviewed: https:/ /review. opendev. org/c/starlingx /stx-puppet/ +/909997 /opendev. org/starlingx/ stx-puppet/ commit/ 835a7ae76ac2e8a 16a97cd95d130fd 255cc9dea4
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 835a7ae76ac2e8a 16a97cd95d130fd 255cc9dea4
Author: Saba Touheed Mujawar <email address hidden>
Date: Fri Feb 23 08:03:00 2024 -0500
Correct kubeadm config file format to v1beta3 for k8s 1.27
kubeadm 1.27 and newer no longer supports v1beta2 file format.
Existing code that updates the control plane params still uses
this api which causes an issue in updating the k8s service
parameters during runtime configuration.
This change updates the file format to kubeadm. k8s.io/ v1beta3
which resolves the issue and also works for k8s versions greater
than 1.21
TEST PLAN:
parameters to control plane components during runtime
configuratio n successfully .
configuratio n successfully.
PASS: Install iso with k8s 1.27 default, configure service
and verify that it reflects in respective manifests files.
PASS: Install iso with k8s 1.24, perform runtime kubernetes
PASS: Perform k8s upgrade from 1.24 to all available versions,
For each version perform runtime kubernetes
Closes-Bug: 2054807
Change-Id: Ibaf5b26e731127 c6951f2275db0d5 e930ee5d5c9
Signed-off-by: Saba Touheed Mujawar <email address hidden>