diff options
author | mrichomme <morgan.richomme@orange.com> | 2022-02-02 15:20:15 +0100 |
---|---|---|
committer | mrichomme <morgan.richomme@orange.com> | 2022-02-02 15:20:15 +0100 |
commit | cd1210cbbecb046d7fb6fdba6240d911872b5850 (patch) | |
tree | 7d0517917732a7c1ea7d715b77aad1253317e18f | |
parent | 9b632847c57f2ff7946ffe12927cfc14f2e46d53 (diff) |
[CERT] Update check_certificate test
The test was not working since the update of the kubernetes version
nobody remarked it..
In fact Ingress have been promoted and the kubernetes client API
changed accordinggly
Issue-ID: TEST-381
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I3a4691be7c9ffbf385e851d905181e4b5ec1f2f8
-rw-r--r-- | test/security/check_certificates/check_certificates/check_certificates_validity.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/security/check_certificates/check_certificates/check_certificates_validity.py b/test/security/check_certificates/check_certificates/check_certificates_validity.py index 948783d8f..e0c0848df 100644 --- a/test/security/check_certificates/check_certificates/check_certificates_validity.py +++ b/test/security/check_certificates/check_certificates/check_certificates_validity.py @@ -129,7 +129,7 @@ else: k8s_config = config.load_kube_config() core = client.CoreV1Api() -api_instance = client.ExtensionsV1beta1Api( +api_instance = client.NetworkingV1Api( client.ApiClient(k8s_config)) k8s_services = core.list_namespaced_service(onap_namespace).items k8s_ingress = api_instance.list_namespaced_ingress(onap_namespace).items |