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