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