Comment 1 for bug 2015917

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/c/starlingx/config/+/880063
Committed: https://opendev.org/starlingx/config/commit/2afa67e8730b62465b02041865934b4d42ded3f7
Submitter: "Zuul (22348)"
Branch: master

commit 2afa67e8730b62465b02041865934b4d42ded3f7
Author: Saba Touheed Mujawar <email address hidden>
Date: Tue Apr 11 11:18:11 2023 -0400

    Sanitize SCTPSupport feature gate before upgrading to K8s 1.22

    k8s 1.22 does not support "SCTPSupport" feature gate.
    Upgrading from 21.12 to 22.12 and then upgrading to k8s 1.22
    will result in kube-apiserver failing to start, which will result
    in a non-functional K8s control plane.

    Changes are made to remove this feature gate.

    Also, in k8s version 1.24 and later, name of the kubelet configmap
    is changed to "kubelet-config" from kubelet-config-<version>.

    Test Plan:
    PASS : k8s 1.21.8 upgrade with custom extraArgs removes SCTPSupport
           Confirmed kubeadm-configmap is updated.
    PASS : Added featureGate "SCTPSupport" manually to
           kubelet_configurations and upgarded k8s to 1.22.
           kubelet-configmap is updated
    PASS : Package builds successfully.

    Closes-Bug: 2015917

    Change-Id: Ief8791fe4307e2d8b70cc08f08a5bdd7c452b662
    Signed-off-by: Saba Touheed Mujawar <email address hidden>