Skip to content

Commit 4148a81

Browse files
author
Yann Hamon
committed
Adding new schemas
1 parent 60aa266 commit 4148a81

File tree

392 files changed

+20880
-624
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

392 files changed

+20880
-624
lines changed

master-local/_definitions.json

+289-30
Large diffs are not rendered by default.

master-local/all.json

+24-3
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,15 @@
525525
{
526526
"$ref": "_definitions.json#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequestStatus"
527527
},
528+
{
529+
"$ref": "_definitions.json#/definitions/io.k8s.api.certificates.v1alpha1.ClusterTrustBundle"
530+
},
531+
{
532+
"$ref": "_definitions.json#/definitions/io.k8s.api.certificates.v1alpha1.ClusterTrustBundleList"
533+
},
534+
{
535+
"$ref": "_definitions.json#/definitions/io.k8s.api.certificates.v1alpha1.ClusterTrustBundleSpec"
536+
},
528537
{
529538
"$ref": "_definitions.json#/definitions/io.k8s.api.coordination.v1.Lease"
530539
},
@@ -535,13 +544,13 @@
535544
"$ref": "_definitions.json#/definitions/io.k8s.api.coordination.v1.LeaseSpec"
536545
},
537546
{
538-
"$ref": "_definitions.json#/definitions/io.k8s.api.coordination.v1alpha1.LeaseCandidate"
547+
"$ref": "_definitions.json#/definitions/io.k8s.api.coordination.v1alpha2.LeaseCandidate"
539548
},
540549
{
541-
"$ref": "_definitions.json#/definitions/io.k8s.api.coordination.v1alpha1.LeaseCandidateList"
550+
"$ref": "_definitions.json#/definitions/io.k8s.api.coordination.v1alpha2.LeaseCandidateList"
542551
},
543552
{
544-
"$ref": "_definitions.json#/definitions/io.k8s.api.coordination.v1alpha1.LeaseCandidateSpec"
553+
"$ref": "_definitions.json#/definitions/io.k8s.api.coordination.v1alpha2.LeaseCandidateSpec"
545554
},
546555
{
547556
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource"
@@ -1440,6 +1449,9 @@
14401449
{
14411450
"$ref": "_definitions.json#/definitions/io.k8s.api.rbac.v1.Subject"
14421451
},
1452+
{
1453+
"$ref": "_definitions.json#/definitions/io.k8s.api.resource.v1alpha3.AllocatedDeviceStatus"
1454+
},
14431455
{
14441456
"$ref": "_definitions.json#/definitions/io.k8s.api.resource.v1alpha3.AllocationResult"
14451457
},
@@ -1491,6 +1503,9 @@
14911503
{
14921504
"$ref": "_definitions.json#/definitions/io.k8s.api.resource.v1alpha3.DeviceSelector"
14931505
},
1506+
{
1507+
"$ref": "_definitions.json#/definitions/io.k8s.api.resource.v1alpha3.NetworkDeviceData"
1508+
},
14941509
{
14951510
"$ref": "_definitions.json#/definitions/io.k8s.api.resource.v1alpha3.OpaqueDeviceConfiguration"
14961511
},
@@ -1530,6 +1545,9 @@
15301545
{
15311546
"$ref": "_definitions.json#/definitions/io.k8s.api.resource.v1alpha3.ResourceSliceSpec"
15321547
},
1548+
{
1549+
"$ref": "_definitions.json#/definitions/io.k8s.api.resource.v1beta1.AllocatedDeviceStatus"
1550+
},
15331551
{
15341552
"$ref": "_definitions.json#/definitions/io.k8s.api.resource.v1beta1.AllocationResult"
15351553
},
@@ -1584,6 +1602,9 @@
15841602
{
15851603
"$ref": "_definitions.json#/definitions/io.k8s.api.resource.v1beta1.DeviceSelector"
15861604
},
1605+
{
1606+
"$ref": "_definitions.json#/definitions/io.k8s.api.resource.v1beta1.NetworkDeviceData"
1607+
},
15871608
{
15881609
"$ref": "_definitions.json#/definitions/io.k8s.api.resource.v1beta1.OpaqueDeviceConfiguration"
15891610
},
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"description": "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.",
3+
"properties": {
4+
"conditions": {
5+
"description": "Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.",
6+
"items": {
7+
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Condition"
8+
},
9+
"type": [
10+
"array",
11+
"null"
12+
],
13+
"x-kubernetes-list-map-keys": [
14+
"type"
15+
],
16+
"x-kubernetes-list-type": "map"
17+
},
18+
"data": {
19+
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension",
20+
"description": "Data contains arbitrary driver-specific data.\n\nThe length of the raw data must be smaller or equal to 10 Ki."
21+
},
22+
"device": {
23+
"description": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.",
24+
"type": [
25+
"string",
26+
"null"
27+
]
28+
},
29+
"driver": {
30+
"description": "Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.",
31+
"type": [
32+
"string",
33+
"null"
34+
]
35+
},
36+
"networkData": {
37+
"$ref": "_definitions.json#/definitions/io.k8s.api.resource.v1alpha3.NetworkDeviceData",
38+
"description": "NetworkData contains network-related information specific to the device."
39+
},
40+
"pool": {
41+
"description": "This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.",
42+
"type": [
43+
"string",
44+
"null"
45+
]
46+
}
47+
},
48+
"required": [
49+
"driver",
50+
"pool",
51+
"device"
52+
],
53+
"type": "object",
54+
"$schema": "http://json-schema.org/schema#"
55+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"description": "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.",
3+
"properties": {
4+
"conditions": {
5+
"description": "Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.",
6+
"items": {
7+
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Condition"
8+
},
9+
"type": [
10+
"array",
11+
"null"
12+
],
13+
"x-kubernetes-list-map-keys": [
14+
"type"
15+
],
16+
"x-kubernetes-list-type": "map"
17+
},
18+
"data": {
19+
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension",
20+
"description": "Data contains arbitrary driver-specific data.\n\nThe length of the raw data must be smaller or equal to 10 Ki."
21+
},
22+
"device": {
23+
"description": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.",
24+
"type": [
25+
"string",
26+
"null"
27+
]
28+
},
29+
"driver": {
30+
"description": "Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.",
31+
"type": [
32+
"string",
33+
"null"
34+
]
35+
},
36+
"networkData": {
37+
"$ref": "_definitions.json#/definitions/io.k8s.api.resource.v1beta1.NetworkDeviceData",
38+
"description": "NetworkData contains network-related information specific to the device."
39+
},
40+
"pool": {
41+
"description": "This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.",
42+
"type": [
43+
"string",
44+
"null"
45+
]
46+
}
47+
},
48+
"required": [
49+
"driver",
50+
"pool",
51+
"device"
52+
],
53+
"type": "object",
54+
"$schema": "http://json-schema.org/schema#"
55+
}
+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"description": "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.",
3+
"properties": {
4+
"conditions": {
5+
"description": "Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.",
6+
"items": {
7+
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Condition"
8+
},
9+
"type": [
10+
"array",
11+
"null"
12+
],
13+
"x-kubernetes-list-map-keys": [
14+
"type"
15+
],
16+
"x-kubernetes-list-type": "map"
17+
},
18+
"data": {
19+
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension",
20+
"description": "Data contains arbitrary driver-specific data.\n\nThe length of the raw data must be smaller or equal to 10 Ki."
21+
},
22+
"device": {
23+
"description": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.",
24+
"type": [
25+
"string",
26+
"null"
27+
]
28+
},
29+
"driver": {
30+
"description": "Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.",
31+
"type": [
32+
"string",
33+
"null"
34+
]
35+
},
36+
"networkData": {
37+
"$ref": "_definitions.json#/definitions/io.k8s.api.resource.v1beta1.NetworkDeviceData",
38+
"description": "NetworkData contains network-related information specific to the device."
39+
},
40+
"pool": {
41+
"description": "This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.",
42+
"type": [
43+
"string",
44+
"null"
45+
]
46+
}
47+
},
48+
"required": [
49+
"driver",
50+
"pool",
51+
"device"
52+
],
53+
"type": "object",
54+
"$schema": "http://json-schema.org/schema#"
55+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"description": "ClusterTrustBundle is a cluster-scoped container for X.509 trust anchors (root certificates).\n\nClusterTrustBundle objects are considered to be readable by any authenticated user in the cluster, because they can be mounted by pods using the `clusterTrustBundle` projection. All service accounts have read access to ClusterTrustBundles by default. Users who only have namespace-level access to a cluster can read ClusterTrustBundles by impersonating a serviceaccount that they have access to.\n\nIt can be optionally associated with a particular assigner, in which case it contains one valid set of trust anchors for that signer. Signers may have multiple associated ClusterTrustBundles; each is an independent set of trust anchors for that signer. Admission control is used to enforce that only users with permissions on the signer can create or modify the corresponding bundle.",
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+
"certificates.k8s.io/v1alpha1"
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+
"ClusterTrustBundle"
22+
]
23+
},
24+
"metadata": {
25+
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta",
26+
"description": "metadata contains the object metadata."
27+
},
28+
"spec": {
29+
"$ref": "_definitions.json#/definitions/io.k8s.api.certificates.v1alpha1.ClusterTrustBundleSpec",
30+
"description": "spec contains the signer (if any) and trust anchors."
31+
}
32+
},
33+
"required": [
34+
"spec"
35+
],
36+
"type": "object",
37+
"x-kubernetes-group-version-kind": [
38+
{
39+
"group": "certificates.k8s.io",
40+
"kind": "ClusterTrustBundle",
41+
"version": "v1alpha1"
42+
}
43+
],
44+
"$schema": "http://json-schema.org/schema#"
45+
}

master-local/clustertrustbundle.json

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"description": "ClusterTrustBundle is a cluster-scoped container for X.509 trust anchors (root certificates).\n\nClusterTrustBundle objects are considered to be readable by any authenticated user in the cluster, because they can be mounted by pods using the `clusterTrustBundle` projection. All service accounts have read access to ClusterTrustBundles by default. Users who only have namespace-level access to a cluster can read ClusterTrustBundles by impersonating a serviceaccount that they have access to.\n\nIt can be optionally associated with a particular assigner, in which case it contains one valid set of trust anchors for that signer. Signers may have multiple associated ClusterTrustBundles; each is an independent set of trust anchors for that signer. Admission control is used to enforce that only users with permissions on the signer can create or modify the corresponding bundle.",
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+
},
11+
"kind": {
12+
"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",
13+
"type": [
14+
"string",
15+
"null"
16+
],
17+
"enum": [
18+
"ClusterTrustBundle"
19+
]
20+
},
21+
"metadata": {
22+
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta",
23+
"description": "metadata contains the object metadata."
24+
},
25+
"spec": {
26+
"$ref": "_definitions.json#/definitions/io.k8s.api.certificates.v1alpha1.ClusterTrustBundleSpec",
27+
"description": "spec contains the signer (if any) and trust anchors."
28+
}
29+
},
30+
"required": [
31+
"spec"
32+
],
33+
"type": "object",
34+
"x-kubernetes-group-version-kind": [
35+
{
36+
"group": "certificates.k8s.io",
37+
"kind": "ClusterTrustBundle",
38+
"version": "v1alpha1"
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": "ClusterTrustBundleList is a collection of ClusterTrustBundle objects",
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+
"certificates.k8s.io/v1alpha1"
12+
]
13+
},
14+
"items": {
15+
"description": "items is a collection of ClusterTrustBundle objects",
16+
"items": {
17+
"$ref": "_definitions.json#/definitions/io.k8s.api.certificates.v1alpha1.ClusterTrustBundle"
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+
"ClusterTrustBundleList"
32+
]
33+
},
34+
"metadata": {
35+
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta",
36+
"description": "metadata contains the list metadata."
37+
}
38+
},
39+
"required": [
40+
"items"
41+
],
42+
"type": "object",
43+
"x-kubernetes-group-version-kind": [
44+
{
45+
"group": "certificates.k8s.io",
46+
"kind": "ClusterTrustBundleList",
47+
"version": "v1alpha1"
48+
}
49+
],
50+
"$schema": "http://json-schema.org/schema#"
51+
}

0 commit comments

Comments
 (0)