add the introduce of using wildcard '*' in nonResourceURL
This commit is contained in:
@@ -247,7 +247,7 @@ Allow "GET" and "POST" requests to the non-resource endpoint "/healthz" and all
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
rules:
|
rules:
|
||||||
- nonResourceURLs: ["/healthz", "/healthz/*"]
|
- nonResourceURLs: ["/healthz", "/healthz/*"] # '*' in a nonResourceURL is a suffix glob match
|
||||||
verbs: ["get", "post"]
|
verbs: ["get", "post"]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user