Fix up grammar in how-it-works.md (#10737)

Change this:

  "To prevent this situation to happening"

To this:

  "To prevent this situation from happening"

Co-authored-by: Benjamin Porter <FreedomBen@users.noreply.github.com>
This commit is contained in:
Ben Porter 2023-12-26 16:59:06 -07:00 committed by GitHub
parent f4f9f74f9f
commit 2fda4aab4b

View file

@ -60,7 +60,7 @@ In a relatively big cluster with frequently deploying apps this feature saves si
Because the ingress controller works using the [synchronization loop pattern][1], it is applying the configuration for all matching objects. In case some Ingress objects have a broken configuration, for example a syntax error in the `nginx.ingress.kubernetes.io/configuration-snippet` annotation, the generated configuration becomes invalid, does not reload and hence no more ingresses will be taken into account.
To prevent this situation to happen, the Ingress-Nginx Controller optionally exposes a [validating admission webhook server][8] to ensure the validity of incoming ingress objects.
To prevent this situation from happening, the Ingress-Nginx Controller optionally exposes a [validating admission webhook server][8] to ensure the validity of incoming ingress objects.
This webhook appends the incoming ingress objects to the list of ingresses, generates the configuration and calls nginx to ensure the configuration has no syntax errors.
[0]: https://github.com/openresty/lua-nginx-module/pull/1259