NonResourceRule

此文档中的信息可能已过时

此文档的更新日期比原文晚,因此其中的信息可能已过时。如果能阅读英文,请查看英文版本以获取最新信息: NonResourceRule

NonResourceRule

NonResourceRule 包含描述非资源规则的信息。

apiVersion: authorization.k8s.io/v1

import "k8s.io/api/authorization/v1"

NonResourceRule

NonResourceRule 包含描述非资源规则的信息。


字段描述
nonResourceURLs
string array
nonResourceURLs 是一组用户应有权访问的部分 URL。允许使用 "*",但仅限于作为路径的完整末尾部分;"*" 表示所有动词。
verbs *
string array
verbs 是 Kubernetes 非资源 API 动词的列表,例如:get、post、put、delete、patch、head、options。其中 "*" 表示所有动词。