Bug 1962 fixed: removed the variable cluster_uuid from init_env method 22/11822/6
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 13:05:40 +0000 (14:05 +0100)
commitb41de17df6282334088ffbd887fbc01e496e1797
tree3663037e3730d474baa8c8760fa298455634ecc1
parent156677967e417604682fda05ed0099f07f1a3129
Bug 1962 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