config/sysinv/cgts-client
Andy Ning e6d29d951b Add new mode openldap_ca to certificate-install API
This change added a new mode "openldap_ca" to certificate-install
sysinv API. With this mode, an openldap CA certificate can be installed
as an k8s secret.

Note that using this new mode to install openldap CA cert is only
supported in the API, it is not supported by the certificate-install
CLI, (will return invalid mode), since openldap certs are managed
internally.

This commit also include an unit test for the new mode.

Test Plan:
PASS: Call the API to install openldap CA certificate as k8s secret.
PASS: While the secret exists, call the API to install the CA cert
      again, verify the secret is updated.
PASS: Run "system certificate-install -m openldap_ca <cert file>",
      verify "Warning: Invalid mode: openldap_ca" is returned.
PASS: DC multi-nodes subcloud upgrade.

Story: 2009834
Task: 46893
Signed-off-by: Andy Ning <andy.ning@windriver.com>
Change-Id: I47eba6353c8cb64b65b291acca9b9c96a7c0e466
2022-12-01 09:08:26 -05:00
..
centos Python 2 to Python 3 compatibility 2021-04-16 07:09:21 -04:00
cgts-client Add new mode openldap_ca to certificate-install API 2022-12-01 09:08:26 -05:00
debian Adjust system command bash dynamic completion 2022-05-04 15:36:08 +00:00
opensuse Python 2 to Python 3 compatibility 2021-04-16 07:09:21 -04:00
.gitignore StarlingX open source release updates 2018-05-31 07:35:52 -07:00
PKG-INFO StarlingX open source release updates 2018-05-31 07:35:52 -07:00