Remove empty ingress-annotations document; fix up annotations.md's layout slightly
This commit is contained in:
parent
dc18dff431
commit
34314254f3
2 changed files with 6 additions and 8 deletions
|
@ -1,11 +1,11 @@
|
|||
**IMPORTANT:**
|
||||
|
||||
The key and values in annotations can only be strings.
|
||||
This means that we want a value with boolean values we need to quote the values, like "true" or "false".
|
||||
Same for numbers, like "100".
|
||||
|
||||
# Annotations
|
||||
|
||||
!!! tip
|
||||
Annotation keys and values can only be strings.
|
||||
Other types, such as boolean or numeric values must be quoted,
|
||||
i.e. `"true"`, `"false"`, `"100"`.
|
||||
|
||||
|
||||
The following annotations are supported:
|
||||
|
||||
|Name | type |
|
||||
|
@ -71,8 +71,6 @@ The following annotations are supported:
|
|||
|[nginx.ingress.kubernetes.io/lua-resty-waf-ignore-rulesets](#lua-resty-waf)|string|
|
||||
|[nginx.ingress.kubernetes.io/lua-resty-waf-extra-rules](#lua-resty-waf)|string|
|
||||
|
||||
**Note:** all the values must be a string. In case of booleans or number it must be quoted.
|
||||
|
||||
### Rewrite
|
||||
|
||||
In some scenarios the exposed URL in the backend service differs from the specified path in the Ingress rule. Without a rewrite any request will return 404.
|
||||
|
|
Loading…
Reference in a new issue