From 8fdec4fd9ec685ed5e356c2603764535217e9c5e Mon Sep 17 00:00:00 2001 From: Leandro Lafin Date: Fri, 12 Jul 2024 11:32:20 -0300 Subject: [PATCH] Refactored docs --- pkg/apis/options/legacy_options.go | 2 +- pkg/apis/options/upstreams.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/apis/options/legacy_options.go b/pkg/apis/options/legacy_options.go index 22f952f5..18cdbe4d 100644 --- a/pkg/apis/options/legacy_options.go +++ b/pkg/apis/options/legacy_options.go @@ -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 } diff --git a/pkg/apis/options/upstreams.go b/pkg/apis/options/upstreams.go index 0042a61a..dab4f62b 100644 --- a/pkg/apis/options/upstreams.go +++ b/pkg/apis/options/upstreams.go @@ -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"`