Ingress GUI rework (#364)
* Add common part of ingress changes * jackett demo gui * Port new IngressUI to all Apps
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
@@ -238,84 +238,82 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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"
|
||||||
|
|||||||
@@ -282,88 +282,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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"
|
||||||
|
|||||||
@@ -281,88 +281,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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: PUID
|
- variable: PUID
|
||||||
group: "Advanced"
|
group: "Advanced"
|
||||||
label: "PUID"
|
label: "PUID"
|
||||||
|
|||||||
@@ -407,84 +407,82 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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: PUID
|
- variable: PUID
|
||||||
group: "Advanced"
|
group: "Advanced"
|
||||||
label: "PUID"
|
label: "PUID"
|
||||||
|
|||||||
@@ -283,88 +283,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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: PUID
|
- variable: PUID
|
||||||
group: "Advanced"
|
group: "Advanced"
|
||||||
label: "PUID"
|
label: "PUID"
|
||||||
|
|||||||
@@ -283,88 +283,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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"
|
||||||
|
|||||||
@@ -281,88 +281,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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: PUID
|
- variable: PUID
|
||||||
group: "Advanced"
|
group: "Advanced"
|
||||||
label: "PUID"
|
label: "PUID"
|
||||||
|
|||||||
@@ -282,88 +282,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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: PUID
|
- variable: PUID
|
||||||
group: "Advanced"
|
group: "Advanced"
|
||||||
label: "PUID"
|
label: "PUID"
|
||||||
|
|||||||
@@ -283,88 +283,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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: PUID
|
- variable: PUID
|
||||||
group: "Advanced"
|
group: "Advanced"
|
||||||
label: "PUID"
|
label: "PUID"
|
||||||
|
|||||||
@@ -282,88 +282,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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: PUID
|
- variable: PUID
|
||||||
group: "Advanced"
|
group: "Advanced"
|
||||||
label: "PUID"
|
label: "PUID"
|
||||||
|
|||||||
@@ -282,88 +282,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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"
|
||||||
|
|||||||
@@ -282,88 +282,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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"
|
||||||
|
|||||||
@@ -282,88 +282,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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"
|
||||||
|
|||||||
@@ -282,88 +282,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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"
|
||||||
|
|||||||
@@ -334,88 +334,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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: PUID
|
- variable: PUID
|
||||||
group: "Advanced"
|
group: "Advanced"
|
||||||
label: "PUID"
|
label: "PUID"
|
||||||
|
|||||||
@@ -409,88 +409,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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"
|
||||||
|
|||||||
@@ -282,88 +282,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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"
|
||||||
|
|||||||
@@ -298,88 +298,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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"
|
||||||
|
|||||||
@@ -284,88 +284,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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: PUID
|
- variable: PUID
|
||||||
group: "Advanced"
|
group: "Advanced"
|
||||||
|
|||||||
@@ -324,88 +324,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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: PUID
|
- variable: PUID
|
||||||
group: "Advanced"
|
group: "Advanced"
|
||||||
label: "PUID"
|
label: "PUID"
|
||||||
|
|||||||
@@ -409,88 +409,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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: tcp
|
- variable: tcp
|
||||||
label: "TCP Ingress Configuration"
|
label: "TCP Ingress Configuration"
|
||||||
schema:
|
schema:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ ingress:
|
|||||||
test1:
|
test1:
|
||||||
enabled: true
|
enabled: true
|
||||||
test2:
|
test2:
|
||||||
enabled: true
|
certType: "plain"
|
||||||
|
|
||||||
additionalIngress:
|
additionalIngress:
|
||||||
- name: "test3"
|
- name: "test3"
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ ingress:
|
|||||||
test1:
|
test1:
|
||||||
enabled: true
|
enabled: true
|
||||||
test2:
|
test2:
|
||||||
enabled: true
|
certType: "plain"
|
||||||
|
|
||||||
additionalIngress:
|
additionalIngress:
|
||||||
- name: "test3"
|
- name: "test3"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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 -}}
|
||||||
|
|
||||||
|
|||||||
@@ -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: ""
|
||||||
|
|
||||||
|
|||||||
@@ -271,86 +271,83 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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: ""
|
|
||||||
|
|||||||
@@ -290,88 +290,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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"
|
||||||
|
|||||||
@@ -332,88 +332,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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: ""
|
|
||||||
# Enable privileged
|
# Enable privileged
|
||||||
- variable: securityContext
|
- variable: securityContext
|
||||||
group: "Advanced"
|
group: "Advanced"
|
||||||
|
|||||||
@@ -444,89 +444,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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: PUID
|
- variable: PUID
|
||||||
group: "Advanced"
|
group: "Advanced"
|
||||||
label: "PUID"
|
label: "PUID"
|
||||||
|
|||||||
@@ -335,84 +335,82 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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: PUID
|
- variable: PUID
|
||||||
group: "Advanced"
|
group: "Advanced"
|
||||||
label: "PUID"
|
label: "PUID"
|
||||||
|
|||||||
@@ -284,84 +284,82 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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"
|
||||||
|
|||||||
@@ -290,88 +290,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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"
|
||||||
|
|||||||
@@ -281,88 +281,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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"
|
||||||
|
|||||||
@@ -281,88 +281,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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"
|
||||||
|
|||||||
@@ -282,88 +282,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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: authForwardURL
|
- variable: authForwardURL
|
||||||
label: "Forward Authentication URL"
|
label: "Forward Authentication URL"
|
||||||
schema:
|
schema:
|
||||||
|
|||||||
@@ -282,88 +282,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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"
|
||||||
|
|||||||
@@ -272,88 +272,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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: ""
|
|
||||||
# Enable privileged
|
# Enable privileged
|
||||||
- variable: securityContext
|
- variable: securityContext
|
||||||
group: "Advanced"
|
group: "Advanced"
|
||||||
|
|||||||
@@ -282,88 +282,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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"
|
||||||
|
|||||||
@@ -590,88 +590,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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"
|
||||||
|
|||||||
@@ -359,88 +359,86 @@ 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"
|
||||||
- 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"
|
||||||
|
- 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"
|
|
||||||
- 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: ""
|
|
||||||
# Enable privileged
|
# Enable privileged
|
||||||
- variable: securityContext
|
- variable: securityContext
|
||||||
group: "Advanced"
|
group: "Advanced"
|
||||||
|
|||||||
Reference in New Issue
Block a user