Skip to content

Commit

Permalink
fix env variable for metadata user ID
Browse files Browse the repository at this point in the history
  • Loading branch information
micbar committed May 2, 2022
1 parent af54f4d commit b08eb44
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
"IDM_ADMIN_PASSWORD": "admin",
// demo users
"IDM_CREATE_DEMO_USERS": "true",
// metadata storage
"METADATA_USER_ID": "some-metadata-user-id"
// OCIS_RUN_EXTENSIONS allows to start a subset of extensions even in the supervised mode
//"OCIS_RUN_EXTENSIONS": "settings,storage-metadata,glauth,graph,graph-explorer,idp,ocs,store,thumbnails,web,webdav,storage-frontend,storage-gateway,storage-userprovider,storage-groupprovider,storage-authbasic,storage-authbearer,storage-authmachine,storage-users,storage-shares,storage-public-link,storage-appprovider,storage-sharing,accounts,proxy,ocdav",
}
Expand Down
1 change: 1 addition & 0 deletions changelog/unreleased/metadata-gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ Enhancement: wrap metadata storage with dedicated reva gateway
We wrapped the metadata storage in a minimal reva instance with a dedicated gateway, including static storage registry, static auth registry, in memory userprovider, machine authprovider and demo permissions service. This allows us to preconfigure the service user for the ocis settings service, share and public share providers.

https://github.com/owncloud/ocis/pull/3602
https://github.com/owncloud/ocis/pull/3647
2 changes: 1 addition & 1 deletion ocis-pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ type Config struct {
TokenManager *shared.TokenManager `yaml:"token_manager"`
MachineAuthAPIKey string `yaml:"machine_auth_api_key" env:"OCIS_MACHINE_AUTH_API_KEY"`
TransferSecret string `yaml:"transfer_secret" env:"STORAGE_TRANSFER_SECRET"`
MetadataUserID string `yaml:"metadata_user_id"`
MetadataUserID string `yaml:"metadata_user_id" env:"METADATA_USER_ID"`
Runtime Runtime `yaml:"runtime"`

Audit *audit.Config `yaml:"audit"`
Expand Down

0 comments on commit b08eb44

Please sign in to comment.