Disable ingress by default for stable apps

This commit is contained in:
kjeld Schouten-Lebbing 2021-04-25 19:22:05 +02:00
parent 7d37653151
commit d9a8817478
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
18 changed files with 93 additions and 94 deletions

View File

@ -761,7 +761,7 @@ questions:
label: "Select Reverse-Proxy Type" label: "Select Reverse-Proxy Type"
schema: schema:
type: string type: string
default: "selfsigned" default: "disabled"
enum: enum:
- value: "disabled" - value: "disabled"
description: "Disabled" description: "Disabled"

View File

@ -279,7 +279,7 @@ questions:
label: "Select Reverse-Proxy Type" label: "Select Reverse-Proxy Type"
schema: schema:
type: string type: string
default: "selfsigned" default: "disabled"
enum: enum:
- value: "disabled" - value: "disabled"
description: "Disabled" description: "Disabled"

View File

@ -355,7 +355,7 @@ questions:
label: "Select Reverse-Proxy Type" label: "Select Reverse-Proxy Type"
schema: schema:
type: string type: string
default: "selfsigned" default: "disabled"
enum: enum:
- value: "disabled" - value: "disabled"
description: "Disabled" description: "Disabled"

View File

@ -298,7 +298,7 @@ questions:
label: "Select Reverse-Proxy Type" label: "Select Reverse-Proxy Type"
schema: schema:
type: string type: string
default: "selfsigned" default: "disabled"
enum: enum:
- value: "disabled" - value: "disabled"
description: "Disabled" description: "Disabled"

View File

@ -340,7 +340,7 @@ questions:
label: "Select Reverse-Proxy Type" label: "Select Reverse-Proxy Type"
schema: schema:
type: string type: string
default: "selfsigned" default: "disabled"
enum: enum:
- value: "disabled" - value: "disabled"
description: "Disabled" description: "Disabled"

View File

@ -473,7 +473,7 @@ questions:
label: "Select Reverse-Proxy Type" label: "Select Reverse-Proxy Type"
schema: schema:
type: string type: string
default: "selfsigned" default: "disabled"
enum: enum:
- value: "disabled" - value: "disabled"
description: "Disabled" description: "Disabled"

View File

@ -339,7 +339,7 @@ questions:
label: "Select Reverse-Proxy Type" label: "Select Reverse-Proxy Type"
schema: schema:
type: string type: string
default: "selfsigned" default: "disabled"
enum: enum:
- value: "disabled" - value: "disabled"
description: "Disabled" description: "Disabled"

View File

@ -288,7 +288,7 @@ questions:
label: "Select Reverse-Proxy Type" label: "Select Reverse-Proxy Type"
schema: schema:
type: string type: string
default: "selfsigned" default: "disabled"
enum: enum:
- value: "disabled" - value: "disabled"
description: "Disabled" description: "Disabled"

View File

@ -298,7 +298,7 @@ questions:
label: "Select Reverse-Proxy Type" label: "Select Reverse-Proxy Type"
schema: schema:
type: string type: string
default: "selfsigned" default: "disabled"
enum: enum:
- value: "disabled" - value: "disabled"
description: "Disabled" description: "Disabled"

View File

@ -289,7 +289,7 @@ questions:
label: "Select Reverse-Proxy Type" label: "Select Reverse-Proxy Type"
schema: schema:
type: string type: string
default: "selfsigned" default: "disabled"
enum: enum:
- value: "disabled" - value: "disabled"
description: "Disabled" description: "Disabled"

View File

@ -289,7 +289,7 @@ questions:
label: "Select Reverse-Proxy Type" label: "Select Reverse-Proxy Type"
schema: schema:
type: string type: string
default: "selfsigned" default: "disabled"
enum: enum:
- value: "disabled" - value: "disabled"
description: "Disabled" description: "Disabled"

View File

@ -314,90 +314,89 @@ questions:
type: dict type: dict
attrs: attrs:
- variable: main - variable: main
label: "Web Reverse Proxy Configuration" label: "WebUI"
schema: schema:
type: dict type: dict
attrs: attrs:
- variable: enabled - variable: certType
label: "Enable Web Reverse Proxy" label: "Select Reverse-Proxy Type"
schema: schema:
type: boolean type: string
default: false default: "disabled"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
- variable: type description: "Disabled"
label: "Reverse Proxy Type" - value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- 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: ""
- variable: entrypoint
label: "Select Entrypoint"
schema:
show_if: [["certType", "!=", "disabled"]]
type: string
default: "websecure"
required: true
enum:
- value: "websecure"
description: "Websecure: HTTPS/TLS port 443"
- value: "plex"
description: "Plex: HTTPS/TLS port 32400"
- variable: hosts
label: "Hosts"
schema:
show_if: [["certType", "!=", "disabled"]]
type: list
default: []
items:
- variable: host
label: "Host"
schema: schema:
type: string type: dict
default: "HTTP" attrs:
hidden: true
editable: false
required: true
- variable: serviceName
label: "Service name to proxy to"
schema:
hidden: true
editable: false
type: string
default: ""
- variable: entrypoint
label: "Select Entrypoint"
schema:
type: string
default: "websecure"
required: true
enum:
- value: "websecure"
description: "Websecure: HTTPS/TLS port 443"
- value: "plex"
description: "Plex: HTTPS/TLS port 32400"
- variable: hosts
label: "Hosts"
schema:
type: list
default: []
items:
- variable: host - variable: host
label: "Host" label: "Domain Name"
required: true
schema: schema:
type: dict type: string
attrs: - variable: path
- variable: host label: "path"
label: "Domain Name" schema:
required: true type: string
schema: required: true
type: string hidden: true
- variable: path default: "/"
label: "path" - variable: certificate
schema: label: "Select TrueNAS SCALE Certificate"
type: string schema:
required: true type: int
hidden: true show_if: [["certType", "=", "ixcert"]]
default: "/" $ref:
- variable: certType - "definitions/certificate"
label: "Select Certificate Type" - variable: authForwardURL
schema: label: "Forward Authentication URL"
type: string schema:
default: "selfsigned" show_if: [["certType", "!=", "disabled"]]
enum: type: string
- value: "" default: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate
label: "Select TrueNAS SCALE Certificate"
schema:
type: int
show_if: [["certType", "=", "ixcert"]]
$ref:
- "definitions/certificate"
- variable: authForwardURL
label: "Forward Authentication URL"
schema:
type: string
default: ""
- variable: UMASK - variable: UMASK
group: "Advanced" group: "Advanced"

View File

@ -290,7 +290,7 @@ questions:
label: "Select Reverse-Proxy Type" label: "Select Reverse-Proxy Type"
schema: schema:
type: string type: string
default: "selfsigned" default: "disabled"
enum: enum:
- value: "disabled" - value: "disabled"
description: "Disabled" description: "Disabled"

View File

@ -290,7 +290,7 @@ questions:
label: "Select Reverse-Proxy Type" label: "Select Reverse-Proxy Type"
schema: schema:
type: string type: string
default: "selfsigned" default: "disabled"
enum: enum:
- value: "disabled" - value: "disabled"
description: "Disabled" description: "Disabled"

View File

@ -280,7 +280,7 @@ questions:
label: "Select Reverse-Proxy Type" label: "Select Reverse-Proxy Type"
schema: schema:
type: string type: string
default: "selfsigned" default: "disabled"
enum: enum:
- value: "disabled" - value: "disabled"
description: "Disabled" description: "Disabled"

View File

@ -290,7 +290,7 @@ questions:
label: "Select Reverse-Proxy Type" label: "Select Reverse-Proxy Type"
schema: schema:
type: string type: string
default: "selfsigned" default: "disabled"
enum: enum:
- value: "disabled" - value: "disabled"
description: "Disabled" description: "Disabled"

View File

@ -598,7 +598,7 @@ questions:
label: "Select Reverse-Proxy Type" label: "Select Reverse-Proxy Type"
schema: schema:
type: string type: string
default: "selfsigned" default: "disabled"
enum: enum:
- value: "disabled" - value: "disabled"
description: "Disabled" description: "Disabled"

View File

@ -367,7 +367,7 @@ questions:
label: "Select Reverse-Proxy Type" label: "Select Reverse-Proxy Type"
schema: schema:
type: string type: string
default: "selfsigned" default: "disabled"
enum: enum:
- value: "disabled" - value: "disabled"
description: "Disabled" description: "Disabled"