Pārlūkot izejas kodu

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

Waqar Ahmed 5 gadi atpakaļ
vecāks
revīzija
9d5d7b6c07
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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