mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 00:13:30 +01: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
@ -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 New Issue
Block a user