Feature 10904: Make all deployment methods optional for K8s cluster 77/11777/3
authorGabriel Cuba <gcuba@whitestack.com>
Tue, 22 Mar 2022 19:43:11 +0000 (14:43 -0500)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Fri, 27 May 2022 10:09:17 +0000 (12:09 +0200)
Change-Id: I217144c9e84e3e97b61a512571f07272f8be160c
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
osm-openapi.yaml

index ac6791a..b056ede 100644 (file)
@@ -8603,7 +8603,18 @@ components:
       type: array
       items:
         type: object
-        additionalProperties: true
+        additionalProperties: false
+    K8sClusterDeploymentMethods:
+      type: object
+      properties:
+        helm-chart:
+          type: boolean
+        juju-bundle:
+          type: boolean
+        helm-chart-v3:
+          type: boolean
+      additionalProperties: false
+      minProperties: 3
     K8sClusterInfo:
       type: object
       properties:
@@ -8629,6 +8640,8 @@ components:
           type: string
         nets:
           $ref: '#/components/schemas/K8sClusterNetList'
+        deployment_methods:
+          $ref: '#/components/schemas/K8sClusterDeploymentMethods'
         namespace:
           type: string
         cni: