This change adds a function to the script that preserves the effect
of above listed commits.
Test Plan:
On CentOS AIO-SX
PASS: Upgrade Successful. Check if advertise address in kube-apiserver manifest before and after running upgrade-activate is same.
Ensure that the seccomp profile configuration is
removed after upgrade-activate. Kube-apiserver is running and cluster is accessible after
the upgrade.
PASS: No Shellcheck errors
Reviewed: https:/ /review. opendev. org/c/starlingx /integ/ +/853531 /opendev. org/starlingx/ integ/commit/ 73632416b3fc5dd aa8e2b4babb93ba 00fd6c58ca
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 73632416b3fc5dd aa8e2b4babb93ba 00fd6c58ca
Author: Kaustubh Dhokte <email address hidden>
Date: Wed Aug 17 15:04:36 2022 -0400
Preserve kube-apiserver manifest params during upgrade-activate
This change https:/ /opendev. org/starlingx/ integ/commit/ a6a5349d0254876 72fe818aae36a20 20a9f9f08c
(k8s-1.22.5: remove feature-gates)
adds a script that is run during upgrade activate. The script modifies
kubeadm cluster config and eventually updates kube-apiserver manifest
to remove deprecated features-gates in k8s 1.22.
As 'kubeadm init phase' is rerun in the script, it updates the /opendev. org/starlingx/ stx-puppet/ commit/ 04a1c1b0809f664 88bd54e3f31d323 430e7d9913 change- param) /opendev. org/starlingx/ stx-puppet/ commit/ 52ace69c837acc7 e3aff8a2d584968 297afd70fe
kube-apiserver manifest to be in sync with the kubeadm cluster config.
In that process, it nullifies the effect of these two commits,
https:/
(Rework advertise address in apiserver-
and https:/
(Amend kube-apiserver 1.23 configuration to use PSP)
This change adds a function to the script that preserves the effect
of above listed commits.
Test Plan:
kube- apiserver manifest before and after running
upgrade- activate is same.
Kube- apiserver is running and cluster is accessible after
On CentOS AIO-SX
PASS: Upgrade Successful. Check if advertise address in
Ensure that the seccomp profile configuration is
removed after upgrade-activate.
the upgrade.
PASS: No Shellcheck errors
Closes-Bug: 1986854
Signed-off-by: Kaustubh Dhokte <email address hidden> 08e65e16888e138 0a3bd9fdb8f
Change-Id: Ib97e14bc5b4ed2