From 518eef40ce45ac59da38a2e7f561c0a953011d3c Mon Sep 17 00:00:00 2001 From: k8s-infra-cherrypick-robot <90416843+k8s-infra-cherrypick-robot@users.noreply.github.com> Date: Sat, 15 Mar 2025 09:37:47 -0700 Subject: [PATCH] Docs: Use `enable-global-auth` annotation instead of non-existing ConfigMap option. (#12978) Co-authored-by: Zadkiel AHARONIAN Co-authored-by: Marco Ebert --- docs/user-guide/nginx-configuration/annotations.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/user-guide/nginx-configuration/annotations.md b/docs/user-guide/nginx-configuration/annotations.md index cce553b1c..92ec6dfcb 100755 --- a/docs/user-guide/nginx-configuration/annotations.md +++ b/docs/user-guide/nginx-configuration/annotations.md @@ -538,8 +538,9 @@ nginx.ingress.kubernetes.io/auth-snippet: | #### Global External Authentication -By default the controller redirects all requests to an existing service that provides authentication if `global-auth-url` is set in the NGINX ConfigMap. If you want to disable this behavior for that ingress, you can use `enable-global-auth: "false"` in the NGINX ConfigMap. -`nginx.ingress.kubernetes.io/enable-global-auth`: +By default the controller redirects all requests to an existing service that provides authentication if `global-auth-url` is set in the Ingress NGINX ConfigMap. If you want to disable this behavior for that Ingress, you can use the `nginx.ingress.kubernetes.io/enable-global-auth: "false"` annotation. + +- `nginx.ingress.kubernetes.io/enable-global-auth`: indicates if GlobalExternalAuth configuration should be applied or not to this Ingress rule. Default values is set to `"true"`. !!! note