Added support for helm version
[osm/NBI.git] / 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_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]
                     for k8s_type in ("helm-chart", "juju-bundle"):
                         if kdu.get(k8s_type):
                             kdur[k8s_type] = kdu_model or kdu[k8s_type]