Parcourir la source

Add validation for only using host ports when update strategy is recreate

Waqar Ahmed il y a 4 ans
Parent
commit
9d5d7b6c07
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      test/ix-chart/2010.0.2/questions.yaml

+ 1 - 0
test/ix-chart/2010.0.2/questions.yaml

@@ -304,6 +304,7 @@ questions:
     label: "Specify host ports for the workload"
     description: "Only use host ports if scaling of a workload is not required"
     schema:
+      show_if: [["updateStrategy", "=", "Recreate"]]
       type: list
       items:
         - variable: hostPortConfiguration