Syncthing polish and fixes (#510)

* no message

* add test for discovery port/service

* add discovery service and port to questions.yaml

* fix questions.yaml not enabling ports on Syncthing

* Increase syncthing version number

* fix serviceports not being enabled on all other apps too.

* fix a small unrelated UI glitch/bug related to hostPathMounts

* bump patch versions for other apps

* adapt docs accordingly

* fix nzbget httpGet probe (or at least try to)
This commit is contained in:
Kjeld Schouten-Lebbing
2021-05-24 23:01:43 +02:00
committed by GitHub
parent 7afd989b0e
commit 0b70569bdf
89 changed files with 955 additions and 628 deletions
+6 -66
View File
@@ -88,6 +88,12 @@ Please keep in mind that every App is different, some just have one service (whi
schema:
type: dict
attrs:
- variable: enabled
label: "Enable the port"
schema:
type: boolean
default: true
hidden: true
- variable: protocol
label: "Port Type"
schema:
@@ -129,69 +135,3 @@ Please keep in mind that every App is different, some just have one service (whi
default: 36041
required: true
```
##### Unlimited custom services
in some edgecases users might need or want to have the option to add unlimited custom Services. While we _highly_ suggest not doing so, these services can be added with the following standardised template:
```
- variable: additionalServices
label: "Custom Services"
group: "Networking"
schema:
type: list
default: []
items:
- variable: additionalService
label: "Custom Service"
schema:
type: dict
attrs:
- variable: enabled
label: "Enable the service"
schema:
type: boolean
default: true
hidden: true
- variable: type
label: "Service type"
description: "ClusterIP's are only internally available, nodePorts expose the container to the host node System"
schema:
type: string
default: "ClusterIP"
enum:
- value: "nodePort"
description: "NodePort"
- value: "ClusterIP"
description: "ClusterIP"
- variable: port
label: "Port configuration"
schema:
type: dict
attrs:
- variable: port
label: "container port"
schema:
type: int
default: 80
editable: false
hidden: true
- variable: targetport
label: "Internal Service port"
description: "When connecting internally to this App, you'll need this port"
schema:
type: int
default: 80
editable: false
hidden: true
- variable: nodePort
label: "(optional) host nodePort to expose to"
description: "only get used when nodePort is selected"
schema:
type: int
min: 9000
max: 65535
default: 36052
required: true
```
+10 -12
View File
@@ -147,18 +147,16 @@ It should always be included in any App, to give users the option to customise t
type: boolean
default: false
hidden: false
show_subquestions_if: true
subquestions:
- variable: medium
label: "EmptyDir Medium"
schema:
type: string
default: ""
enum:
- value: ""
description: "Default"
- value: "Memory"
description: "Memory"
- variable: medium
label: "EmptyDir Medium"
schema:
type: string
default: ""
enum:
- value: ""
description: "Default"
- value: "Memory"
description: "Memory"
- variable: mountPath
label: "Mount Path"
description: "Path to mount inside the pod"