Bug 1964 fixed: removed the variable cluster_uuid from init_env method 24/11824/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:41:04 +0000 (15:41 +0100)
commit25a1392579da2e8e4789e0b8f35abbaa372fde08
treeee80d1d0dc25f0a849711fd9ab6ad14608f53a48
parentc7ff68acc4de60680915f158bc835c1648853d9f
Bug 1964 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