git.iko.soy/typeable/oauth2-proxy
on master help sign in
Add flagSet for proxy timeout
commit59da013ad77ce5967823d0642e1d71e8daa10c55 authorTero Pihlaja <tero.pihlaja@turckvilant.com> dateWed 27 May 2020, 14:02 (6 years ago) parent90783c8
1 file changed+1
pkg/apis/options/options.go+1
pkg/apis/options/options.go+1
@@ -245,6 +245,7 @@ func NewFlagSet() *pflag.FlagSet {
245245 flagSet.Bool("ssl-insecure-skip-verify", false, "skip validation of certificates presented when using HTTPS providers")
246246 flagSet.Bool("ssl-upstream-insecure-skip-verify", false, "skip validation of certificates presented when using HTTPS upstreams")
247247 flagSet.Duration("flush-interval", time.Duration(1)*time.Second, "period between response flushing when streaming responses")
248+ flagSet.Duration("proxy-time-out", time.Duration(30)*time.Second, "timeout for upstream proxy")
248249 flagSet.Bool("skip-jwt-bearer-tokens", false, "will skip requests that have verified JWT bearer tokens (default false)")
249250 flagSet.StringSlice("extra-jwt-issuers", []string{}, "if skip-jwt-bearer-tokens is set, a list of extra JWT issuer=audience pairs (where the issuer URL has a .well-known/openid-configuration or a .well-known/jwks.json)")
250251