From 76b77b7583a8324d66827e136d16043d0c8d9bdb Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Date: Fri, 7 May 2021 23:27:38 +0500 Subject: [PATCH] Hide advanced configuration options from ix-chart --- test/ix-chart/2105.0.0/questions.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/test/ix-chart/2105.0.0/questions.yaml b/test/ix-chart/2105.0.0/questions.yaml index 93027242a9..d2e34c3a9d 100644 --- a/test/ix-chart/2105.0.0/questions.yaml +++ b/test/ix-chart/2105.0.0/questions.yaml @@ -7,6 +7,8 @@ groups: description: "Set the environment that will be visible to the container" - name: "Networking" description: "Configure networking for container" + - name: "Port Forwarding" + description: "Configure ports to forward to workload" - name: "Storage" description: "Persist and share data that is separate from the lifecycle of the container" - name: "Health Check" @@ -28,6 +30,7 @@ questions: group: "Workload Details" schema: type: string + hidden: true default: "Deployment" required: true enum: @@ -43,6 +46,7 @@ questions: label: "Cron Schedule" group: "Workload Details" schema: + hidden: true type: cron show_if: [["workloadType", "=", "CronJob"]] default: @@ -104,6 +108,7 @@ questions: label: "Restart Policy" group: "Restart Policy" schema: + hidden: true type: string default: "OnFailure" show_if: [["workloadType", "!=", "Deployment"]] @@ -252,7 +257,7 @@ questions: - value: "Default" description: "Use Default DNS Policy" - value: "None" - description: "Ignore DNS settings from the Kuberentes cluster" + description: "Ignore DNS settings from the Kubernetes cluster" - variable: dnsConfig label: "DNS Configuration" group: "Networking" @@ -295,6 +300,7 @@ questions: schema: show_if: [["updateStrategy", "=", "Recreate"]] type: list + hidden: true items: - variable: hostPortConfiguration label: "Host Port Configuration" @@ -314,7 +320,7 @@ questions: - variable: portForwardingList label: "Specify Node ports to forward to workload" - group: "Networking" + group: "Port Forwarding" description: "Specify ports of node and workload to forward traffic from node port to workload port" schema: type: list @@ -410,6 +416,7 @@ questions: description: "Configure Liveness Probe" group: "Health Check" schema: + hidden: true type: dict default: null "null": true