integrate with current ocis config (#52)

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Co-authored-by: Alex Unger <zyxancf@gmail.com>
This commit is contained in:
Jörn Friedrich Dreyer
2020-03-17 20:02:28 +01:00
committed by GitHub
co-authored by Alex Unger
parent c16003d47e
commit 8971a1e066
3 changed files with 13 additions and 5 deletions
+2 -2
View File
@@ -161,7 +161,7 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
Name: "iss",
Usage: "OIDC issuer URL",
EnvVars: []string{"KONNECTD_ISS"},
Value: "https://localhost:9130",
Value: "https://localhost:9200",
Destination: &cfg.Konnectd.Iss,
},
&cli.StringSliceFlag{
@@ -271,7 +271,7 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
Name: "tls",
Usage: "Use TLS (disable only if konnectd is behind a TLS-terminating reverse-proxy).",
EnvVars: []string{"KONNECTD_TLS"},
Value: true,
Value: false,
Destination: &cfg.HTTP.TLS,
},
&cli.StringSliceFlag{