mirror of
https://github.com/truenas/charts.git
synced 2026-04-30 05:21:57 +08:00
239 lines
7.4 KiB
YAML
239 lines
7.4 KiB
YAML
groups:
|
|
- name: "Container Images"
|
|
description: "Image to be used for container"
|
|
- name: "Nextcloud Configuration"
|
|
description: "Configuration details for Nextcloud workload"
|
|
- name: "Storage"
|
|
description: "Configure Storage for Nextcloud"
|
|
- name: "Container Configuration"
|
|
description: "Configure nextcloud container parameters"
|
|
- name: "Postgresql Configuration"
|
|
description: "Configure Postgresql for nextcloud"
|
|
- name: "Scaling/Upgrade Policy"
|
|
description: "Configure how pods are replaced when configuration is upgraded"
|
|
- name: "Advanced DNS Settings"
|
|
description: "Configure DNS settings"
|
|
|
|
portals:
|
|
web_portal:
|
|
protocols:
|
|
- "http"
|
|
host:
|
|
- "$variable-nextcloud.host"
|
|
ports:
|
|
- "$variable-service.nodePort"
|
|
|
|
questions:
|
|
|
|
- variable: dnsConfig
|
|
label: "DNS Configuration"
|
|
group: "Advanced DNS Settings"
|
|
schema:
|
|
type: dict
|
|
attrs:
|
|
- variable: options
|
|
label: "DNS Options"
|
|
schema:
|
|
type: list
|
|
items:
|
|
- variable: optionsEntry
|
|
label: "Option Entry Configuration"
|
|
schema:
|
|
type: dict
|
|
attrs:
|
|
- variable: name
|
|
label: "Option Name"
|
|
schema:
|
|
type: string
|
|
required: true
|
|
- variable: value
|
|
label: "Option Value"
|
|
schema:
|
|
type: string
|
|
required: true
|
|
|
|
- variable: nextcloud
|
|
description: "Nextcloud configuration details"
|
|
label: "Nextcloud Configuration"
|
|
group: "Nextcloud Configuration"
|
|
schema:
|
|
type: dict
|
|
required: true
|
|
additional_attrs: true
|
|
attrs:
|
|
- variable: host
|
|
description: "Nextcloud host to create application URLs"
|
|
label: "Nextcloud host"
|
|
schema:
|
|
type: string
|
|
$ref:
|
|
- "definitions/nodeIP"
|
|
- variable: username
|
|
label: "Username"
|
|
description: "Name of the Nextcloud admin user"
|
|
schema:
|
|
type: string
|
|
default: "admin"
|
|
required: true
|
|
- variable: password
|
|
label: "Password"
|
|
description: "Password for the Nextcloud admin user"
|
|
schema:
|
|
type: string
|
|
private: true
|
|
default: "changeme"
|
|
required: true
|
|
- variable: datadir
|
|
label: "Nextcloud data directory"
|
|
description: "Configures the data directory where nextcloud stores all files from the users"
|
|
schema:
|
|
type: path
|
|
default: "/var/www/html/data"
|
|
required: true
|
|
|
|
# Update strategy
|
|
- variable: updateStrategy
|
|
description: "Upgrade Policy"
|
|
label: "Update Strategy"
|
|
group: "Scaling/Upgrade Policy"
|
|
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: service
|
|
description: "Nextcloud Service Configuration"
|
|
label: "Nextcloud Service Configuration"
|
|
group: "Nextcloud Configuration"
|
|
schema:
|
|
type: dict
|
|
required: true
|
|
attrs:
|
|
- variable: nodePort
|
|
label: "Node Port to use for Nextcloud"
|
|
schema:
|
|
type: int
|
|
min: 9000
|
|
max: 65535
|
|
default: 9001
|
|
required: true
|
|
|
|
- variable: appVolumeMounts
|
|
label: "Nextcloud Storage"
|
|
group: "Storage"
|
|
schema:
|
|
type: dict
|
|
attrs:
|
|
- variable: nextcloud-data
|
|
label: "Nextcloud Data Volume"
|
|
schema:
|
|
type: dict
|
|
attrs:
|
|
- variable: datasetName
|
|
label: "Nextcloud Data Volume Name"
|
|
schema:
|
|
type: string
|
|
hidden: true
|
|
$ref:
|
|
- "normalize/ixVolume"
|
|
show_if: [["hostPathEnabled", "=", false]]
|
|
default: "ix-nextcloud_data"
|
|
editable: false
|
|
- variable: mountPath
|
|
label: "Nextcloud Data Mount Path"
|
|
description: "Path where the volume will be mounted inside the pod"
|
|
schema:
|
|
type: path
|
|
hidden: true
|
|
editable: false
|
|
default: "/var/www"
|
|
- variable: hostPathEnabled
|
|
label: "Enable Host Path for Nextcloud Data Volume"
|
|
schema:
|
|
type: boolean
|
|
default: false
|
|
show_subquestions_if: true
|
|
subquestions:
|
|
- variable: hostPath
|
|
label: "Host Path for Nextcloud Data Volume"
|
|
schema:
|
|
type: hostpath
|
|
required: true
|
|
|
|
- variable: extraAppVolumeMounts
|
|
label: "Nextcloud Extra Host Path Volumes"
|
|
group: "Storage"
|
|
schema:
|
|
type: list
|
|
items:
|
|
- variable: extraAppVolume
|
|
label: "Nextcloud Host Path Volume"
|
|
description: "Add an extra host path volume for nextcloud application"
|
|
schema:
|
|
type: dict
|
|
attrs:
|
|
- variable: mountPath
|
|
label: "Mount Path in Pod"
|
|
description: "Path where the volume will be mounted inside the pod"
|
|
schema:
|
|
type: path
|
|
required: true
|
|
- variable: hostPath
|
|
label: "Host Path"
|
|
description: "Host path"
|
|
schema:
|
|
type: hostpath
|
|
required: true
|
|
|
|
- variable: postgresAppVolumeMounts
|
|
label: "Postgres Storage"
|
|
group: "Storage"
|
|
schema:
|
|
type: dict
|
|
hidden: true
|
|
attrs:
|
|
- variable: postgres-data
|
|
label: "Postgres Data Volume"
|
|
schema:
|
|
type: dict
|
|
attrs:
|
|
- variable: datasetName
|
|
label: "Postgres Data Volume Name"
|
|
schema:
|
|
type: string
|
|
$ref:
|
|
- "normalize/ixVolume"
|
|
default: "ix-postgres_data"
|
|
editable: false
|
|
- variable: mountPath
|
|
label: "Postgresql Data Mount Path"
|
|
description: "Path where the volume will be mounted inside the pod"
|
|
schema:
|
|
type: path
|
|
editable: false
|
|
default: "/var/lib/postgresql/data"
|
|
- variable: postgres-backup
|
|
label: "Postgres Backup Volume"
|
|
schema:
|
|
type: dict
|
|
attrs:
|
|
- variable: datasetName
|
|
label: "Postgres Backup Volume Name"
|
|
schema:
|
|
type: string
|
|
$ref:
|
|
- "normalize/ixVolume"
|
|
default: "ix-postgres_backups"
|
|
editable: false
|
|
- variable: mountPath
|
|
label: "Postgresql Backup Mount Path"
|
|
description: "Path where the volume will be mounted inside the pod"
|
|
schema:
|
|
type: path
|
|
editable: false
|
|
default: "/postgres_backups"
|