mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00:00
docs: fix unauthorizedAccessConfig
filed names for operator
See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5520
Signed-off-by: hagen1778 <roman@victoriametrics.com>
(cherry picked from commit 8ba483eca3
)
This commit is contained in:
parent
12de0d39eb
commit
b04bb9b140
1 changed files with 4 additions and 4 deletions
|
@ -101,8 +101,8 @@ metadata:
|
|||
name: vmauth-unauthorized-example
|
||||
spec:
|
||||
unauthorizedAccessConfig:
|
||||
- paths: ["/metrics"]
|
||||
urls:
|
||||
- src_paths: ["/metrics"]
|
||||
url_prefix:
|
||||
- http://vmsingle-example.default.svc:8428
|
||||
```
|
||||
|
||||
|
@ -204,8 +204,8 @@ spec:
|
|||
- 5.6.7.8
|
||||
# allow read vmsingle metrics without authorization for users from internal network
|
||||
unauthorizedAccessConfig:
|
||||
- paths: ["/metrics"]
|
||||
urls: ["http://vmsingle-example.default.svc:8428"]
|
||||
- src_paths: ["/metrics"]
|
||||
url_prefix: ["http://vmsingle-example.default.svc:8428"]
|
||||
ip_filters:
|
||||
allow_list:
|
||||
- 192.168.0.0/16
|
||||
|
|
Loading…
Reference in a new issue