Browse Source

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

Render ix-chart in the UI dynamically
Waqar Ahmed 4 years ago
parent
commit
a65d6dfe8f

+ 0 - 0
test/ix-chart/2102.1.0/.helmignore → test/ix-chart/2105.0.0/.helmignore


+ 0 - 0
test/ix-chart/2102.1.0/Chart.lock → test/ix-chart/2105.0.0/Chart.lock


+ 1 - 1
test/ix-chart/2102.1.0/Chart.yaml → test/ix-chart/2105.0.0/Chart.yaml

@@ -15,7 +15,7 @@ type: application
 # 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.
 # 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
 # incremented each time you make changes to the application. Versions are not expected to

+ 0 - 0
test/ix-chart/2102.1.0/README.md → test/ix-chart/2105.0.0/README.md


+ 0 - 0
test/ix-chart/2102.1.0/app-readme.md → test/ix-chart/2105.0.0/app-readme.md


+ 0 - 0
test/ix-chart/2102.1.0/charts/common-2104.0.0.tgz → test/ix-chart/2105.0.0/charts/common-2104.0.0.tgz


+ 0 - 0
test/ix-chart/2102.1.0/default_values.yaml → test/ix-chart/2105.0.0/default_values.yaml


+ 9 - 2
test/ix-chart/2102.1.0/questions.yaml → 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

+ 0 - 0
test/ix-chart/2102.1.0/templates/NOTES.txt → test/ix-chart/2105.0.0/templates/NOTES.txt


+ 0 - 0
test/ix-chart/2102.1.0/templates/_containers.tpl → test/ix-chart/2105.0.0/templates/_containers.tpl


+ 0 - 0
test/ix-chart/2102.1.0/templates/_helpers.tpl → test/ix-chart/2105.0.0/templates/_helpers.tpl


+ 0 - 0
test/ix-chart/2102.1.0/templates/_networking.tpl → test/ix-chart/2105.0.0/templates/_networking.tpl


+ 0 - 0
test/ix-chart/2102.1.0/templates/_volumes.tpl → test/ix-chart/2105.0.0/templates/_volumes.tpl


+ 0 - 0
test/ix-chart/2102.1.0/templates/_workload.tpl → test/ix-chart/2105.0.0/templates/_workload.tpl


+ 0 - 0
test/ix-chart/2102.1.0/templates/external-interfaces.yaml → test/ix-chart/2105.0.0/templates/external-interfaces.yaml


+ 0 - 0
test/ix-chart/2102.1.0/templates/service.yaml → test/ix-chart/2105.0.0/templates/service.yaml


+ 0 - 0
test/ix-chart/2102.1.0/templates/tests/deployment-check.yaml → test/ix-chart/2105.0.0/templates/tests/deployment-check.yaml


+ 0 - 0
test/ix-chart/2102.1.0/templates/workload.yaml → test/ix-chart/2105.0.0/templates/workload.yaml


+ 0 - 0
test/ix-chart/2102.1.0/test_values.yaml → test/ix-chart/2105.0.0/test_values.yaml


+ 0 - 0
test/ix-chart/2102.1.0/values.yaml → test/ix-chart/2105.0.0/values.yaml