Skip to content

Commit 1c38ac6

Browse files
author
Yann Hamon
committed
Adding new schemas
1 parent 97c3d3a commit 1c38ac6

40 files changed

+5062
-0
lines changed

master-local/_definitions.json

+216
Original file line numberDiff line numberDiff line change
@@ -13363,6 +13363,89 @@
1336313363
],
1336413364
"type": "object"
1336513365
},
13366+
"io.k8s.api.networking.v1.IPAddress": {
13367+
"description": "IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1",
13368+
"properties": {
13369+
"apiVersion": {
13370+
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
13371+
"type": "string"
13372+
},
13373+
"kind": {
13374+
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
13375+
"type": "string",
13376+
"enum": [
13377+
"IPAddress"
13378+
]
13379+
},
13380+
"metadata": {
13381+
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta",
13382+
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
13383+
},
13384+
"spec": {
13385+
"$ref": "#/definitions/io.k8s.api.networking.v1.IPAddressSpec",
13386+
"description": "spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
13387+
}
13388+
},
13389+
"type": "object",
13390+
"x-kubernetes-group-version-kind": [
13391+
{
13392+
"group": "networking.k8s.io",
13393+
"kind": "IPAddress",
13394+
"version": "v1"
13395+
}
13396+
]
13397+
},
13398+
"io.k8s.api.networking.v1.IPAddressList": {
13399+
"description": "IPAddressList contains a list of IPAddress.",
13400+
"properties": {
13401+
"apiVersion": {
13402+
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
13403+
"type": "string"
13404+
},
13405+
"items": {
13406+
"description": "items is the list of IPAddresses.",
13407+
"items": {
13408+
"$ref": "#/definitions/io.k8s.api.networking.v1.IPAddress"
13409+
},
13410+
"type": "array"
13411+
},
13412+
"kind": {
13413+
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
13414+
"type": "string",
13415+
"enum": [
13416+
"IPAddressList"
13417+
]
13418+
},
13419+
"metadata": {
13420+
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta",
13421+
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
13422+
}
13423+
},
13424+
"required": [
13425+
"items"
13426+
],
13427+
"type": "object",
13428+
"x-kubernetes-group-version-kind": [
13429+
{
13430+
"group": "networking.k8s.io",
13431+
"kind": "IPAddressList",
13432+
"version": "v1"
13433+
}
13434+
]
13435+
},
13436+
"io.k8s.api.networking.v1.IPAddressSpec": {
13437+
"description": "IPAddressSpec describe the attributes in an IP Address.",
13438+
"properties": {
13439+
"parentRef": {
13440+
"$ref": "#/definitions/io.k8s.api.networking.v1.ParentReference",
13441+
"description": "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object."
13442+
}
13443+
},
13444+
"required": [
13445+
"parentRef"
13446+
],
13447+
"type": "object"
13448+
},
1336613449
"io.k8s.api.networking.v1.IPBlock": {
1336713450
"description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.",
1336813451
"properties": {
@@ -13921,6 +14004,32 @@
1392114004
],
1392214005
"type": "object"
1392314006
},
14007+
"io.k8s.api.networking.v1.ParentReference": {
14008+
"description": "ParentReference describes a reference to a parent object.",
14009+
"properties": {
14010+
"group": {
14011+
"description": "Group is the group of the object being referenced.",
14012+
"type": "string"
14013+
},
14014+
"name": {
14015+
"description": "Name is the name of the object being referenced.",
14016+
"type": "string"
14017+
},
14018+
"namespace": {
14019+
"description": "Namespace is the namespace of the object being referenced.",
14020+
"type": "string"
14021+
},
14022+
"resource": {
14023+
"description": "Resource is the resource of the object being referenced.",
14024+
"type": "string"
14025+
}
14026+
},
14027+
"required": [
14028+
"resource",
14029+
"name"
14030+
],
14031+
"type": "object"
14032+
},
1392414033
"io.k8s.api.networking.v1.ServiceBackendPort": {
1392514034
"description": "ServiceBackendPort is the service port being referenced.",
1392614035
"properties": {
@@ -13937,6 +14046,113 @@
1393714046
"type": "object",
1393814047
"x-kubernetes-map-type": "atomic"
1393914048
},
14049+
"io.k8s.api.networking.v1.ServiceCIDR": {
14050+
"description": "ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.",
14051+
"properties": {
14052+
"apiVersion": {
14053+
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
14054+
"type": "string"
14055+
},
14056+
"kind": {
14057+
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
14058+
"type": "string",
14059+
"enum": [
14060+
"ServiceCIDR"
14061+
]
14062+
},
14063+
"metadata": {
14064+
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta",
14065+
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
14066+
},
14067+
"spec": {
14068+
"$ref": "#/definitions/io.k8s.api.networking.v1.ServiceCIDRSpec",
14069+
"description": "spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
14070+
},
14071+
"status": {
14072+
"$ref": "#/definitions/io.k8s.api.networking.v1.ServiceCIDRStatus",
14073+
"description": "status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
14074+
}
14075+
},
14076+
"type": "object",
14077+
"x-kubernetes-group-version-kind": [
14078+
{
14079+
"group": "networking.k8s.io",
14080+
"kind": "ServiceCIDR",
14081+
"version": "v1"
14082+
}
14083+
]
14084+
},
14085+
"io.k8s.api.networking.v1.ServiceCIDRList": {
14086+
"description": "ServiceCIDRList contains a list of ServiceCIDR objects.",
14087+
"properties": {
14088+
"apiVersion": {
14089+
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
14090+
"type": "string"
14091+
},
14092+
"items": {
14093+
"description": "items is the list of ServiceCIDRs.",
14094+
"items": {
14095+
"$ref": "#/definitions/io.k8s.api.networking.v1.ServiceCIDR"
14096+
},
14097+
"type": "array"
14098+
},
14099+
"kind": {
14100+
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
14101+
"type": "string",
14102+
"enum": [
14103+
"ServiceCIDRList"
14104+
]
14105+
},
14106+
"metadata": {
14107+
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta",
14108+
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
14109+
}
14110+
},
14111+
"required": [
14112+
"items"
14113+
],
14114+
"type": "object",
14115+
"x-kubernetes-group-version-kind": [
14116+
{
14117+
"group": "networking.k8s.io",
14118+
"kind": "ServiceCIDRList",
14119+
"version": "v1"
14120+
}
14121+
]
14122+
},
14123+
"io.k8s.api.networking.v1.ServiceCIDRSpec": {
14124+
"description": "ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.",
14125+
"properties": {
14126+
"cidrs": {
14127+
"description": "CIDRs defines the IP blocks in CIDR notation (e.g. \"192.168.0.0/24\" or \"2001:db8::/64\") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.",
14128+
"items": {
14129+
"type": "string"
14130+
},
14131+
"type": "array",
14132+
"x-kubernetes-list-type": "atomic"
14133+
}
14134+
},
14135+
"type": "object"
14136+
},
14137+
"io.k8s.api.networking.v1.ServiceCIDRStatus": {
14138+
"description": "ServiceCIDRStatus describes the current state of the ServiceCIDR.",
14139+
"properties": {
14140+
"conditions": {
14141+
"description": "conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state",
14142+
"items": {
14143+
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Condition"
14144+
},
14145+
"type": "array",
14146+
"x-kubernetes-list-map-keys": [
14147+
"type"
14148+
],
14149+
"x-kubernetes-list-type": "map",
14150+
"x-kubernetes-patch-merge-key": "type",
14151+
"x-kubernetes-patch-strategy": "merge"
14152+
}
14153+
},
14154+
"type": "object"
14155+
},
1394014156
"io.k8s.api.networking.v1beta1.IPAddress": {
1394114157
"description": "IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1",
1394214158
"properties": {

master-local/all.json

+24
Original file line numberDiff line numberDiff line change
@@ -1290,6 +1290,15 @@
12901290
{
12911291
"$ref": "_definitions.json#/definitions/io.k8s.api.networking.v1.HTTPIngressRuleValue"
12921292
},
1293+
{
1294+
"$ref": "_definitions.json#/definitions/io.k8s.api.networking.v1.IPAddress"
1295+
},
1296+
{
1297+
"$ref": "_definitions.json#/definitions/io.k8s.api.networking.v1.IPAddressList"
1298+
},
1299+
{
1300+
"$ref": "_definitions.json#/definitions/io.k8s.api.networking.v1.IPAddressSpec"
1301+
},
12931302
{
12941303
"$ref": "_definitions.json#/definitions/io.k8s.api.networking.v1.IPBlock"
12951304
},
@@ -1359,9 +1368,24 @@
13591368
{
13601369
"$ref": "_definitions.json#/definitions/io.k8s.api.networking.v1.NetworkPolicySpec"
13611370
},
1371+
{
1372+
"$ref": "_definitions.json#/definitions/io.k8s.api.networking.v1.ParentReference"
1373+
},
13621374
{
13631375
"$ref": "_definitions.json#/definitions/io.k8s.api.networking.v1.ServiceBackendPort"
13641376
},
1377+
{
1378+
"$ref": "_definitions.json#/definitions/io.k8s.api.networking.v1.ServiceCIDR"
1379+
},
1380+
{
1381+
"$ref": "_definitions.json#/definitions/io.k8s.api.networking.v1.ServiceCIDRList"
1382+
},
1383+
{
1384+
"$ref": "_definitions.json#/definitions/io.k8s.api.networking.v1.ServiceCIDRSpec"
1385+
},
1386+
{
1387+
"$ref": "_definitions.json#/definitions/io.k8s.api.networking.v1.ServiceCIDRStatus"
1388+
},
13651389
{
13661390
"$ref": "_definitions.json#/definitions/io.k8s.api.networking.v1beta1.IPAddress"
13671391
},
+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"description": "IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1",
3+
"properties": {
4+
"apiVersion": {
5+
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
6+
"type": [
7+
"string",
8+
"null"
9+
],
10+
"enum": [
11+
"networking.k8s.io/v1"
12+
]
13+
},
14+
"kind": {
15+
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
16+
"type": [
17+
"string",
18+
"null"
19+
],
20+
"enum": [
21+
"IPAddress"
22+
]
23+
},
24+
"metadata": {
25+
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta",
26+
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
27+
},
28+
"spec": {
29+
"$ref": "_definitions.json#/definitions/io.k8s.api.networking.v1.IPAddressSpec",
30+
"description": "spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
31+
}
32+
},
33+
"type": "object",
34+
"x-kubernetes-group-version-kind": [
35+
{
36+
"group": "networking.k8s.io",
37+
"kind": "IPAddress",
38+
"version": "v1"
39+
}
40+
],
41+
"$schema": "http://json-schema.org/schema#"
42+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"description": "IPAddressList contains a list of IPAddress.",
3+
"properties": {
4+
"apiVersion": {
5+
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
6+
"type": [
7+
"string",
8+
"null"
9+
],
10+
"enum": [
11+
"networking.k8s.io/v1"
12+
]
13+
},
14+
"items": {
15+
"description": "items is the list of IPAddresses.",
16+
"items": {
17+
"$ref": "_definitions.json#/definitions/io.k8s.api.networking.v1.IPAddress"
18+
},
19+
"type": [
20+
"array",
21+
"null"
22+
]
23+
},
24+
"kind": {
25+
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
26+
"type": [
27+
"string",
28+
"null"
29+
],
30+
"enum": [
31+
"IPAddressList"
32+
]
33+
},
34+
"metadata": {
35+
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta",
36+
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
37+
}
38+
},
39+
"required": [
40+
"items"
41+
],
42+
"type": "object",
43+
"x-kubernetes-group-version-kind": [
44+
{
45+
"group": "networking.k8s.io",
46+
"kind": "IPAddressList",
47+
"version": "v1"
48+
}
49+
],
50+
"$schema": "http://json-schema.org/schema#"
51+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"description": "IPAddressSpec describe the attributes in an IP Address.",
3+
"properties": {
4+
"parentRef": {
5+
"$ref": "_definitions.json#/definitions/io.k8s.api.networking.v1.ParentReference",
6+
"description": "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object."
7+
}
8+
},
9+
"required": [
10+
"parentRef"
11+
],
12+
"type": "object",
13+
"$schema": "http://json-schema.org/schema#"
14+
}

0 commit comments

Comments
 (0)