Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/zh/docs/concepts/security/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: ["*"]`
指定必须存在的字段。这意味着该字段可以匹配任意内容,但是不能为空。
Expand Down