Bug 1963 fixed: removed the variable cluster_uuid from init_env method 23/11823/3
authorPedro Escaleira <escaleira@av.it.pt>
Fri, 1 Apr 2022 23:44:08 +0000 (00:44 +0100)
committerPedro Escaleira <escaleira@av.it.pt>
Sat, 2 Apr 2022 14:38:22 +0000 (15:38 +0100)
commiteba0ac3d5efeb5f493395d3dd5a03f99d4caddf2
treed314ffa366d0ba82208cc148b8d3fd9149b8a35d
parent5da5ad6c329717680377a24c4030a83f16ff1554
Bug 1963 fixed: removed the variable cluster_uuid from init_env method

This was applied to the class K8sHelmBaseConnector, and then returned
the variable cluster_id instead of cluster_uuid;

Also, refactored the overall Helm related code, in order to use the correct cluster uuid (and fixed the corresponding tests);

Also made a small fix in the function _uninstall_sw, to remove the service accounts when using different namespaces

Change-Id: Ibfdc82f325abf5fd27a225e73f949483a4e68fe2
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
n2vc/k8s_helm3_conn.py
n2vc/k8s_helm_base_conn.py
n2vc/k8s_helm_conn.py
n2vc/tests/unit/test_k8s_helm3_conn.py
n2vc/tests/unit/test_k8s_helm_conn.py