mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-24 22:19:09 -05:00
Add machine auth endpoint to gateway
This commit is contained in:
@@ -124,6 +124,13 @@ func GatewayWithConfig(cfg *config.Config) []cli.Flag {
|
||||
EnvVars: []string{"STORAGE_AUTH_BEARER_ENDPOINT"},
|
||||
Destination: &cfg.Reva.AuthBearer.Endpoint,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "auth-machine-endpoint",
|
||||
Value: flags.OverrideDefaultString(cfg.Reva.AuthMachine.Endpoint, "localhost:9166"),
|
||||
Usage: "endpoint to use for the machine auth provider",
|
||||
EnvVars: []string{"STORAGE_AUTH_MACHINE_ENDPOINT"},
|
||||
Destination: &cfg.Reva.AuthMachine.Endpoint,
|
||||
},
|
||||
|
||||
// storage registry
|
||||
|
||||
|
||||
Reference in New Issue
Block a user