config/sysinv/sysinv/sysinv/sysinv
Chris Friesen cf94bebd9e generic feature gates cleanup on k8s upgrade
It turns out there are additional feature gates which may be left
around after an upgrade from the previous release, or if someone
is using the custom K8s config functionality.

This means that the previous commit which special-cased the
RemoveSelfLink feature gate for the kube-apiserver is not
sufficient.  At a minimum we also have to deal with a
'HugePageStorageMediumSize: true' feature gate for kubelet.

According to the upstream docs this should still be understood
by kubelet, but the docs are wrong.  (An issue has been raised.)

Accordingly this commit creates a generic framework which can
be used to remove one or more feature gates from all locations
before upgrading to a specified K8s version.

Test plan:

PASS: exercise code via test harness to validate various
      combinations of feature gates in different sections
PASS: K8s upgrade to 1.24 in standard lab that was upgraded from
      previous release

Closes-Bug: 1999837
Change-Id: Ibbcfdbb3deb5a11ee8ca059439bd4e2c7e0fd5a6
Signed-off-by: Chris Friesen <chris.friesen@windriver.com>
2022-12-16 13:41:18 -06:00
..
agent Upgraded controller-1 re-report init inventory 2022-12-13 13:00:54 -05:00
api Enable add ceph-mon on any compute without storage-0 host 2022-12-14 10:59:02 -05:00
cert_alarm Alarm 500.200 "expiring soon" not updating after change 2022-11-18 18:01:24 +00:00
cert_mon Fix certmon for non-DC systems 2022-12-01 13:38:28 -05:00
cmd Add ZeroMQ RPC backend 2022-11-24 13:28:01 -03:00
common generic feature gates cleanup on k8s upgrade 2022-12-16 13:41:18 -06:00
conductor generic feature gates cleanup on k8s upgrade 2022-12-16 13:41:18 -06:00
db Adjust partition sysinv data from template 2022-11-09 16:46:08 +00:00
helm Add retry mechanism for retrieve helm releases functions 2022-12-14 11:40:46 -03:00
objects Implementation of cli command and API to enable/disable apparmor module 2022-11-03 09:04:02 -04:00
openstack Add ZeroMQ RPC backend 2022-11-24 13:28:01 -03:00
puppet Merge "Allow optional use of a cgts-vg/instances-lv fs" 2022-12-09 23:58:53 +00:00
tests generic feature gates cleanup on k8s upgrade 2022-12-16 13:41:18 -06:00
zmq_rpc Add ZeroMQ RPC backend 2022-11-24 13:28:01 -03:00
__init__.py Fix tox certificate issues in python2 2021-11-18 15:14:51 -06:00
_i18n.py Eliminate sdist step from sysinv zuul 2021-04-12 09:34:17 -05:00
netconf.py Fix bad syntax in requirements.txt file 2021-09-14 09:15:56 -05:00
sanity_coverage.py Fix tox-docs failing sphinx 2022-05-31 13:56:30 +00:00
version.py Cleanup tox for python3.9 jobs 2022-03-25 20:32:09 +00:00