Skip to content

Commit be9e42c

Browse files
author
Yann Hamon
committed
Adding new schemas
1 parent b21b5fc commit be9e42c

File tree

160 files changed

+435
-156
lines changed

Some content is hidden

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

160 files changed

+435
-156
lines changed

master-local/_definitions.json

+22-1
Original file line numberDiff line numberDiff line change
@@ -8360,7 +8360,7 @@
83608360
"type": "string"
83618361
},
83628362
"volumeAttributesClassName": {
8363-
"description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.",
8363+
"description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.",
83648364
"type": "string"
83658365
},
83668366
"volumeMode": {
@@ -16268,6 +16268,14 @@
1626816268
"$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation",
1626916269
"description": "schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource."
1627016270
},
16271+
"selectableFields": {
16272+
"description": "selectableFields specifies paths to fields that may be used as field selectors. A maximum of 8 selectable fields are allowed. See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors",
16273+
"items": {
16274+
"$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.SelectableField"
16275+
},
16276+
"type": "array",
16277+
"x-kubernetes-list-type": "atomic"
16278+
},
1627116279
"served": {
1627216280
"description": "served is a flag enabling/disabling this version from being served via REST APIs",
1627316281
"type": "boolean"
@@ -16563,6 +16571,19 @@
1656316571
"io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray": {
1656416572
"description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array."
1656516573
},
16574+
"io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.SelectableField": {
16575+
"description": "SelectableField specifies the JSON path of a field that may be used with field selectors.",
16576+
"properties": {
16577+
"jsonPath": {
16578+
"description": "jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings with formats are allowed. If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. Must not point to metdata fields. Required.",
16579+
"type": "string"
16580+
}
16581+
},
16582+
"required": [
16583+
"jsonPath"
16584+
],
16585+
"type": "object"
16586+
},
1656616587
"io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference": {
1656716588
"description": "ServiceReference holds a reference to Service.legacy.k8s.io",
1656816589
"properties": {

master-local/all.json

+3
Original file line numberDiff line numberDiff line change
@@ -1617,6 +1617,9 @@
16171617
{
16181618
"$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray"
16191619
},
1620+
{
1621+
"$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.SelectableField"
1622+
},
16201623
{
16211624
"$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference"
16221625
},

master-local/customresourcedefinitionversion-apiextensions-v1.json

+11
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,17 @@
3737
"$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation",
3838
"description": "schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource."
3939
},
40+
"selectableFields": {
41+
"description": "selectableFields specifies paths to fields that may be used as field selectors. A maximum of 8 selectable fields are allowed. See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors",
42+
"items": {
43+
"$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.SelectableField"
44+
},
45+
"type": [
46+
"array",
47+
"null"
48+
],
49+
"x-kubernetes-list-type": "atomic"
50+
},
4051
"served": {
4152
"description": "served is a flag enabling/disabling this version from being served via REST APIs",
4253
"type": [

master-local/customresourcedefinitionversion.json

+11
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,17 @@
3737
"$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation",
3838
"description": "schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource."
3939
},
40+
"selectableFields": {
41+
"description": "selectableFields specifies paths to fields that may be used as field selectors. A maximum of 8 selectable fields are allowed. See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors",
42+
"items": {
43+
"$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.SelectableField"
44+
},
45+
"type": [
46+
"array",
47+
"null"
48+
],
49+
"x-kubernetes-list-type": "atomic"
50+
},
4051
"served": {
4152
"description": "served is a flag enabling/disabling this version from being served via REST APIs",
4253
"type": [

master-local/persistentvolumeclaimspec-v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
]
4040
},
4141
"volumeAttributesClassName": {
42-
"description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.",
42+
"description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.",
4343
"type": [
4444
"string",
4545
"null"

master-local/persistentvolumeclaimspec.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
]
4040
},
4141
"volumeAttributesClassName": {
42-
"description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.",
42+
"description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.",
4343
"type": [
4444
"string",
4545
"null"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"description": "SelectableField specifies the JSON path of a field that may be used with field selectors.",
3+
"properties": {
4+
"jsonPath": {
5+
"description": "jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings with formats are allowed. If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. Must not point to metdata fields. Required.",
6+
"type": [
7+
"string",
8+
"null"
9+
]
10+
}
11+
},
12+
"required": [
13+
"jsonPath"
14+
],
15+
"type": "object",
16+
"$schema": "http://json-schema.org/schema#"
17+
}

master-local/selectablefield.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"description": "SelectableField specifies the JSON path of a field that may be used with field selectors.",
3+
"properties": {
4+
"jsonPath": {
5+
"description": "jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings with formats are allowed. If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. Must not point to metdata fields. Required.",
6+
"type": [
7+
"string",
8+
"null"
9+
]
10+
}
11+
},
12+
"required": [
13+
"jsonPath"
14+
],
15+
"type": "object",
16+
"$schema": "http://json-schema.org/schema#"
17+
}

master-standalone-strict/_definitions.json

+23-1
Original file line numberDiff line numberDiff line change
@@ -8634,7 +8634,7 @@
86348634
"type": "string"
86358635
},
86368636
"volumeAttributesClassName": {
8637-
"description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.",
8637+
"description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.",
86388638
"type": "string"
86398639
},
86408640
"volumeMode": {
@@ -16795,6 +16795,14 @@
1679516795
"$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation",
1679616796
"description": "schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource."
1679716797
},
16798+
"selectableFields": {
16799+
"description": "selectableFields specifies paths to fields that may be used as field selectors. A maximum of 8 selectable fields are allowed. See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors",
16800+
"items": {
16801+
"$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.SelectableField"
16802+
},
16803+
"type": "array",
16804+
"x-kubernetes-list-type": "atomic"
16805+
},
1679816806
"served": {
1679916807
"description": "served is a flag enabling/disabling this version from being served via REST APIs",
1680016808
"type": "boolean"
@@ -17096,6 +17104,20 @@
1709617104
"io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray": {
1709717105
"description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array."
1709817106
},
17107+
"io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.SelectableField": {
17108+
"description": "SelectableField specifies the JSON path of a field that may be used with field selectors.",
17109+
"properties": {
17110+
"jsonPath": {
17111+
"description": "jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings with formats are allowed. If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. Must not point to metdata fields. Required.",
17112+
"type": "string"
17113+
}
17114+
},
17115+
"required": [
17116+
"jsonPath"
17117+
],
17118+
"type": "object",
17119+
"additionalProperties": false
17120+
},
1709917121
"io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference": {
1710017122
"description": "ServiceReference holds a reference to Service.legacy.k8s.io",
1710117123
"properties": {

master-standalone-strict/all.json

+3
Original file line numberDiff line numberDiff line change
@@ -1617,6 +1617,9 @@
16171617
{
16181618
"$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray"
16191619
},
1620+
{
1621+
"$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.SelectableField"
1622+
},
16201623
{
16211624
"$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference"
16221625
},

master-standalone-strict/cronjob-batch-v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9636,7 +9636,7 @@
96369636
]
96379637
},
96389638
"volumeAttributesClassName": {
9639-
"description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.",
9639+
"description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.",
96409640
"type": [
96419641
"string",
96429642
"null"

0 commit comments

Comments
 (0)