remove GRPC insecure config options, since it always needs to be set to insecure

This commit is contained in:
Willy Kloucek
2021-11-10 16:12:29 +01:00
parent 69cc11dbe6
commit e35d4fd0ac
11 changed files with 16 additions and 34 deletions
-7
View File
@@ -189,13 +189,6 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
EnvVars: []string{"REVA_GATEWAY"},
Destination: &cfg.Reva.Address,
},
&cli.BoolFlag{
Name: "reva-gateway-insecure",
Value: flags.OverrideDefaultBool(cfg.Reva.Insecure, false),
Usage: "allow insecure communication to REVA gateway endpoint",
EnvVars: []string{"REVA_GATEWAY_INSECURE"},
Destination: &cfg.Reva.Insecure,
},
&cli.BoolFlag{
Name: "insecure",
Value: flags.OverrideDefaultBool(cfg.InsecureBackends, false),