Docs: Use enable-global-auth annotation instead of non-existing ConfigMap option. (#12978)

Co-authored-by: Zadkiel AHARONIAN <hello@zadkiel.fr>
Co-authored-by: Marco Ebert <marco_ebert@icloud.com>
This commit is contained in:
k8s-infra-cherrypick-robot 2025-03-15 09:37:47 -07:00 committed by GitHub
parent 9d9cd3e16a
commit 518eef40ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -538,8 +538,9 @@ nginx.ingress.kubernetes.io/auth-snippet: |
#### Global External Authentication #### 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. 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`:
- `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"`. indicates if GlobalExternalAuth configuration should be applied or not to this Ingress rule. Default values is set to `"true"`.
!!! note !!! note