mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-24 04:58:31 -05:00
clean up storage configuration and update storage documentation
Signed-off-by: David Christofas <dchristofas@owncloud.com>
This commit is contained in:
@@ -244,8 +244,6 @@ func rules(cfg *config.Config) map[string]interface{} {
|
||||
cfg.Reva.StorageUsers.MountPath: cfg.Reva.StorageUsers.Endpoint,
|
||||
cfg.Reva.StorageUsers.MountID: cfg.Reva.StorageUsers.Endpoint,
|
||||
cfg.Reva.StoragePublicLink.MountPath: cfg.Reva.StoragePublicLink.Endpoint,
|
||||
//TODO remove after talking to @jfd
|
||||
cfg.Reva.StoragePublicLink.MountID: cfg.Reva.StorageHome.Endpoint,
|
||||
// public link storage returns the mount id of the actual storage
|
||||
// medatada storage not part of the global namespace
|
||||
}
|
||||
|
||||
@@ -233,14 +233,6 @@ func GatewayWithConfig(cfg *config.Config) []cli.Flag {
|
||||
Destination: &cfg.Reva.StoragePublicLink.MountPath,
|
||||
},
|
||||
// public-link has no mount id
|
||||
// TODO after talking to @jfd
|
||||
&cli.StringFlag{
|
||||
Name: "storage-public-link-mount-id",
|
||||
Value: "1284d238-aa92-42ce-bdc4-0b0000009162",
|
||||
Usage: "mount id",
|
||||
EnvVars: []string{"STORAGE_PUBLIC_LINK_MOUNT_ID"},
|
||||
Destination: &cfg.Reva.StoragePublicLink.MountID,
|
||||
},
|
||||
}
|
||||
|
||||
flags = append(flags, TracingWithConfig(cfg)...)
|
||||
|
||||
@@ -85,7 +85,7 @@ func StorageHomeWithConfig(cfg *config.Config) []cli.Flag {
|
||||
Name: "mount-id",
|
||||
// This is the mount id of the storage provider using the same storage driver
|
||||
// as /home but withoud home enabled.
|
||||
Value: "1284d238-aa92-42ce-bdc4-0b0000009162", // /users
|
||||
Value: "1284d238-aa92-42ce-bdc4-0b0000009157", // /users
|
||||
Usage: "mount id",
|
||||
EnvVars: []string{"STORAGE_HOME_MOUNT_ID"},
|
||||
Destination: &cfg.Reva.StorageHome.MountID,
|
||||
|
||||
@@ -82,7 +82,7 @@ func StorageUsersWithConfig(cfg *config.Config) []cli.Flag {
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "mount-id",
|
||||
Value: "1284d238-aa92-42ce-bdc4-0b0000009162", // /users
|
||||
Value: "1284d238-aa92-42ce-bdc4-0b0000009157", // /users
|
||||
Usage: "mount id",
|
||||
EnvVars: []string{"STORAGE_USERS_MOUNT_ID"},
|
||||
Destination: &cfg.Reva.StorageUsers.MountID,
|
||||
|
||||
Reference in New Issue
Block a user