Hide advanced configuration options from ix-chart

This commit is contained in:
Waqar Ahmed
2021-05-07 23:27:38 +05:00
parent 83c088ab4c
commit 76b77b7583

View File

@@ -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