Skip to content

Commit

Permalink
Merge pull request #3350 from aduffeck/use-cs3-publicshare-manager
Browse files Browse the repository at this point in the history
[full-ci] Add support for the cs3 publicshare manager
  • Loading branch information
micbar authored Mar 22, 2022
2 parents 213956c + fd6b001 commit 3f39567
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions storage/pkg/command/sharing.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,13 @@ func sharingConfigFromStruct(c *cli.Context, cfg *config.Config) map[string]inte
"enable_expired_shares_cleanup": cfg.Reva.Sharing.PublicEnableExpiredSharesCleanup,
"janitor_run_interval": cfg.Reva.Sharing.PublicJanitorRunInterval,
},
"cs3": map[string]interface{}{
"gateway_addr": cfg.Reva.Gateway.Endpoint,
"provider_addr": cfg.Reva.Sharing.CS3ProviderAddr,
"service_user_id": cfg.Reva.Sharing.CS3ServiceUser,
"service_user_idp": cfg.Reva.Sharing.CS3ServiceUserIdp,
"machine_auth_apikey": cfg.Reva.AuthMachineConfig.MachineAuthAPIKey,
},
},
},
},
Expand Down

0 comments on commit 3f39567

Please sign in to comment.