Commit 88bda7e5 authored by Waqar Ahmed's avatar Waqar Ahmed

Update ipfs chart to use new format for storage volumes

parent 7fea12a0
...@@ -121,75 +121,79 @@ questions: ...@@ -121,75 +121,79 @@ questions:
default: 9880 default: 9880
required: true required: true
- variable: appVolumeMounts
- variable: ipfsDataHostPathEnabled label: "IPFS Storage"
label: "Configure Host Path for IPFS data"
group: "Storage" group: "Storage"
schema: schema:
type: boolean type: dict
default: false attrs:
show_subquestions_if: true - variable: staging
subquestions: label: "Staging Volume"
- variable: ipfsDataHostPath
label: "Specify HostPath for IPFS data"
schema:
type: hostpath
- variable: ipfsDataVolume
label: "IPFS Data Volume Defaults"
group: "Storage"
schema: schema:
type: dict type: dict
$ref: $ref:
- "normalize/ixVolume" - "normalize/ixVolume"
show_if: [["ipfsDataHostPathEnabled", "=", false]]
attrs: attrs:
- variable: datasetName
label: "IPFS Staging Volume Dataset Name"
schema:
type: string
$ref:
- "normalize/ixVolume"
show_if: [["hostPathEnabled", "=", false ]]
default: "ix-ipfs-staging"
editable: false
- variable: mountPath - variable: mountPath
label: "Mount Path" label: "Mount Path"
description: "Path where the volume will be mounted inside the pod" description: "Path where the volume will be mounted inside the pod"
schema: schema:
type: path type: path
editable: false editable: false
default: "/data/ipfs" default: "/export"
- variable: datasetName - variable: hostPathEnabled
label: "IPFS Data Dataset Name" label: "host Path Enabled"
schema:
type: string
default: "ix-ipfs-data"
editable: false
- variable: ipfsStagingHostPathEnabled
label: "Configure Host Path for IPFS staging data"
group: "Storage"
schema: schema:
type: boolean type: boolean
default: false default: false
show_subquestions_if: true show_subquestions_if: true
subquestions: subquestions:
- variable: ipfsStagingHostPath - variable: hostPath
label: "Specify HostPath for IPFS staging data" label: "Host Path"
schema: schema:
type: hostpath type: hostpath
required: true
- variable: ipfsStagingVolume - variable: data
label: "IPFS Staging Volume Defaults" label: "Data Volume"
group: "Storage"
schema: schema:
type: dict type: dict
$ref: $ref:
- "normalize/ixVolume" - "normalize/ixVolume"
show_if: [["ipfsStagingHostPathEnabled", "=", false]]
attrs: attrs:
- variable: datasetName
label: "IPFS Data Volume Dataset Name"
schema:
type: string
$ref:
- "normalize/ixVolume"
show_if: [["hostPathEnabled", "=", false]]
default: "ix-ipfs-data"
editable: false
- variable: mountPath - variable: mountPath
label: "Mount Path" label: "Mount Path"
description: "Path where the volume will be mounted inside the pod" description: "Path where the volume will be mounted inside the pod"
schema: schema:
type: path type: path
editable: false editable: false
default: "/export" default: "/data/ipfs"
- variable: datasetName - variable: hostPathEnabled
label: "IPFS Staging Dataset Name" label: "host Path Enabled"
schema: schema:
type: string type: boolean
default: "ix-ipfs-staging" default: false
editable: false show_subquestions_if: true
subquestions:
- variable: hostPath
label: "Host Path"
schema:
type: hostpath
required: 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