Przeglądaj źródła

Add hidden attribute

Waqar Ahmed 4 lat temu
rodzic
commit
40f4842c01

+ 5 - 1
test/ipfs/1.0.1/questions.yaml

@@ -136,6 +136,7 @@ questions:
                 label: "IPFS Staging Volume Dataset Name"
                 schema:
                   type: string
+                  hidden: true
                   $ref:
                     - "normalize/ixVolume"
                   show_if: [["hostPathEnabled", "=", false]]
@@ -146,6 +147,7 @@ questions:
                 description: "Path where the volume will be mounted inside the pod"
                 schema:
                   type: path
+                  hidden: true
                   editable: false
                   default: "/export"
               - variable: hostPathEnabled
@@ -166,9 +168,10 @@ questions:
             type: dict
             attrs:
               - variable: datasetName
-                label: "IPFS Data Volume Dataset Name"
+                label: "IPFS Data Volume Name"
                 schema:
                   type: string
+                  hidden: true
                   $ref:
                     - "normalize/ixVolume"
                   show_if: [["hostPathEnabled", "=", false]]
@@ -179,6 +182,7 @@ questions:
                 description: "Path where the volume will be mounted inside the pod"
                 schema:
                   type: path
+                  hidden: true
                   editable: false
                   default: "/data/ipfs"
               - variable: hostPathEnabled

+ 3 - 1
test/minio/1.0.1/questions.yaml

@@ -150,9 +150,10 @@ questions:
             type: dict
             attrs:
               - variable: datasetName
-                label: "Minio Data Volume Dataset Name"
+                label: "Minio Data Volume Name"
                 schema:
                   type: string
+                  hidden: true
                   $ref:
                     - "normalize/ixVolume"
                   show_if: [["hostPathEnabled", "=", false]]
@@ -163,6 +164,7 @@ questions:
                 description: "Path where the volume will be mounted inside the pod"
                 schema:
                   type: path
+                  hidden: true
                   editable: false
                   default: "/export"
               - variable: hostPathEnabled

+ 3 - 0
test/nextcloud/1.1.0/questions.yaml

@@ -143,6 +143,7 @@ questions:
                 label: "Nextcloud Data Volume Name"
                 schema:
                   type: string
+                  hidden: true
                   $ref:
                     - "normalize/ixVolume"
                   show_if: [["hostPathEnabled", "=", false]]
@@ -153,6 +154,7 @@ questions:
                 description: "Path where the volume will be mounted inside the pod"
                 schema:
                   type: path
+                  hidden: true
                   editable: false
                   default: "/var/www"
               - variable: hostPathEnabled
@@ -173,6 +175,7 @@ questions:
     group: "Storage"
     schema:
       type: dict
+      hidden: true
       attrs:
         - variable: postgres-data
           label: "Postgres Data Volume"

+ 11 - 3
test/plex/1.0.1/questions.yaml

@@ -162,19 +162,21 @@ questions:
             type: dict
             attrs:
               - variable: datasetName
-                label: "Plex Transcode Volume Dataset Name"
+                label: "Plex Transcode Volume Name"
                 schema:
                   type: string
                   $ref:
                     - "normalize/ixVolume"
                   show_if: [["hostPathEnabled", "=", false]]
                   default: "ix-plex_transcode"
+                  hidden: true
                   editable: false
               - variable: mountPath
                 label: "Plex Transcode Mount Path"
                 description: "Path where the volume will be mounted inside the pod"
                 schema:
                   type: path
+                  hidden: true
                   editable: false
                   default: "/transcode"
               - variable: hostPathEnabled
@@ -195,7 +197,7 @@ questions:
             type: dict
             attrs:
               - variable: datasetName
-                label: "Plex Data Volume Dataset Name"
+                label: "Plex Data Volume Name"
                 schema:
                   type: string
                   $ref:
@@ -203,11 +205,13 @@ questions:
                   show_if: [["hostPathEnabled", "=", false]]
                   default: "ix-plex_data"
                   editable: false
+                  hidden: true
               - variable: mountPath
                 label: "Plex Data Mount Path"
                 description: "Path where the volume will be mounted inside the pod"
                 schema:
                   type: path
+                  hidden: true
                   editable: false
                   default: "/data"
               - variable: hostPathEnabled
@@ -228,7 +232,7 @@ questions:
             type: dict
             attrs:
               - variable: datasetName
-                label: "Plex Config Volume Dataset Name"
+                label: "Plex Config Volume Name"
                 schema:
                   type: string
                   $ref:
@@ -236,12 +240,14 @@ questions:
                   show_if: [["hostPathEnabled", "=", false]]
                   default: "ix-plex_config"
                   editable: false
+                  hidden: true
               - variable: mountPath
                 label: "Plex Config Mount Path"
                 description: "Path where the volume will be mounted inside the pod"
                 schema:
                   type: path
                   editable: false
+                  hidden: true
                   default: "/config"
               - variable: hostPathEnabled
                 label: "Enable Host Path for Plex Config Volume"
@@ -259,6 +265,7 @@ questions:
           label: "Shared Volume"
           schema:
             type: dict
+            hidden: true
             attrs:
               - variable: emptyDir
                 label: "Temporary Volume"
@@ -277,6 +284,7 @@ questions:
           label: "Shared Logs Volume"
           schema:
             type: dict
+            hidden: true
             attrs:
               - variable: emptyDir
                 label: "Temporary Volume"