From 5baca01e36f5457f79846bca75060b222520ab72 Mon Sep 17 00:00:00 2001 From: lloretgalleg Date: Wed, 4 Nov 2020 10:04:28 +0000 Subject: [PATCH] Added support for helm version Change-Id: Id6d3a8430c75a3043b2c261db478c36da30af6b9 Signed-off-by: lloretgalleg --- osm_nbi/instance_topics.py | 2 ++ 1 file changed, 2 insertions(+) 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 @@ 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] -- 2.25.1