You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resources is a list of resources this rule applies to. '*' represents all resources.
57
+
58
+
- **rules.verbs** ([]string), required
59
+
Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
60
+
61
+
- **rules.resourceNames** ([]string)
62
+
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
63
+
64
+
- **rules.nonResourceURLs** ([]string)
65
+
NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.
56
66
-->
57
-
标准的对象元数据。
58
67
59
68
-**rules** ([]PolicyRule)
60
69
@@ -74,16 +83,6 @@ Standard object's metadata.
74
83
resources 是此规则所适用的资源的列表。
75
84
“*” 表示所有资源。
76
85
77
-
<!--
78
-
- **rules.verbs** ([]string), required
79
-
Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
80
-
81
-
- **rules.resourceNames** ([]string)
82
-
ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
83
-
84
-
- **rules.nonResourceURLs** ([]string)
85
-
NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.
0 commit comments