-
Notifications
You must be signed in to change notification settings - Fork 242
/
Copy pathmiddlewaretcp_v1alpha1.json
68 lines (68 loc) · 3.02 KB
/
middlewaretcp_v1alpha1.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
59
60
61
62
63
64
65
66
67
68
{
"description": "MiddlewareTCP is the CRD implementation of a Traefik TCP middleware.\nMore info: https://doc.traefik.io/traefik/v3.2/middlewares/overview/",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"description": "MiddlewareTCPSpec defines the desired state of a MiddlewareTCP.",
"properties": {
"inFlightConn": {
"description": "InFlightConn defines the InFlightConn middleware configuration.",
"properties": {
"amount": {
"description": "Amount defines the maximum amount of allowed simultaneous connections.\nThe middleware closes the connection if there are already amount connections opened.",
"format": "int64",
"type": "integer"
}
},
"type": "object",
"additionalProperties": false
},
"ipAllowList": {
"description": "IPAllowList defines the IPAllowList middleware configuration.\nThis middleware accepts/refuses connections based on the client IP.\nMore info: https://doc.traefik.io/traefik/v3.2/middlewares/tcp/ipallowlist/",
"properties": {
"sourceRange": {
"description": "SourceRange defines the allowed IPs (or ranges of allowed IPs by using CIDR notation).",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object",
"additionalProperties": false
},
"ipWhiteList": {
"description": "IPWhiteList defines the IPWhiteList middleware configuration.\nThis middleware accepts/refuses connections based on the client IP.\nDeprecated: please use IPAllowList instead.\nMore info: https://doc.traefik.io/traefik/v3.2/middlewares/tcp/ipwhitelist/",
"properties": {
"sourceRange": {
"description": "SourceRange defines the allowed IPs (or ranges of allowed IPs by using CIDR notation).",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object",
"additionalProperties": false
}
},
"type": "object",
"additionalProperties": false
}
},
"required": [
"metadata",
"spec"
],
"type": "object"
}