Skip to content

Commit aa8cf9a

Browse files
aslafy-zGacko
andauthored
Docs: Use enable-global-auth annotation instead of non-existing ConfigMap option. (#12976)
Co-authored-by: Marco Ebert <[email protected]>
1 parent 8ce4af2 commit aa8cf9a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/user-guide/nginx-configuration/annotations.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,8 +539,9 @@ nginx.ingress.kubernetes.io/auth-snippet: |
539539

540540
#### Global External Authentication
541541

542-
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.
543-
`nginx.ingress.kubernetes.io/enable-global-auth`:
542+
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.
543+
544+
- `nginx.ingress.kubernetes.io/enable-global-auth`:
544545
indicates if GlobalExternalAuth configuration should be applied or not to this Ingress rule. Default values is set to `"true"`.
545546

546547
!!! note

0 commit comments

Comments
 (0)