Change storages to not expose themselves by default.

This commit is contained in:
Benedikt Kulmann
2020-06-10 16:48:07 +02:00
parent 775942387c
commit 62e260a6ab
3 changed files with 3 additions and 3 deletions

View File

@@ -146,7 +146,7 @@ func StorageEOSWithConfig(cfg *config.Config) []cli.Flag {
},
&cli.BoolFlag{
Name: "expose-data-server",
Value: true,
Value: false,
Usage: "exposes a dedicated data server",
EnvVars: []string{"REVA_STORAGE_EOS_EXPOSE_DATA_SERVER"},
Destination: &cfg.Reva.StorageEOS.ExposeDataServer,

View File

@@ -148,7 +148,7 @@ func StorageHomeWithConfig(cfg *config.Config) []cli.Flag {
},
&cli.BoolFlag{
Name: "expose-data-server",
Value: true,
Value: false,
Usage: "exposes a dedicated data server",
EnvVars: []string{"REVA_STORAGE_HOME_EXPOSE_DATA_SERVER"},
Destination: &cfg.Reva.StorageHome.ExposeDataServer,

View File

@@ -146,7 +146,7 @@ func StorageOCWithConfig(cfg *config.Config) []cli.Flag {
},
&cli.BoolFlag{
Name: "expose-data-server",
Value: true,
Value: false,
Usage: "exposes a dedicated data server",
EnvVars: []string{"REVA_STORAGE_OC_EXPOSE_DATA_SERVER"},
Destination: &cfg.Reva.StorageOC.ExposeDataServer,