tacker/roles/setup-default-vim
Shuwen Cai 2cbd84c56f Extend vim register function for helm in v2 API
In v2 API, when using vim with `ETSINFV.HELM.V_3` type, you must
set the `ssl_ca_cert` information. Currently, when registering vim
with kubernetes type and use_helm parameter, it will succeed even
if you don't set `ssl_ca_cert` information. This causes v2 APIs to
fail when you use the vimConnectionInfo stored in the database.

This patch added a check in register vim to fix this issue. If the
helm is used to register the vim of kubernetes type, the
`ssl_ca_cert` parameter will be checked. If it's not set, the
registration will fail.

At the same time, FT test items have been added to verify that
v2 API operations perform properly when using the `ETSINFV.HELM.V_3`
type vim that exists in the database.

Implements: blueprint helmchart-k8s-vim
Change-Id: I629e347413b242ab9e1a5db16c52ca222adc3873
2023-02-28 05:11:26 +00:00
..
files Update k8s v1.25.2 and helm 3.10.1 2022-11-16 13:39:41 +09:00
tasks Extend vim register function for helm in v2 API 2023-02-28 05:11:26 +00:00