Selaa lähdekoodia

Add min/max to node ports

Waqar Ahmed 4 vuotta sitten
vanhempi
commit
5ec1dc3b6d

+ 4 - 2
charts/ix-chart/2012.0.0/questions.yaml

@@ -342,13 +342,15 @@ questions:
               - variable: containerPort
                 label: "Container Port"
                 schema:
-                  type: string
+                  type: int
                   required: true
               - variable: nodePort
                 label: "Node Port"
                 schema:
-                  type: string
+                  type: int
                   required: true
+                  min: 9000
+                  max: 65535
               - variable: protocol
                 label: "Protocol"
                 schema:

+ 4 - 2
test/ix-chart/2012.0.0/questions.yaml

@@ -342,13 +342,15 @@ questions:
               - variable: containerPort
                 label: "Container Port"
                 schema:
-                  type: string
+                  type: int
                   required: true
               - variable: nodePort
                 label: "Node Port"
                 schema:
-                  type: string
+                  type: int
                   required: true
+                  min: 9000
+                  max: 65535
               - variable: protocol
                 label: "Protocol"
                 schema: