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
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