From 2679579f44085ce448d06b7e3a2e1ced6b3607a7 Mon Sep 17 00:00:00 2001 From: timothy-spencer Date: Mon, 25 Mar 2019 11:44:17 -0700 Subject: [PATCH] updated documentation to reflect GKE ingress support too --- README.md | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6d28de1..c6bcbac 100644 --- a/README.md +++ b/README.md @@ -272,7 +272,7 @@ Usage of oauth2_proxy: -email-domain value: authenticate emails with the specified domain (may be given multiple times). Use * to authenticate any email -flush-interval: period between flushing response buffers when streaming responses (default "1s") -footer string: custom footer string. Use "-" to disable default footer. - -gcp-healthchecks: will enable /liveness_check and /readiness_check endpoints that will make it work well with GCP App Engine (default false) + -gcp-healthchecks: will enable /liveness_check, /readiness_check, and / (with the proper user-agent) endpoints that will make it work well with GCP App Engine and GKE Ingresses (default false) -github-org string: restrict logins to members of this organisation -github-team string: restrict logins to members of any of these teams (slug), separated by a comma -google-admin-email string: the google admin to impersonate for api calls diff --git a/main.go b/main.go index efe336c..fe1b8ce 100644 --- a/main.go +++ b/main.go @@ -93,7 +93,7 @@ func main() { flagSet.String("acr-values", "http://idmanagement.gov/ns/assurance/loa/1", "acr values string: optional, used by login.gov") flagSet.String("jwt-key", "", "private key used to sign JWT: required by login.gov") flagSet.String("pubjwk-url", "", "JWK pubkey access endpoint: required by login.gov") - flagSet.Bool("gcp-healthchecks", false, "Enable GCP healthcheck endpoints") + flagSet.Bool("gcp-healthchecks", false, "Enable GCP/GKE healthcheck endpoints") flagSet.Parse(os.Args[1:])