mirror of
https://github.com/truenas/charts.git
synced 2026-11-24 07:19:12 +00:00
Clean questions.yaml allowing configuring env variables/storage for collabora
This commit is contained in:
1 parent
b3a2ea30f8
commit
9a884604e0
2 files changed
+11
-104
No files matched your search
@@ -1,122 +1,29 @@
|
|||||||
groups:
|
groups:
|
||||||
- name: "Storage"
|
- name: "Storage"
|
||||||
description: "Configure Storage for Chia"
|
description: "Configure Storage for Collabora"
|
||||||
- name: "Farmr.net Configuration"
|
- name: "Collabora Environment Variables"
|
||||||
description: "Configure farmr.net support"
|
|
||||||
- name: "Chia Environment Variables"
|
|
||||||
description: "Set the environment that will be visible to the container"
|
description: "Set the environment that will be visible to the container"
|
||||||
|
|
||||||
portals:
|
portals:
|
||||||
web_portal:
|
web_portal:
|
||||||
protocols:
|
protocols:
|
||||||
- "https"
|
- "http"
|
||||||
host:
|
host:
|
||||||
- "www.truepool.io"
|
- "$node_ip"
|
||||||
ports:
|
ports:
|
||||||
- "9980"
|
- "9980"
|
||||||
path: "/kb/truepool-docker-image/"
|
path: "/loleaflet/dist/admin/admin.html"
|
||||||
|
|
||||||
questions:
|
questions:
|
||||||
- variable: farmr_env
|
|
||||||
label: "Enable 'farmr.net' support"
|
|
||||||
group: "Farmr.net Configuration"
|
|
||||||
description: "Configure 'farmr.net' support for chia"
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
default: "off"
|
|
||||||
enum:
|
|
||||||
- value: "off"
|
|
||||||
description: "OFF"
|
|
||||||
- value: "farmer"
|
|
||||||
description: "FARMER"
|
|
||||||
- value: "harvester"
|
|
||||||
description: "HARVESTER"
|
|
||||||
- variable: appVolumeMounts
|
|
||||||
label: "Chia Storage"
|
|
||||||
group: "Storage"
|
|
||||||
schema:
|
|
||||||
type: dict
|
|
||||||
attrs:
|
|
||||||
- variable: config
|
|
||||||
label: "Configuration Volume"
|
|
||||||
schema:
|
|
||||||
type: dict
|
|
||||||
attrs:
|
|
||||||
- variable: datasetName
|
|
||||||
label: "Configuration Volume Dataset Name"
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
hidden: true
|
|
||||||
$ref:
|
|
||||||
- "normalize/ixVolume"
|
|
||||||
show_if: [["hostPathEnabled", "=", false]]
|
|
||||||
default: "config"
|
|
||||||
editable: false
|
|
||||||
- variable: mountPath
|
|
||||||
label: "Configuration Mount Path"
|
|
||||||
description: "Path where the volume will be mounted inside the pod"
|
|
||||||
schema:
|
|
||||||
type: path
|
|
||||||
hidden: true
|
|
||||||
editable: true
|
|
||||||
default: "/data"
|
|
||||||
- variable: hostPathEnabled
|
|
||||||
label: "Enable Custom Host Path for Chia Configuration Volume"
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
show_subquestions_if: true
|
|
||||||
subquestions:
|
|
||||||
- variable: hostPath
|
|
||||||
label: "Host Path for Chia Configuration Volume"
|
|
||||||
schema:
|
|
||||||
type: hostpath
|
|
||||||
required: true
|
|
||||||
- variable: plots
|
|
||||||
label: "Plot Volume"
|
|
||||||
schema:
|
|
||||||
type: dict
|
|
||||||
attrs:
|
|
||||||
- variable: datasetName
|
|
||||||
label: "Plots Volume Name"
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
hidden: true
|
|
||||||
$ref:
|
|
||||||
- "normalize/ixVolume"
|
|
||||||
show_if: [["hostPathEnabled", "=", false]]
|
|
||||||
default: "plots"
|
|
||||||
editable: false
|
|
||||||
- variable: mountPath
|
|
||||||
label: "Plots Mount Path"
|
|
||||||
description: "Path where the volume will be mounted inside the pod"
|
|
||||||
schema:
|
|
||||||
type: path
|
|
||||||
hidden: true
|
|
||||||
editable: false
|
|
||||||
default: "/plots"
|
|
||||||
- variable: hostPathEnabled
|
|
||||||
label: "Enable Custom Host Path for Chia Plots Volume"
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
show_subquestions_if: true
|
|
||||||
subquestions:
|
|
||||||
- variable: hostPath
|
|
||||||
label: "Host Path for Chia Plots Volume"
|
|
||||||
schema:
|
|
||||||
type: hostpath
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- variable: extraAppVolumeMounts
|
- variable: extraAppVolumeMounts
|
||||||
label: "Chia Extra Host Path Volumes"
|
label: "Collabora Extra Host Path Volumes"
|
||||||
group: "Storage"
|
group: "Storage"
|
||||||
schema:
|
schema:
|
||||||
type: list
|
type: list
|
||||||
items:
|
items:
|
||||||
- variable: extraAppVolume
|
- variable: extraAppVolume
|
||||||
label: "Chia Host Path Volume"
|
label: "Collabora Host Path Volume"
|
||||||
description: "Add an extra host path volume for chia application"
|
description: "Add an extra host path volume for Collabora application"
|
||||||
schema:
|
schema:
|
||||||
type: dict
|
type: dict
|
||||||
attrs:
|
attrs:
|
||||||
@@ -134,8 +41,8 @@ questions:
|
|||||||
required: true
|
required: true
|
||||||
|
|
||||||
- variable: environmentVariables
|
- variable: environmentVariables
|
||||||
label: "Environment Variables for Chia"
|
label: "Environment Variables for Collabora"
|
||||||
group: "Chia Environment Variables"
|
group: "Collabora Environment Variables"
|
||||||
schema:
|
schema:
|
||||||
type: list
|
type: list
|
||||||
default: []
|
default: []
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ spec:
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
ports:
|
ports:
|
||||||
- name: chia-network
|
- name: collabora
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
containerPort: 9980
|
containerPort: 9980
|
||||||
{{ $envList := (default list .Values.environmentVariables) }}
|
{{ $envList := (default list .Values.environmentVariables) }}
|
||||||
|
|||||||
Reference in new issue
Block a user