2021-02-15 10:31:41 +00:00
groups :
- name : "Container Image"
2021-03-06 20:32:31 +00:00
description : "Image to be used for container"
- name : "Workload Configuration"
description : "Configure workload deployment"
2021-02-22 10:55:26 +00:00
- name : "Configuration"
description : "additional container configuration"
2021-02-15 10:31:41 +00:00
- name : "Networking"
2021-03-06 20:32:31 +00:00
description : "Configure / service for container"
- name : "Storage and Devices"
description : "Persist and share data that is separate from the lifecycle of the container"
- name : "Resource Reservation"
description : "Specify resources to be allocated to workload"
2021-03-05 21:31:02 +00:00
- name : "Reverse Proxy Configuration"
2021-02-25 16:09:50 +00:00
description : "Reverse Proxy configuration"
2021-03-12 15:56:04 +00:00
- name : "Advanced"
description : "Advanced Configuration"
2021-03-06 20:32:31 +00:00
- name : "WARNING"
description : "WARNING"
2021-02-15 10:31:41 +00:00
portals :
web_portal :
protocols :
2021-03-11 16:41:17 +00:00
- "$kubernetes-resource_configmap_portal_protocol"
2021-02-23 17:21:54 +00:00
host :
2021-03-11 16:41:17 +00:00
- "$kubernetes-resource_configmap_portal_host"
2021-02-15 10:31:41 +00:00
ports :
2021-03-11 16:41:17 +00:00
- "$kubernetes-resource_configmap_portal_port"
2021-02-15 10:31:41 +00:00
path : "/loleaflet/dist/admin/admin.html"
questions :
2021-03-06 20:32:31 +00:00
2021-03-11 16:41:17 +00:00
- variable : portal
group : "Container Image"
label : "Configure Portal Button"
schema :
type : dict
hidden : true
attrs :
- variable : enabled
label : "Enable"
description : "enable the portal button"
schema :
hidden : true
editable : false
type : boolean
default : true
2021-03-06 20:32:31 +00:00
# Update Policy
2021-02-15 10:31:41 +00:00
- variable : strategyType
group : "Container Image"
label : "Update Strategy"
schema :
type : string
2021-03-06 20:32:31 +00:00
default : "Recreate"
2021-02-15 10:31:41 +00:00
enum :
- value : "RollingUpdate"
description : "Create new pods and then kill old ones"
- value : "Recreate"
2021-02-23 17:21:54 +00:00
description : "Kill existing pods before creating new ones"
2021-02-15 10:31:41 +00:00
2021-02-22 10:55:26 +00:00
# Configure Time Zone
- variable : timezone
group : "Configuration"
label : "Timezone"
schema :
type : string
default : "Etc/UTC"
$ref :
- "definitions/timezone"
- variable : PUID
group : "Configuration"
label : "PUID"
description : "The UserID of the user running the application and owning the files"
schema :
type : int
default : 568
- variable : PGID
group : "Configuration"
label : "PGID"
description : "The groupID of the user/group running the application and owning the files"
schema :
type : int
default : 568
- variable : UMASK
group : "Configuration"
label : "UMASK (advanced)"
description : "The UMASK used if supported by the application"
schema :
type : string
default : "002"
2021-03-06 20:32:31 +00:00
# environmentVariables Configuraiton
- variable : env
group : "Configuration"
label : "Environment Variables Configuration"
schema :
type : dict
required : true
attrs :
- variable : domain
label : "Domains will be using collabora"
description : 'Use backslash "\" before dots ".". Use pipe "|" to separate multiple domains'
schema :
type : string
default : 'nextcloud\.domain\.tld|othernextcloud\.domain\.tld'
required : true
- variable : username
label : "Username for WebUI"
schema :
type : string
default : "admin"
required : true
- variable : password
label : "Password for WebUI"
schema :
type : string
private : true
default : "changeme"
required : true
- variable : dictionaries
label : "Dictionaries to use, leave empty to use all"
schema :
type : string
default : "de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru"
- variable : extra_params
label : "Extra Parameters to add"
description : 'e.g. "– o:welcome.enable=false", See more on /etc/loolwsd/loowsd.xml. Separate params with space'
schema :
type : string
default : "-o:welcome.enable=false -o:user_interface.mode=notebookbar -o:ssl.termination=true -o:ssl.enable=false"
- variable : server_name
label : "Server Name"
description : "When this environment variable is set (is not “”), then its value will be used as server name in /etc/loolwsd/loolwsd.xml. Without this, CODE is not delivering a correct host for the websocket connection in case of a proxy in front of it."
schema :
type : string
default : 'collabora\.domain\.tld'
2021-02-15 10:31:41 +00:00
# Service Configuration
2021-03-06 20:32:31 +00:00
# Enable Host Networking
- variable : hostNetwork
group : "Networking"
label : "Enable Host Networking"
schema :
type : boolean
default : false
2021-03-03 15:51:25 +00:00
- variable : services
2021-02-15 10:31:41 +00:00
group : "Networking"
2021-03-03 15:51:25 +00:00
label : "Configure Service"
2021-02-15 10:31:41 +00:00
schema :
type : dict
attrs :
2021-03-03 15:51:25 +00:00
- variable : main
label : "Main service"
description : "The Primary service on which the healthcheck runs, often the webUI"
2021-02-15 10:31:41 +00:00
schema :
2021-03-03 15:51:25 +00:00
type : dict
attrs :
- variable : enabled
label : "Enable the service"
schema :
type : boolean
default : true
hidden : true
- variable : type
label : "Service type"
description : "ClusterIP's are only internally available, nodePorts expose the container to the host node System"
schema :
type : string
default : "ClusterIP"
enum :
2021-03-11 16:41:17 +00:00
- value : "NodePort"
2021-03-03 15:51:25 +00:00
description : "NodePort"
- value : "ClusterIP"
description : "ClusterIP"
2021-02-15 10:31:41 +00:00
- variable : port
label : "Port configuration"
schema :
type : dict
attrs :
2021-03-03 15:51:25 +00:00
- variable : protocol
label : "Port Type"
schema :
type : string
2021-03-12 15:56:04 +00:00
default : "HTTP"
hidden : false
2021-03-03 15:51:25 +00:00
enum :
2021-03-12 15:56:04 +00:00
- value : HTTP
description : "HTTP"
- value : "HTTPS"
description : "HTTPS"
2021-02-15 10:31:41 +00:00
- variable : port
label : "container port"
schema :
type : int
default : 9980
editable : false
2021-03-03 15:51:25 +00:00
hidden : true
- variable : targetport
label : "Internal Service port"
description : "When connecting internally to this App, you'll need this port"
schema :
type : int
default : 9980
2021-03-05 21:31:02 +00:00
editable : false
hidden : true
2021-02-15 10:31:41 +00:00
- variable : nodePort
2021-03-03 15:51:25 +00:00
label : "(optional) host nodePort to expose to"
description : "only get used when nodePort is selected"
2021-02-15 10:31:41 +00:00
schema :
type : int
min : 9000
max : 65535
2021-03-03 15:51:25 +00:00
default : 36052
2021-02-15 10:31:41 +00:00
required : true
2021-02-23 17:21:54 +00:00
2021-03-06 20:32:31 +00:00
# Reverse Proxy
- variable : additionalAppVolumeMounts
label : "Custom app storage"
group : "Storage and Devices"
2021-02-15 10:31:41 +00:00
schema :
2021-03-06 20:32:31 +00:00
type : list
default : [ ]
items :
- variable : volumeMount
label : "Custom Storage"
2021-02-15 10:31:41 +00:00
schema :
2021-03-06 20:32:31 +00:00
type : dict
attrs :
- variable : enabled
label : "Enabled"
schema :
type : boolean
default : true
required : true
hidden : true
editable : false
- variable : setPermissions
label : "Automatic Permissions"
description : "Automatically set permissions on install"
schema :
type : boolean
default : true
hidden : false
- variable : name
label : "Mountpoint Name"
schema :
type : string
default : ""
required : true
editable : true
- variable : emptyDir
label : "emptyDir"
schema :
type : boolean
default : false
hidden : true
editable : false
- variable : mountPath
label : "Mount Path"
description : "Path to mount inside the pod"
schema :
type : path
required : true
default : ""
editable : true
- variable : hostPathEnabled
label : "host Path Enabled"
schema :
type : boolean
default : true
hidden : true
- variable : hostPath
label : "Host Path"
schema :
type : hostpath
required : true
2021-02-15 10:31:41 +00:00
2021-03-05 21:31:02 +00:00
- variable : ingress
2021-02-15 10:31:41 +00:00
label : ""
2021-03-05 21:31:02 +00:00
group : "Reverse Proxy Configuration"
2021-02-15 10:31:41 +00:00
schema :
type : dict
attrs :
2021-03-05 21:31:02 +00:00
- variable : main
2021-02-25 16:09:50 +00:00
label : "Web Reverse Proxy Configuration"
group : "Reverse Proxy"
2021-02-15 10:31:41 +00:00
schema :
type : dict
attrs :
- variable : enabled
2021-02-25 16:09:50 +00:00
label : "Enable Web Reverse Proxy"
2021-02-15 10:31:41 +00:00
schema :
type : boolean
default : false
show_subquestions_if : true
subquestions :
2021-03-05 21:31:02 +00:00
- variable : type
label : "Reverse Proxy Type"
schema :
type : string
default : "HTTP"
hidden : true
editable : false
required : true
- variable : serviceName
label : "Service name to proxy to"
schema :
hidden : true
editable : false
type : string
default : ""
2021-02-15 10:31:41 +00:00
- variable : entrypoint
label : "Select Entrypoint"
schema :
type : string
default : "websecure"
required : true
enum :
- value : "websecure"
description : "Websecure: HTTPS/TLS port 443"
- variable : hosts
label : "Hosts"
schema :
type : list
default : [ ]
items :
- variable : host
label : "Host"
schema :
type : dict
attrs :
- variable : host
label : "Domain Name"
required : true
schema :
type : string
2021-03-12 15:56:04 +00:00
- variable : path
label : "path"
2021-02-15 10:31:41 +00:00
schema :
2021-03-12 15:56:04 +00:00
type : string
required : true
hidden : true
default : "/"
2021-02-15 10:31:41 +00:00
- variable : certType
label : "Select Certificate Type"
schema :
type : string
2021-03-05 21:31:02 +00:00
default : "selfsigned"
2021-02-15 10:31:41 +00:00
enum :
- value : ""
description : "No Encryption/TLS/Certificates"
- value : "selfsigned"
description : "Self-Signed Certificate"
2021-03-05 21:31:02 +00:00
- value : "ixcert"
description : "TrueNAS SCALE Certificate"
- variable : certificate
label : "Select TrueNAS SCALE Certificate"
schema :
type : int
show_if : [ [ "certType" , "=" , "ixcert" ] ]
$ref :
- "definitions/certificate"
2021-02-15 10:31:41 +00:00
- variable : authForwardURL
label : "Forward Authentication URL"
schema :
type : string
2021-02-23 17:21:54 +00:00
default : ""