feature 9773: support for helm v3 16/9916/3
authortierno <alfonso.tiernosepulveda@telefonica.com>
Mon, 26 Oct 2020 10:37:29 +0000 (10:37 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Tue, 27 Oct 2020 10:58:45 +0000 (10:58 +0000)
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..eb38ec2 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..8ee13c0 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 {