Эх сурвалжийг харах

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

* Default to empty path on new "share"

* fix param expansion
Stavros Kois 1 жил өмнө
parent
commit
f5c28de1d5

+ 1 - 1
library/ix-dev/enterprise/syncthing/Chart.yaml

@@ -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'

+ 2 - 1
library/ix-dev/enterprise/syncthing/templates/_configure.tpl

@@ -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: