|
@@ -31,6 +31,74 @@ questions:
|
|
|
$ref:
|
|
|
- definitions/timezone
|
|
|
|
|
|
+ - variable: syncthingConfig
|
|
|
+ label: ""
|
|
|
+ group: Syncthing Configuration
|
|
|
+ schema:
|
|
|
+ type: dict
|
|
|
+ attrs:
|
|
|
+ # Boolean flags are currently
|
|
|
+ # not exposed to the user
|
|
|
+ - variable: natTraversal
|
|
|
+ label: NAT Traversal
|
|
|
+ schema:
|
|
|
+ type: boolean
|
|
|
+ default: false
|
|
|
+ hidden: true
|
|
|
+ - variable: localDiscovery
|
|
|
+ label: Local Discovery
|
|
|
+ schema:
|
|
|
+ type: boolean
|
|
|
+ default: false
|
|
|
+ hidden: true
|
|
|
+ - variable: globalDiscovery
|
|
|
+ label: Global Discovery
|
|
|
+ schema:
|
|
|
+ type: boolean
|
|
|
+ default: false
|
|
|
+ hidden: true
|
|
|
+ - variable: telemetry
|
|
|
+ label: Telemetry
|
|
|
+ schema:
|
|
|
+ type: boolean
|
|
|
+ default: false
|
|
|
+ hidden: true
|
|
|
+ - variable: relaying
|
|
|
+ label: Relaying
|
|
|
+ schema:
|
|
|
+ type: boolean
|
|
|
+ default: false
|
|
|
+ hidden: true
|
|
|
+ - variable: announceLANAddresses
|
|
|
+ label: Announce LAN Addresses
|
|
|
+ schema:
|
|
|
+ type: boolean
|
|
|
+ default: false
|
|
|
+ hidden: true
|
|
|
+
|
|
|
+ - variable: additionalEnvs
|
|
|
+ label: Additional Environment Variables
|
|
|
+ description: Configure additional environment variables for Syncthing.
|
|
|
+ schema:
|
|
|
+ type: list
|
|
|
+ default: []
|
|
|
+ items:
|
|
|
+ - variable: env
|
|
|
+ label: Environment Variable
|
|
|
+ schema:
|
|
|
+ type: dict
|
|
|
+ attrs:
|
|
|
+ - variable: name
|
|
|
+ label: Name
|
|
|
+ schema:
|
|
|
+ type: string
|
|
|
+ required: true
|
|
|
+ - variable: value
|
|
|
+ label: Value
|
|
|
+ schema:
|
|
|
+ type: string
|
|
|
+ required: true
|
|
|
+
|
|
|
- variable: syncthingID
|
|
|
label: ""
|
|
|
group: User and Group Configuration
|
|
@@ -131,6 +199,7 @@ questions:
|
|
|
schema:
|
|
|
type: string
|
|
|
required: true
|
|
|
+ immutable: true
|
|
|
default: "ixVolume"
|
|
|
enum:
|
|
|
- value: "hostPath"
|
|
@@ -155,7 +224,6 @@ questions:
|
|
|
show_if: [["type", "=", "hostPath"]]
|
|
|
immutable: true
|
|
|
required: true
|
|
|
-
|
|
|
- variable: additionalStorages
|
|
|
label: Additional Storage
|
|
|
description: Additional storage for Syncthing.
|
|
@@ -176,11 +244,13 @@ questions:
|
|
|
- variable: type
|
|
|
label: Type
|
|
|
description: |
|
|
|
- Host Path: Is a path that already exists on the system.
|
|
|
+ Host Path: Is a path that already exists on the system.</br>
|
|
|
+ SMB Share: Mounts a persistent volume claim to a SMB share.
|
|
|
schema:
|
|
|
type: string
|
|
|
required: true
|
|
|
default: "hostPath"
|
|
|
+ immutable: true
|
|
|
enum:
|
|
|
- value: "hostPath"
|
|
|
description: Host Path (Path that already exists on the system)
|