From 5ec1dc3b6ddd4f37d4d59058343abd0ca9fd3bde Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Date: Tue, 15 Dec 2020 17:03:30 +0500 Subject: [PATCH] Add min/max to node ports --- charts/ix-chart/2012.0.0/questions.yaml | 6 ++++-- test/ix-chart/2012.0.0/questions.yaml | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/charts/ix-chart/2012.0.0/questions.yaml b/charts/ix-chart/2012.0.0/questions.yaml index b88b73a1b7..15a5dc2a56 100644 --- a/charts/ix-chart/2012.0.0/questions.yaml +++ b/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: diff --git a/test/ix-chart/2012.0.0/questions.yaml b/test/ix-chart/2012.0.0/questions.yaml index b88b73a1b7..15a5dc2a56 100644 --- a/test/ix-chart/2012.0.0/questions.yaml +++ b/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: