Added support for helm version
Change-Id: Id6d3a8430c75a3043b2c261db478c36da30af6b9
Signed-off-by: lloretgalleg <illoret@indra.es>
diff --git a/osm_nbi/instance_topics.py b/osm_nbi/instance_topics.py
index 4e51686..ace7f8e 100644
--- a/osm_nbi/instance_topics.py
+++ b/osm_nbi/instance_topics.py
@@ -412,6 +412,8 @@
}
if kdu_params and kdu_params.get("config-units"):
kdur["config-units"] = kdu_params["config-units"]
+ if kdu.get("helm-version"):
+ kdur["helm-version"] = kdu["helm-version"]
for k8s_type in ("helm-chart", "juju-bundle"):
if kdu.get(k8s_type):
kdur[k8s_type] = kdu_model or kdu[k8s_type]