From d7964986f98429293095dd40774a1869aa4a8925 Mon Sep 17 00:00:00 2001 From: Wilson Wu Date: Fri, 17 Oct 2025 14:44:57 +0800 Subject: [PATCH] Sync #16935 incorrect match type descriptions in security doc fix into Chinese --- content/zh/docs/concepts/security/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/zh/docs/concepts/security/index.md b/content/zh/docs/concepts/security/index.md index cc69595fac5f..8d647aeec25c 100644 --- a/content/zh/docs/concepts/security/index.md +++ b/content/zh/docs/concepts/security/index.md @@ -619,9 +619,9 @@ spec: 授权策略中的大多数字段都支持以下所有匹配模式: - 完全匹配:即完整的字符串匹配。 -- 前缀匹配:`"*"` 结尾的字符串。例如,`"test.abc.*"` +- 后缀匹配:`"*"` 结尾的字符串。例如,`"test.abc.*"` 匹配 `"test.abc.com"`、`"test.abc.com.cn"`、`"test.abc.org"` 等等。 -- 后缀匹配:`"*"` 开头的字符串。例如,`"*.abc.com"` +- 前缀匹配:`"*"` 开头的字符串。例如,`"*.abc.com"` 匹配 `"eng.abc.com"`、`"test.eng.abc.com"` 等等。 - 存在匹配:`*` 用于指定非空的任意内容。您可以使用格式 `fieldname: ["*"]` 指定必须存在的字段。这意味着该字段可以匹配任意内容,但是不能为空。