Added support for helm version 40/9940/1
authorlloretgalleg <illoret@indra.es>
Wed, 4 Nov 2020 10:04:28 +0000 (10:04 +0000)
committerlloretgalleg <illoret@indra.es>
Wed, 4 Nov 2020 10:04:59 +0000 (10:04 +0000)
Change-Id: Id6d3a8430c75a3043b2c261db478c36da30af6b9
Signed-off-by: lloretgalleg <illoret@indra.es>
osm_nbi/instance_topics.py

index 4e51686..ace7f8e 100644 (file)
@@ -412,6 +412,8 @@ class NsrTopic(BaseTopic):
                     }
                     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]