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
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. "*" means all.
60
+
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. "*" means all.
@@ -66,22 +66,22 @@ SelfSubjectRulesReview enumerates the set of actions the current user can perfor
66
66
<aname="ResourceRule"></a>
67
67
*ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.*
Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all.
71
+
Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all.
72
72
73
-
-**status.resourceRules.apiGroups** ([]string)
73
+
-**status.resourceRules.apiGroups** ([]string)
74
74
75
-
APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. "*" means all.
75
+
APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. "*" means all.
action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.
Copy file name to clipboardExpand all lines: content/en/docs/reference/kubernetes-api/cluster-resources/flow-schema-v1beta1.md
+51-51Lines changed: 51 additions & 51 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,43 +92,43 @@ FlowSchemaSpec describes how the FlowSchema's specification looks like.
92
92
<aname="Subject"></a>
93
93
*Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.*
94
94
95
-
-**rules.subjects.kind** (string), required
95
+
-**rules.subjects.kind** (string), required
96
96
97
-
Required
97
+
Required
98
98
99
-
-**rules.subjects.group** (GroupSubject)
99
+
-**rules.subjects.group** (GroupSubject)
100
100
101
101
102
-
<aname="GroupSubject"></a>
103
-
*GroupSubject holds detailed information for group-kind subject.*
102
+
<aname="GroupSubject"></a>
103
+
*GroupSubject holds detailed information for group-kind subject.*
104
104
105
-
-**rules.subjects.group.name** (string), required
105
+
-**rules.subjects.group.name** (string), required
106
106
107
-
name is the user group that matches, or "*" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required.
107
+
name is the user group that matches, or "*" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required.
@@ -139,23 +139,23 @@ FlowSchemaSpec describes how the FlowSchema's specification looks like.
139
139
<aname="NonResourcePolicyRule"></a>
140
140
*NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.*
`verbs` is a list of matching verbs and may not be empty. "*" matches all verbs. If it is present, it must be the only entry. Required.
156
+
*Set: unique values will be kept during a merge*
157
+
158
+
`verbs` is a list of matching verbs and may not be empty. "*" matches all verbs. If it is present, it must be the only entry. Required.
159
159
160
160
-**rules.resourceRules** ([]ResourcePolicyRule)
161
161
@@ -166,33 +166,33 @@ FlowSchemaSpec describes how the FlowSchema's specification looks like.
166
166
<aname="ResourcePolicyRule"></a>
167
167
*ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) least one member of namespaces matches the request.*
`resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ "services", "nodes/status" ]. This list may not be empty. "*" matches all resources and, if present, must be the only entry. Required.
177
+
*Set: unique values will be kept during a merge*
178
+
179
+
`resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ "services", "nodes/status" ]. This list may not be empty. "*" matches all resources and, if present, must be the only entry. Required.
`verbs` is a list of matching verbs and may not be empty. "*" matches all verbs and, if present, must be the only entry. Required.
183
+
*Set: unique values will be kept during a merge*
184
+
185
+
`verbs` is a list of matching verbs and may not be empty. "*" matches all verbs and, if present, must be the only entry. Required.
186
186
187
-
-**rules.resourceRules.clusterScope** (boolean)
187
+
-**rules.resourceRules.clusterScope** (boolean)
188
188
189
-
`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list.
189
+
`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list.
190
190
191
-
-**rules.resourceRules.namespaces** ([]string)
191
+
-**rules.resourceRules.namespaces** ([]string)
192
192
193
-
*Set: unique values will be kept during a merge*
194
-
195
-
`namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains "*". Note that "*" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true.
193
+
*Set: unique values will be kept during a merge*
194
+
195
+
`namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains "*". Note that "*" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true.
0 commit comments