mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-25 07:39:31 -04:00
add embedded-config flag, override config.File if present
This commit is contained in:
1 file changed
+6
@@ -68,6 +68,12 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
|
||||
EnvVars: []string{"PROXY_TRACING_TYPE"},
|
||||
Destination: &cfg.Tracing.Type,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "embedded-config",
|
||||
Usage: "Provided config file while running on single oCIS binary mode.",
|
||||
EnvVars: []string{"PROXY_EMBEDDED_CONFIG"},
|
||||
Destination: &cfg.File,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "tracing-endpoint",
|
||||
Value: "",
|
||||
|
||||
Reference in new issue
Block a user