forked from yannh/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnonresourcepolicyrule-flowcontrol-v1beta3.json
39 lines (39 loc) · 1.46 KB
/
nonresourcepolicyrule-flowcontrol-v1beta3.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"description": "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.",
"properties": {
"nonResourceURLs": {
"description": "`nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example:\n - \"/healthz\" is legal\n - \"/hea*\" is illegal\n - \"/hea\" is legal but matches nothing\n - \"/hea/*\" also matches nothing\n - \"/healthz/*\" matches all per-component health checks.\n\"*\" matches all non-resource urls. if it is present, it must be the only entry. Required.",
"items": {
"type": [
"string",
"null"
]
},
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "set"
},
"verbs": {
"description": "`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.",
"items": {
"type": [
"string",
"null"
]
},
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "set"
}
},
"required": [
"verbs",
"nonResourceURLs"
],
"type": "object",
"$schema": "http://json-schema.org/schema#"
}