Ingress GUI rework (#364)

* Add common part of ingress changes

* jackett demo gui

* Port new IngressUI to all Apps
This commit is contained in:
Kjeld Schouten-Lebbing
2021-04-15 23:49:05 +02:00
committed by GitHub
parent 6f9bdb2a20
commit 5b7f274a94
43 changed files with 2663 additions and 2734 deletions
+11 -11
View File
@@ -494,14 +494,14 @@ class Test < ChartTest
end end
describe 'ingress' do describe 'ingress' do
it 'should be disabled when (additional)ingress enabled = false' do it 'should be disabled when (additional)ingress enabled = false and certType = disabled' do
values = { values = {
ingress: { ingress: {
test1: { test1: {
enabled: false enabled: false
}, },
test2: { test2: {
enabled: false certType: "disabled"
} }
}, },
additionalIngress: [ additionalIngress: [
@@ -526,7 +526,7 @@ class Test < ChartTest
enabled: true enabled: true
}, },
test2: { test2: {
enabled: true certType: "plain"
} }
}, },
additionalIngress: [ additionalIngress: [
@@ -551,7 +551,7 @@ class Test < ChartTest
enabled: true enabled: true
}, },
test2: { test2: {
enabled: true certType: "plain"
} }
}, },
additionalIngress: [ additionalIngress: [
@@ -577,7 +577,7 @@ class Test < ChartTest
enabled: false enabled: false
}, },
test2: { test2: {
enabled: true certType: "plain"
} }
}, },
additionalIngress: [ additionalIngress: [
@@ -649,7 +649,7 @@ class Test < ChartTest
type: "HTTP" type: "HTTP"
}, },
test2: { test2: {
enabled: false certType: "disabled"
} }
}, },
additionalIngress: [ additionalIngress: [
@@ -706,7 +706,7 @@ class Test < ChartTest
type: "TCP" type: "TCP"
}, },
test2: { test2: {
enabled: false certType: "disabled"
} }
}, },
additionalIngress: [ additionalIngress: [
@@ -733,7 +733,7 @@ class Test < ChartTest
type: "UDP" type: "UDP"
}, },
test2: { test2: {
enabled: false certType: "disabled"
} }
}, },
additionalIngress: [ additionalIngress: [
@@ -759,7 +759,7 @@ class Test < ChartTest
enabled: false enabled: false
}, },
test2: { test2: {
enabled: false certType: "disabled"
} }
}, },
additionalIngress: [ additionalIngress: [
@@ -786,7 +786,7 @@ class Test < ChartTest
enabled: false enabled: false
}, },
test2: { test2: {
enabled: false certType: "disabled"
} }
}, },
additionalIngress: { additionalIngress: {
@@ -845,7 +845,7 @@ class Test < ChartTest
type: "UDP" type: "UDP"
}, },
test2: { test2: {
enabled: false, certType: "disabled",
type: "TCP" type: "TCP"
}, },
test2b: { test2b: {
+16 -18
View File
@@ -238,13 +238,20 @@ questions:
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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -263,6 +270,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -272,6 +280,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -292,18 +301,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -314,6 +311,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
+17 -19
View File
@@ -282,17 +282,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -311,6 +318,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -320,6 +328,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -340,18 +349,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -362,6 +359,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
+17 -19
View File
@@ -281,17 +281,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -310,6 +317,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -319,6 +327,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -339,18 +348,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -361,6 +358,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
- variable: PUID - variable: PUID
+16 -18
View File
@@ -407,13 +407,20 @@ questions:
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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -432,6 +439,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -441,6 +449,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -461,18 +470,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -483,6 +480,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
- variable: PUID - variable: PUID
+17 -19
View File
@@ -283,17 +283,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -312,6 +319,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -321,6 +329,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -341,18 +350,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -363,6 +360,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
- variable: PUID - variable: PUID
+17 -19
View File
@@ -283,17 +283,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -312,6 +319,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -321,6 +329,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -341,18 +350,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -363,6 +360,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
+17 -19
View File
@@ -281,17 +281,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -310,6 +317,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -319,6 +327,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -339,18 +348,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -361,6 +358,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
- variable: PUID - variable: PUID
+17 -19
View File
@@ -282,17 +282,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -311,6 +318,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -320,6 +328,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -340,18 +349,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -362,6 +359,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
- variable: PUID - variable: PUID
+17 -19
View File
@@ -283,17 +283,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -312,6 +319,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -321,6 +329,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -341,18 +350,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -363,6 +360,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
- variable: PUID - variable: PUID
+17 -19
View File
@@ -282,17 +282,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -311,6 +318,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -320,6 +328,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -340,18 +349,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -362,6 +359,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
- variable: PUID - variable: PUID
+17 -19
View File
@@ -282,17 +282,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -311,6 +318,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -320,6 +328,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -340,18 +349,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -362,6 +359,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
+17 -19
View File
@@ -282,17 +282,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -311,6 +318,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -320,6 +328,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -340,18 +349,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -362,6 +359,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
+17 -19
View File
@@ -282,17 +282,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -311,6 +318,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -320,6 +328,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -340,18 +349,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -362,6 +359,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
+17 -19
View File
@@ -282,17 +282,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -311,6 +318,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -320,6 +328,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -340,18 +349,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -362,6 +359,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
+17 -19
View File
@@ -334,17 +334,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -363,6 +370,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -372,6 +380,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -392,18 +401,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -414,6 +411,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
- variable: PUID - variable: PUID
+17 -19
View File
@@ -409,17 +409,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -438,6 +445,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -447,6 +455,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -467,18 +476,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -489,6 +486,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
+17 -19
View File
@@ -282,17 +282,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -311,6 +318,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -320,6 +328,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -340,18 +349,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -362,6 +359,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
+17 -19
View File
@@ -298,17 +298,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -327,6 +334,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -336,6 +344,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -356,18 +365,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -378,6 +375,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
+17 -19
View File
@@ -284,17 +284,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -313,6 +320,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -322,6 +330,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -342,18 +351,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -364,6 +361,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
+17 -19
View File
@@ -324,17 +324,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -353,6 +360,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -362,6 +370,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -382,18 +391,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -404,6 +401,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
- variable: PUID - variable: PUID
+17 -19
View File
@@ -409,17 +409,24 @@ questions:
type: dict type: dict
attrs: attrs:
- variable: main - variable: main
label: "Web Ingress 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -438,6 +445,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -447,6 +455,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -467,18 +476,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -489,6 +486,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
- variable: tcp - variable: tcp
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v2 apiVersion: v2
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
name: common-test name: common-test
version: 2.1.4 version: 2.1.5
# upstream_version: # upstream_version:
appVersion: none appVersion: none
description: Helper chart to test different use cases of the common library description: Helper chart to test different use cases of the common library
+1 -1
View File
@@ -48,7 +48,7 @@ ingress:
test1: test1:
enabled: true enabled: true
test2: test2:
enabled: true certType: "plain"
additionalIngress: additionalIngress:
- name: "test3" - name: "test3"
+1 -1
View File
@@ -46,7 +46,7 @@ ingress:
test1: test1:
enabled: true enabled: true
test2: test2:
enabled: true certType: "plain"
additionalIngress: additionalIngress:
- name: "test3" - name: "test3"
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v2 apiVersion: v2
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
name: common name: common
version: 3.5.1 version: 3.5.2
# upstream_version: # upstream_version:
appVersion: none appVersion: none
description: Function library for TrueCharts description: Function library for TrueCharts
+7 -3
View File
@@ -5,7 +5,9 @@ of the main Ingress and any additionalIngresses.
{{- define "common.ingress" -}} {{- define "common.ingress" -}}
{{- /* Generate named ingresses as required */ -}} {{- /* Generate named ingresses as required */ -}}
{{- range $name, $ingress := .Values.ingress }} {{- range $name, $ingress := .Values.ingress }}
{{- if $ingress.enabled -}} {{- $certType := $ingress.certType | default "disabled" -}}
{{- $enabled := $ingress.enabled | default false -}}
{{- if or ( ne $certType "disabled" ) ( $ingress.enabled ) -}}
{{- print ("---") | nindent 0 -}} {{- print ("---") | nindent 0 -}}
{{- $ingressValues := $ingress -}} {{- $ingressValues := $ingress -}}
@@ -44,7 +46,8 @@ of the main Ingress and any additionalIngresses.
{{- /* Generate additional ingresses as required */ -}} {{- /* Generate additional ingresses as required */ -}}
{{- range $index, $additionalIngress := .Values.additionalIngress }} {{- range $index, $additionalIngress := .Values.additionalIngress }}
{{- if $additionalIngress.enabled -}} {{- $certType := $additionalIngress.certType | default "disabled" -}}
{{- if or ( ne $certType "disabled" ) ( $additionalIngress.enabled ) -}}
{{- print ("---") | nindent 0 -}} {{- print ("---") | nindent 0 -}}
{{- $ingressValues := $additionalIngress -}} {{- $ingressValues := $additionalIngress -}}
@@ -86,7 +89,8 @@ of the main Ingress and any additionalIngresses.
{{- /* Generate externalService ingresses as required */ -}} {{- /* Generate externalService ingresses as required */ -}}
{{- range $index, $externalService := .Values.externalServices }} {{- range $index, $externalService := .Values.externalServices }}
{{- if $externalService.enabled -}} {{- $certType := $externalService.certType | default "disabled" -}}
{{- if or ( ne $certType "disabled" ) ( $externalService.enabled ) -}}
{{- print ("---") | nindent 0 -}} {{- print ("---") | nindent 0 -}}
{{- $ingressValues := $externalService -}} {{- $ingressValues := $externalService -}}
+17 -18
View File
@@ -753,16 +753,24 @@ 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: true default: "selfsigned"
hidden: true enum:
- value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -781,6 +789,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -790,6 +799,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -810,18 +820,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -832,6 +830,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
+17 -20
View File
@@ -271,18 +271,24 @@ questions:
type: dict type: dict
attrs: attrs:
- variable: main - variable: main
label: "Web Reverse Proxy Configuration" label: "WebUI"
group: "Reverse Proxy"
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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -301,6 +307,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -310,6 +317,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -330,18 +338,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -352,5 +348,6 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
+17 -19
View File
@@ -290,17 +290,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -319,6 +326,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -328,6 +336,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -348,18 +357,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -370,6 +367,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
+17 -19
View File
@@ -332,17 +332,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -361,6 +368,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -370,6 +378,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -390,18 +399,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -412,6 +409,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
# Enable privileged # Enable privileged
+17 -20
View File
@@ -444,18 +444,24 @@ questions:
type: dict type: dict
attrs: attrs:
- variable: main - variable: main
label: "Web Reverse Proxy Configuration" label: "WebUI"
group: "Reverse Proxy"
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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -474,6 +480,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -483,6 +490,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -503,18 +511,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -525,6 +521,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
- variable: PUID - variable: PUID
+16 -18
View File
@@ -335,13 +335,20 @@ questions:
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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -360,6 +367,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -369,6 +377,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -389,18 +398,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -411,6 +408,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
- variable: PUID - variable: PUID
+16 -18
View File
@@ -284,13 +284,20 @@ questions:
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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -309,6 +316,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -318,6 +326,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -338,18 +347,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -360,6 +357,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
+17 -19
View File
@@ -290,17 +290,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -319,6 +326,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -328,6 +336,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -348,18 +357,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -370,6 +367,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
+17 -19
View File
@@ -281,17 +281,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -310,6 +317,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -319,6 +327,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -339,18 +348,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -361,6 +358,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
+17 -19
View File
@@ -281,17 +281,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -310,6 +317,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -319,6 +327,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -339,18 +348,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -361,6 +358,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
+17 -19
View File
@@ -282,17 +282,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -311,6 +318,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -320,6 +328,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -340,18 +349,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -362,6 +359,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
- variable: authForwardURL - variable: authForwardURL
+17 -19
View File
@@ -282,17 +282,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -311,6 +318,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -320,6 +328,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -340,18 +349,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -362,6 +359,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
+17 -19
View File
@@ -272,17 +272,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -301,6 +308,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -310,6 +318,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -330,18 +339,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -352,6 +349,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
# Enable privileged # Enable privileged
+17 -19
View File
@@ -282,17 +282,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -311,6 +318,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -320,6 +328,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -340,18 +349,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -362,6 +359,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
+17 -19
View File
@@ -590,17 +590,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -619,6 +626,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -628,6 +636,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -648,18 +657,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -670,6 +667,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
+17 -19
View File
@@ -359,17 +359,24 @@ 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: "selfsigned"
show_subquestions_if: true enum:
subquestions: - value: "disabled"
description: "Disabled"
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: type - variable: type
label: "Reverse Proxy Type" label: "Reverse Proxy Type"
schema: schema:
@@ -388,6 +395,7 @@ questions:
- variable: entrypoint - variable: entrypoint
label: "Select Entrypoint" label: "Select Entrypoint"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "websecure" default: "websecure"
required: true required: true
@@ -397,6 +405,7 @@ questions:
- variable: hosts - variable: hosts
label: "Hosts" label: "Hosts"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: list type: list
default: [] default: []
items: items:
@@ -417,18 +426,6 @@ questions:
required: true required: true
hidden: true hidden: true
default: "/" default: "/"
- variable: certType
label: "Select Certificate Type"
schema:
type: string
default: "selfsigned"
enum:
- value: ""
description: "No Encryption/TLS/Certificates"
- value: "selfsigned"
description: "Self-Signed Certificate"
- value: "ixcert"
description: "TrueNAS SCALE Certificate"
- variable: certificate - variable: certificate
label: "Select TrueNAS SCALE Certificate" label: "Select TrueNAS SCALE Certificate"
schema: schema:
@@ -439,6 +436,7 @@ questions:
- variable: authForwardURL - variable: authForwardURL
label: "Forward Authentication URL" label: "Forward Authentication URL"
schema: schema:
show_if: [["certType", "!=", "disabled"]]
type: string type: string
default: "" default: ""
# Enable privileged # Enable privileged