Unverified Commit a65d6dfe authored by Waqar Ahmed's avatar Waqar Ahmed Committed by GitHub

Merge pull request #53 from truenas/ix-chart-dynamic

Render ix-chart in the UI dynamically
parents dde05fc3 76b77b75
...@@ -15,7 +15,7 @@ type: application ...@@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 2102.1.0 version: 2105.0.0
# This is the version number of the application being deployed. This version number should be # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to # incremented each time you make changes to the application. Versions are not expected to
......
...@@ -7,6 +7,8 @@ groups: ...@@ -7,6 +7,8 @@ groups:
description: "Set the environment that will be visible to the container" description: "Set the environment that will be visible to the container"
- name: "Networking" - name: "Networking"
description: "Configure networking for container" description: "Configure networking for container"
- name: "Port Forwarding"
description: "Configure ports to forward to workload"
- name: "Storage" - name: "Storage"
description: "Persist and share data that is separate from the lifecycle of the container" description: "Persist and share data that is separate from the lifecycle of the container"
- name: "Health Check" - name: "Health Check"
...@@ -28,6 +30,7 @@ questions: ...@@ -28,6 +30,7 @@ questions:
group: "Workload Details" group: "Workload Details"
schema: schema:
type: string type: string
hidden: true
default: "Deployment" default: "Deployment"
required: true required: true
enum: enum:
...@@ -43,6 +46,7 @@ questions: ...@@ -43,6 +46,7 @@ questions:
label: "Cron Schedule" label: "Cron Schedule"
group: "Workload Details" group: "Workload Details"
schema: schema:
hidden: true
type: cron type: cron
show_if: [["workloadType", "=", "CronJob"]] show_if: [["workloadType", "=", "CronJob"]]
default: default:
...@@ -104,6 +108,7 @@ questions: ...@@ -104,6 +108,7 @@ questions:
label: "Restart Policy" label: "Restart Policy"
group: "Restart Policy" group: "Restart Policy"
schema: schema:
hidden: true
type: string type: string
default: "OnFailure" default: "OnFailure"
show_if: [["workloadType", "!=", "Deployment"]] show_if: [["workloadType", "!=", "Deployment"]]
...@@ -252,7 +257,7 @@ questions: ...@@ -252,7 +257,7 @@ questions:
- value: "Default" - value: "Default"
description: "Use Default DNS Policy" description: "Use Default DNS Policy"
- value: "None" - value: "None"
description: "Ignore DNS settings from the Kuberentes cluster" description: "Ignore DNS settings from the Kubernetes cluster"
- variable: dnsConfig - variable: dnsConfig
label: "DNS Configuration" label: "DNS Configuration"
group: "Networking" group: "Networking"
...@@ -295,6 +300,7 @@ questions: ...@@ -295,6 +300,7 @@ questions:
schema: schema:
show_if: [["updateStrategy", "=", "Recreate"]] show_if: [["updateStrategy", "=", "Recreate"]]
type: list type: list
hidden: true
items: items:
- variable: hostPortConfiguration - variable: hostPortConfiguration
label: "Host Port Configuration" label: "Host Port Configuration"
...@@ -314,7 +320,7 @@ questions: ...@@ -314,7 +320,7 @@ questions:
- variable: portForwardingList - variable: portForwardingList
label: "Specify Node ports to forward to workload" 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" description: "Specify ports of node and workload to forward traffic from node port to workload port"
schema: schema:
type: list type: list
...@@ -410,6 +416,7 @@ questions: ...@@ -410,6 +416,7 @@ questions:
description: "Configure Liveness Probe" description: "Configure Liveness Probe"
group: "Health Check" group: "Health Check"
schema: schema:
hidden: true
type: dict type: dict
default: null default: null
"null": true "null": true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment