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:
hagen1778 2023-12-22 10:50:21 +01:00
parent 12de0d39eb
commit b04bb9b140
No known key found for this signature in database
GPG Key ID: 3BF75F3741CA9640

View File

@ -101,8 +101,8 @@ metadata:
name: vmauth-unauthorized-example name: vmauth-unauthorized-example
spec: spec:
unauthorizedAccessConfig: unauthorizedAccessConfig:
- paths: ["/metrics"] - src_paths: ["/metrics"]
urls: url_prefix:
- http://vmsingle-example.default.svc:8428 - http://vmsingle-example.default.svc:8428
``` ```
@ -204,8 +204,8 @@ spec:
- 5.6.7.8 - 5.6.7.8
# allow read vmsingle metrics without authorization for users from internal network # allow read vmsingle metrics without authorization for users from internal network
unauthorizedAccessConfig: unauthorizedAccessConfig:
- paths: ["/metrics"] - src_paths: ["/metrics"]
urls: ["http://vmsingle-example.default.svc:8428"] url_prefix: ["http://vmsingle-example.default.svc:8428"]
ip_filters: ip_filters:
allow_list: allow_list:
- 192.168.0.0/16 - 192.168.0.0/16