123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195 |
- groups:
- - name: "Container Images"
- description: "Image to be used for container"
- - name: "Workload Configuration"
- description: "Configure Storage for IPFS"
- - name: "Storage"
- description: "Configure Storage for IPFS"
- - name: "IPFS Configuration"
- description: "Configure Storage for IPFS"
- portals:
- web_portal:
- protocols:
- - "http"
- host:
- - "$node_ip"
- ports:
- - "$variable-service.apiPort"
- path: "/webui"
- questions:
- # Image related
- - variable: image
- description: "Docker Image Details"
- label: "Docker Image"
- group: "Container Images"
- schema:
- type: dict
- required: true
- attrs:
- - variable: repository
- description: "Docker image repository"
- label: "Image repository"
- schema:
- type: string
- default: "ipfs/go-ipfs"
- required: true
- - variable: tag
- description: "Tag to use for specified image"
- label: "Image Tag"
- schema:
- type: string
- default: "v0.8.0-rc1"
- - variable: pullPolicy
- description: "Docker Image Pull Policy"
- label: "Image Pull Policy"
- schema:
- type: string
- default: "IfNotPresent"
- enum:
- - value: "IfNotPresent"
- description: "Only pull image if not present on host"
- - value: "Always"
- description: "Always pull image even if present on host"
- - value: "Never"
- description: "Never pull image even if it's not present on host"
- - variable: updateStrategy
- label: "IPFS update strategy"
- group: "Workload Configuration"
- schema:
- type: string
- default: "Recreate"
- enum:
- - value: "RollingUpdate"
- description: "Create new pods and then kill old ones"
- - value: "Recreate"
- description: "Kill existing pods before creating new ones"
- - variable: environment
- label: "IPFS image environment"
- group: "IPFS Configuration"
- schema:
- type: list
- default: []
- items:
- - variable: environmentVariable
- label: "Environment Variable"
- schema:
- type: dict
- attrs:
- - variable: name
- label: "Name"
- schema:
- type: string
- - variable: value
- label: "Value"
- schema:
- type: string
- - variable: service
- description: "IPFS Service Configuration"
- label: "IPFS Service Configuration"
- group: "IPFS Configuration"
- schema:
- type: dict
- required: true
- attrs:
- - variable: swarmPort
- label: "Swarm Port to use for IPFS (Public)"
- schema:
- type: int
- min: 9000
- max: 65535
- default: 9401
- required: true
- - variable: apiPort
- label: "API Port to use for IPFS (local)"
- schema:
- type: int
- min: 9000
- max: 65535
- default: 9501
- required: true
- - variable: gatewayPort
- label: "Gateway Port to use for IPFS (local)"
- schema:
- type: int
- min: 9000
- max: 65535
- default: 9880
- required: true
- - variable: ipfsDataHostPathEnabled
- 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"
- schema:
- type: dict
- $ref:
- - "normalize/ixVolume"
- show_if: [["ipfsStagingHostPathEnabled", "=", false]]
- attrs:
- - variable: mountPath
- label: "Mount Path"
- description: "Path where the volume will be mounted inside the pod"
- schema:
- type: path
- editable: false
- default: "/export"
- - variable: datasetName
- label: "IPFS Staging Dataset Name"
- schema:
- type: string
- default: "ix-ipfs-staging"
- editable: false
|