feature 9773: support for helm v3 19/9919/2
authortierno <alfonso.tiernosepulveda@telefonica.com>
Mon, 26 Oct 2020 10:37:29 +0000 (10:37 +0000)
committerguzman <jmguzman@whitestack.com>
Tue, 10 Nov 2020 14:10:39 +0000 (15:10 +0100)
Added optional helm-version field, that can be v2 or v3
at same places where helm-chart is present

Change-Id: Iabd9a0e21273a92ebcd9772a8d6cacdd40ca4e6f
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
models/yang/mano-types.yang
models/yang/vnfd-base.yang

index f54a5e9..c5c1ebc 100644 (file)
@@ -379,6 +379,15 @@ module mano-types
                   ";
                 type string;
               }
+              leaf helm-version {
+                description
+                  "Helm version to use for this helm-chart, v3 by default";
+                type enumeration {
+                    enum "v2";
+                    enum "v3";
+                  }
+                default "v3";
+              }
             }
           }
           leaf metric-service {
index aae9b2b..ffeaf4b 100644 (file)
@@ -661,6 +661,15 @@ module vnfd-base
                 ";
               type string;
             }
+            leaf helm-version {
+              description
+                "Helm version to use for this helm-chart, v3 by default";
+              type enumeration {
+                  enum "v2";
+                  enum "v3";
+                }
+              default "v3";
+            }
           }
 
           case juju-bundle {