2021-09-13 10:58:34 +00:00
# Include{groups}
2021-04-13 14:47:37 +00:00
portals :
2022-02-24 18:15:06 +00:00
open :
2023-03-19 10:58:22 +00:00
# Include{portalLink}
path : "$kubernetes-resource_configmap_tcportal-open_path"
2021-04-13 14:47:37 +00:00
questions :
2021-10-20 17:39:05 +00:00
# Include{global}
2023-03-01 07:55:51 +00:00
# Include{workload}
# Include{workloadDeployment}
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
# Include{containerBasic}
# Include{containerAdvanced}
2021-09-13 10:58:34 +00:00
# Include{containerConfig}
2023-04-21 13:32:34 +00:00
# Include{podOptions}
2023-05-28 19:29:27 +00:00
- variable : expertIngressClass
label : Expert Mode
group : App Configuration
description : |
Expert Mode contains settings like : </br>
- IngressClass </br>
2021-09-03 22:53:15 +00:00
schema :
2023-05-28 19:29:27 +00:00
type : boolean
default : false
show_subquestions_if : true
subquestions :
- variable : ingressClass
label : "ingressClass"
2021-08-10 08:30:26 +00:00
schema :
2023-05-28 19:29:27 +00:00
additional_attrs : true
type : dict
attrs :
- variable : enabled
label : "Enable"
description : "When enabled, ingressClass will match the entered name of this app"
schema :
type : boolean
default : false
2021-09-03 22:53:15 +00:00
- variable : isDefaultClass
label : "isDefaultClass"
schema :
type : boolean
2023-05-28 19:29:27 +00:00
show_if : [ [ "enabled" , "=" , true ] ]
2021-09-03 22:53:15 +00:00
default : false
- variable : logs
label : "Logs"
group : "App Configuration"
schema :
2022-01-21 00:35:59 +00:00
additional_attrs : true
2021-09-03 22:53:15 +00:00
type : dict
attrs :
- variable : general
label : "General Logs"
schema :
2022-01-21 00:35:59 +00:00
additional_attrs : true
2021-09-03 22:53:15 +00:00
type : dict
attrs :
- variable : level
label : "Log Level"
schema :
type : string
default : "ERROR"
enum :
- value : "INFO"
description : "Info"
- value : "WARN"
description : "Warnings"
- value : "ERROR"
description : "Errors"
- value : "FATAL"
description : "Fatal Errors"
- value : "PANIC"
description : "Panics"
- value : "DEBUG"
description : "Debug"
2022-05-05 18:40:43 +00:00
- variable : format
label : "General Log format"
schema :
type : string
default : "common"
enum :
- value : "common"
description : "Common Log Format"
- value : "json"
description : "JSON"
2021-09-03 22:53:15 +00:00
- variable : access
label : "Access Logs"
schema :
2022-01-21 00:35:59 +00:00
additional_attrs : true
2021-09-03 22:53:15 +00:00
type : dict
attrs :
- variable : enabled
label : "Enable"
schema :
type : boolean
default : false
show_subquestions_if : true
subquestions :
- variable : enabledFilters
label : "Enable Filters"
schema :
type : boolean
default : false
show_subquestions_if : true
subquestions :
- variable : filters
label : "Filters"
schema :
2022-01-21 00:35:59 +00:00
additional_attrs : true
2021-09-03 22:53:15 +00:00
type : dict
attrs :
- variable : statuscodes
label : "Status codes"
schema :
type : string
default : "200,300-302"
- variable : retryattempts
label : "retryattempts"
schema :
type : boolean
default : true
- variable : minduration
label : "minduration"
schema :
type : string
default : "10ms"
- variable : fields
label : "Fields"
schema :
2022-01-21 00:35:59 +00:00
additional_attrs : true
2021-09-03 22:53:15 +00:00
type : dict
attrs :
- variable : general
label : "General"
schema :
2022-01-21 00:35:59 +00:00
additional_attrs : true
2021-09-03 22:53:15 +00:00
type : dict
attrs :
- variable : defaultmode
label : "Default Mode"
schema :
type : string
default : "keep"
enum :
- value : "keep"
description : "Keep"
- value : "drop"
description : "Drop"
- variable : headers
label : "Headers"
schema :
2022-01-21 00:35:59 +00:00
additional_attrs : true
2021-09-03 22:53:15 +00:00
type : dict
attrs :
- variable : defaultmode
label : "Default Mode"
schema :
type : string
default : "drop"
enum :
- value : "keep"
description : "Keep"
- value : "drop"
description : "Drop"
2022-05-05 18:40:43 +00:00
- variable : format
label : "Access Log format"
schema :
type : string
default : "common"
enum :
- value : "common"
description : "Common Log Format"
- value : "json"
description : "JSON"
2021-06-30 10:56:17 +00:00
- variable : middlewares
label : ""
group : "Middlewares"
schema :
2022-01-21 00:35:59 +00:00
additional_attrs : true
2021-06-30 10:56:17 +00:00
type : dict
attrs :
2022-09-26 08:11:11 +00:00
# Include{basicAuthMiddleware}
# Include{forwardAuthMiddleware}
2023-07-31 09:16:47 +00:00
# Include{bufferingMiddleware}
2023-07-15 06:54:49 +00:00
# Include{customRequestHeadersMiddleware}
# Include{customResponseHeadersMiddleware}
2023-10-27 18:15:37 +00:00
# Include{rewriteResponseHeadersMiddleware}
2023-07-31 09:16:47 +00:00
# Include{customFrameOptionsValueMiddleware}
2022-09-26 08:11:11 +00:00
# Include{chainMiddleware}
# Include{redirectSchemeMiddleware}
# Include{rateLimitMiddleware}
# Include{redirectRegexMiddleware}
# Include{stripPrefixRegexMiddleware}
# Include{ipWhitelistMiddleware}
# Include{themeParkMiddleware}
# Include{realIPMiddleware}
2022-11-13 11:03:07 +00:00
# Include{geoBlockMiddleware}
2022-09-26 08:11:11 +00:00
# Include{addPrefixMiddleware}
2023-07-31 10:32:04 +00:00
# Include{modsecurityMiddleware}
2024-03-22 10:20:26 +00:00
# Include{crowdsecMiddleware}
2021-09-03 22:53:15 +00:00
- variable : service
2021-06-10 12:49:42 +00:00
group : "Networking and Services"
2021-09-03 22:53:15 +00:00
label : "Configure Service Entrypoint"
2021-04-13 14:47:37 +00:00
schema :
2022-01-21 00:35:59 +00:00
additional_attrs : true
2021-04-13 14:47:37 +00:00
type : dict
attrs :
2021-09-03 22:53:15 +00:00
- variable : main
label : "Main Service"
description : "The Primary service on which the healthcheck runs, often the webUI"
2021-04-13 14:47:37 +00:00
schema :
2022-01-21 00:35:59 +00:00
additional_attrs : true
2021-04-13 14:47:37 +00:00
type : dict
attrs :
2022-09-17 11:24:06 +00:00
# Include{serviceSelectorLoadBalancer}
2022-09-14 21:27:12 +00:00
# Include{serviceSelectorExtras}
2021-09-03 22:53:15 +00:00
- variable : main
label : "Main Entrypoint Configuration"
schema :
2022-01-21 00:35:59 +00:00
additional_attrs : true
2021-09-03 22:53:15 +00:00
type : dict
attrs :
- variable : port
label : "Entrypoints Port"
schema :
type : int
2021-11-28 09:44:06 +00:00
default : 9000
2021-09-03 22:53:15 +00:00
required : true
- variable : tcp
2021-11-07 10:49:14 +00:00
label : "TCP Service"
2021-09-03 22:53:15 +00:00
description : "The tcp Entrypoint service"
2021-04-13 14:47:37 +00:00
schema :
2022-01-21 00:35:59 +00:00
additional_attrs : true
2021-04-13 14:47:37 +00:00
type : dict
attrs :
2022-09-17 11:24:06 +00:00
# Include{serviceSelectorLoadBalancer}
2022-09-14 21:27:12 +00:00
# Include{serviceSelectorExtras}
2021-09-03 22:53:15 +00:00
- variable : web
label : "web Entrypoint Configuration"
schema :
2022-01-21 00:35:59 +00:00
additional_attrs : true
2021-09-03 22:53:15 +00:00
type : dict
attrs :
2021-12-22 14:30:58 +00:00
- variable : port
label : "Entrypoints Port"
schema :
type : int
2023-12-23 18:18:47 +00:00
default : 80
2021-12-22 14:30:58 +00:00
required : true
2022-11-11 12:54:11 +00:00
- variable : advanced
label : Show Advanced Settings
schema :
type : boolean
default : false
show_subquestions_if : true
subquestions :
2021-12-22 14:30:58 +00:00
- variable : redirectPort
label : "Redirect to Port"
schema :
type : int
- variable : redirectTo
label : "Redirect to Entrypoint"
schema :
type : string
default : "websecure"
2022-08-27 20:58:46 +00:00
# Include{forwardedHeaders}
# Include{proxyProtocol}
2021-09-03 22:53:15 +00:00
- variable : websecure
label : "websecure Entrypoints Configuration"
schema :
2022-01-21 00:35:59 +00:00
additional_attrs : true
2021-09-03 22:53:15 +00:00
type : dict
attrs :
2021-12-22 14:30:58 +00:00
- variable : port
label : "Entrypoints Port"
schema :
type : int
2023-12-23 18:18:47 +00:00
default : 443
2021-12-22 14:30:58 +00:00
required : true
2022-11-11 12:54:11 +00:00
- variable : advanced
label : Show Advanced Settings
schema :
type : boolean
default : false
show_subquestions_if : true
subquestions :
2021-12-22 14:30:58 +00:00
- variable : redirectPort
label : "Redirect to Port"
schema :
type : int
- variable : redirectTo
label : "Redirect to Entrypoint"
schema :
type : string
2022-08-27 20:58:46 +00:00
# Include{forwardedHeaders}
# Include{proxyProtocol}
2021-09-03 23:37:28 +00:00
- variable : tls
label : "websecure Entrypoints Configuration"
schema :
2023-06-13 08:01:12 +00:00
additional_attrs : true
2021-09-03 23:37:28 +00:00
type : dict
hidden : true
attrs :
- variable : enabled
2021-11-07 12:26:25 +00:00
label : "Enabled"
2021-09-03 23:37:28 +00:00
schema :
type : boolean
default : true
hidden : true
2021-09-03 22:53:15 +00:00
- variable : portsList
label : "Additional TCP Entrypoints"
schema :
type : list
default : [ ]
items :
- variable : portsListEntry
label : "Custom Entrypoints"
schema :
2022-01-21 00:35:59 +00:00
additional_attrs : true
2021-09-03 22:53:15 +00:00
type : dict
attrs :
- variable : enabled
label : "Enable the port"
schema :
type : boolean
default : true
hidden : true
- variable : name
label : "Entrypoints Name"
schema :
type : string
default : ""
- variable : protocol
label : "Entrypoints Type"
schema :
type : string
2023-04-16 09:51:02 +00:00
default : "tcp"
2021-09-03 22:53:15 +00:00
enum :
2023-04-16 09:51:02 +00:00
- value : http
2021-09-03 22:53:15 +00:00
description : "HTTP"
2023-04-16 09:51:02 +00:00
- value : "https"
2021-09-03 22:53:15 +00:00
description : "HTTPS"
2023-04-16 09:51:02 +00:00
- value : tcp
2021-09-03 22:53:15 +00:00
description : "TCP"
- variable : port
2021-11-13 21:05:00 +00:00
label : "Port"
description : "This port exposes the container port on the service"
2021-09-03 22:53:15 +00:00
schema :
type : int
required : true
2021-09-03 23:37:28 +00:00
- variable : tls
label : "websecure Entrypoints Configuration"
schema :
2022-01-21 00:35:59 +00:00
additional_attrs : true
2021-09-03 23:37:28 +00:00
type : dict
attrs :
- variable : enabled
2021-11-07 12:26:25 +00:00
label : "Enabled"
2021-09-03 23:37:28 +00:00
schema :
type : boolean
default : true
2021-12-22 14:30:58 +00:00
- variable : redirectPort
label : "Redirect to Port"
schema :
type : int
- variable : redirectTo
label : "Redirect to Entrypoint"
schema :
type : string
2022-08-27 20:58:46 +00:00
# Include{forwardedHeaders}
# Include{proxyProtocol}
2022-08-08 21:25:02 +00:00
# Include{ingressRoot}
2021-12-26 15:58:03 +00:00
- variable : main
label : "Main Ingress"
schema :
2022-01-21 00:35:59 +00:00
additional_attrs : true
2021-12-26 15:58:03 +00:00
type : dict
attrs :
2021-11-15 20:13:10 +00:00
# Include{ingressDefault}
2023-05-28 10:32:51 +00:00
# Include{ingressAdvanced}
2022-11-11 18:09:57 +00:00
# Include{ingressList}
2023-03-01 08:30:36 +00:00
# Include{securityContextRoot}
- variable : runAsUser
label : "runAsUser"
description : "The UserID of the user running the application"
2021-11-06 20:41:31 +00:00
schema :
2023-03-01 08:30:36 +00:00
type : int
default : 568
2023-03-04 12:42:14 +00:00
- variable : runAsGroup
label : "runAsGroup"
description : "The groupID of the user running the application"
schema :
type : int
default : 568
2023-03-01 08:30:36 +00:00
# Include{securityContextContainer}
# Include{securityContextAdvanced}
# Include{securityContextPod}
2023-03-04 12:42:14 +00:00
- variable : fsGroup
2023-03-01 08:30:36 +00:00
label : "fsGroup"
description : "The group that should own ALL storage."
schema :
type : int
default : 568
2021-09-26 18:44:02 +00:00
# Include{resources}
2023-03-11 14:50:50 +00:00
# Include{metrics}
# Include{prometheusRule}
2021-10-04 11:46:38 +00:00
# Include{advanced}
2021-09-13 10:58:34 +00:00
# Include{addons}
2022-10-01 21:39:52 +00:00
# Include{codeserver}
2023-03-01 08:30:36 +00:00
# Include{netshoot}
2022-10-01 21:39:52 +00:00
# Include{vpn}
2022-08-12 11:15:27 +00:00
# Include{documentation}
2023-12-23 18:18:47 +00:00
- variable : warning
group : Documentation
label: 'WARNING : If installed, be sure to move the TrueNAS GUI to another port (not 80 or 443).'
2024-03-31 10:21:28 +00:00
description: 'See : <br /><a href="https://truecharts.org/charts/premium/traefik/how-to">https://truecharts.org/charts/premium/traefik/how-to</a> for more info.'
2023-12-23 18:18:47 +00:00
schema :
additional_attrs : true
type : dict
attrs :
- variable : warningconfim
label : I am aware that I will brick my system, if I did not follow the instructions.
schema :
type : boolean
2023-12-23 20:36:42 +00:00
default : true
2023-12-23 18:18:47 +00:00
required : true