diff --git a/extensions/storage-shares/pkg/config/config.go b/extensions/storage-shares/pkg/config/config.go index cb3258648d3..b0416316c2a 100644 --- a/extensions/storage-shares/pkg/config/config.go +++ b/extensions/storage-shares/pkg/config/config.go @@ -20,6 +20,7 @@ type Config struct { SkipUserGroupsInToken bool `yaml:"skip_user_groups_in_token" env:"STORAGE_SHARES_SKIP_USER_GROUPS_IN_TOKEN"` + MountID string `yaml:"mount_id" env:"STORAGE_SHARES_MOUNT_ID"` ReadOnly bool `yaml:"readonly" env:"STORAGE_SHARES_READ_ONLY"` SharesProviderEndpoint string `yaml:"user_share_provider_endpoint" env:"STORAGE_SHARES_USER_SHARE_PROVIDER_ENDPOINT"` diff --git a/extensions/storage-shares/pkg/config/defaults/defaultconfig.go b/extensions/storage-shares/pkg/config/defaults/defaultconfig.go index f9842e791dd..9569e344010 100644 --- a/extensions/storage-shares/pkg/config/defaults/defaultconfig.go +++ b/extensions/storage-shares/pkg/config/defaults/defaultconfig.go @@ -30,6 +30,7 @@ func DefaultConfig() *config.Config { Reva: &config.Reva{ Address: "127.0.0.1:9142", }, + MountID: "7639e57c-4433-4a12-8201-722fd0009154", ReadOnly: false, SharesProviderEndpoint: "localhost:9150", } diff --git a/extensions/storage-shares/pkg/revaconfig/config.go b/extensions/storage-shares/pkg/revaconfig/config.go index 4e69088fec1..c0155462217 100644 --- a/extensions/storage-shares/pkg/revaconfig/config.go +++ b/extensions/storage-shares/pkg/revaconfig/config.go @@ -24,6 +24,7 @@ func StorageSharesConfigFromStruct(cfg *config.Config) map[string]interface{} { "services": map[string]interface{}{ "sharesstorageprovider": map[string]interface{}{ "usershareprovidersvc": cfg.SharesProviderEndpoint, + "mount_id": cfg.MountID, }, }, },