During a K8s feature upgrade from 1.23 to 1.24 the
update_feature_gates_v1_24 function in this script
removes all lines containing "feature-gates" from the file.
If the end user has specified any additional feature gates
using the "custom kubernetes configuration" functionality,
it will be erroneously removed by this function.
Test Plan:
PASS: Package builds successfully
PASS: Upgrade k8s 1.23.1 to 1.24.4
Closes-Bug: 2000864
Depends-On: https://review.opendev.org/c/starlingx/config/+/870964
The above config repo change makes this function no longer pertinent
so we remove it as cleanup
Signed-off-by: Saba Touheed Mujawar <sabatouheed.mujawar@windriver.com>
Change-Id: I36a0b5a5b4894e8d8a082716c489bed6473a208b