Start and wire the ocmreceived storage provider

This commit is contained in:
André Duffeck
2023-12-14 09:30:41 +01:00
parent 402fbc52df
commit 57024006f2
2 changed files with 16 additions and 0 deletions
+12
View File
@@ -185,6 +185,18 @@ func spacesProviders(cfg *config.Config, logger log.Logger) map[string]map[strin
},
},
},
cfg.OCMEndpoint: {
"providerid": utils.OCMStorageProviderID,
"spaces": map[string]interface{}{
"grant": map[string]interface{}{
"mount_point": ".",
},
"mountpoint": map[string]interface{}{
"mount_point": "/ocm",
"path_template": "/ocm/{{.Space.Root.OpaqueId}}",
},
},
},
// medatada storage not part of the global namespace
}
}