From b04bb9b140163c8ae8b026ad75086c2dc5d1c87c Mon Sep 17 00:00:00 2001 From: hagen1778 Date: Fri, 22 Dec 2023 10:50:21 +0100 Subject: [PATCH] docs: fix `unauthorizedAccessConfig` filed names for operator See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5520 Signed-off-by: hagen1778 (cherry picked from commit 8ba483eca3fbb5bf678bc25cd1b1fb1ba16be827) --- docs/operator/resources/vmauth.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/operator/resources/vmauth.md b/docs/operator/resources/vmauth.md index 87ff2c83b4..a55377a773 100644 --- a/docs/operator/resources/vmauth.md +++ b/docs/operator/resources/vmauth.md @@ -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