Syncthing - Default to empty path on new "share" (#1675)

* Default to empty path on new "share"

* fix param expansion
This commit is contained in:
Stavros Kois
2023-10-28 21:21:02 +03:00
committed by GitHub
parent 71e632cc1e
commit f5c28de1d5
2 changed files with 3 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ description: Syncthing is a continuous file synchronization program.
annotations:
title: Syncthing
type: application
version: 1.1.0
version: 1.1.1
apiVersion: v2
appVersion: '1.23.3'
kubeVersion: '>=1.16.0-0'

View File

@@ -26,7 +26,7 @@ configmap:
done
function setConfig() {
syncthing cli --home "$configDir" config $@
syncthing cli --home "$configDir" config "$@"
}
# Now we can use the syncthing cli (wrapper around the API) to set the defaults.
@@ -50,6 +50,7 @@ configmap:
setConfig defaults folder send-xattrs set -- 1
setConfig defaults folder sync-xattrs set -- 1
setConfig defaults folder ignore-perms set -- 1
setConfig defaults folder path set -- ""
syncthing-truenas-logo:
enabled: true
data: