Refactored docs

This commit is contained in:
Leandro Lafin 2024-07-12 11:32:20 -03:00
parent ba306ce9cd
commit 8fdec4fd9e
No known key found for this signature in database
GPG Key ID: 60C427B9DF40CB72
2 changed files with 3 additions and 3 deletions

View File

@ -644,7 +644,7 @@ func legacyGoogleFlagSet() *pflag.FlagSet {
flagSet.String("google-admin-email", "", "the google admin to impersonate for api calls")
flagSet.String("google-service-account-json", "", "the path to the service account json credentials")
flagSet.String("google-use-application-default-credentials", "", "use application default credentials instead of service account json (i.e. GKE Workload Identity)")
flagSet.String("google-target-principal", "", "the targetprincipal to impersonate when using ADC")
flagSet.String("google-target-principal", "", "the target principal to impersonate when using ADC")
return flagSet
}

View File

@ -12,7 +12,7 @@ const (
// UpstreamConfig is a collection of definitions for upstream servers.
type UpstreamConfig struct {
// ProxyRawPath will pass the raw url path to upstream allowing for url's
// ProxyRawPath will pass the raw url path to upstream allowing for urls
// like: "/%2F/" which would otherwise be redirected to "/"
ProxyRawPath bool `json:"proxyRawPath,omitempty"`
@ -60,7 +60,7 @@ type Upstream struct {
// InsecureSkipTLSVerify will skip TLS verification of upstream HTTPS hosts.
// This option is insecure and will allow potential Man-In-The-Middle attacks
// betweem OAuth2 Proxy and the usptream server.
// between OAuth2 Proxy and the upstream server.
// Defaults to false.
InsecureSkipTLSVerify bool `json:"insecureSkipTLSVerify,omitempty"`