/
httpingressrulevalue.json
58 lines (58 loc) · 2.13 KB
/
httpingressrulevalue.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"required": [
"paths"
],
"description": "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.",
"properties": {
"paths": {
"items": {
"additionalProperties": false,
"required": [
"backend"
],
"description": "HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.",
"properties": {
"path": {
"type": [
"string",
"null"
],
"description": "Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend."
},
"backend": {
"additionalProperties": false,
"required": [
"serviceName",
"servicePort"
],
"description": "IngressBackend describes all endpoints for a given service and port.",
"properties": {
"serviceName": {
"type": "string",
"description": "Specifies the name of the referenced service."
},
"servicePort": {
"oneOf": [
{
"type": [
"string",
"null"
]
},
{
"type": "integer"
}
]
}
}
}
}
},
"type": [
"array",
"null"
],
"description": "A collection of paths that map requests to backends."
}
}
}