From 6008bfd4ec8d973797924b3957d2b1a9a1c2b93f Mon Sep 17 00:00:00 2001 From: Yann Hamon Date: Sat, 13 Jul 2024 10:32:17 +0000 Subject: [PATCH] Adding new schemas --- master-local/_definitions.json | 10 ++++++++-- master-local/hostip-v1.json | 3 +++ master-local/hostip.json | 3 +++ master-local/jobspec-batch-v1.json | 2 +- master-local/jobspec.json | 2 +- master-local/persistentvolumestatus-v1.json | 2 +- master-local/persistentvolumestatus.json | 2 +- master-local/podip-v1.json | 3 +++ master-local/podip.json | 3 +++ master-standalone-strict/_definitions.json | 10 ++++++++-- master-standalone-strict/hostip-v1.json | 3 +++ master-standalone-strict/hostip.json | 3 +++ master-standalone-strict/pod-v1.json | 16 ++++++++-------- master-standalone-strict/pod.json | 16 ++++++++-------- master-standalone-strict/podip-v1.json | 3 +++ master-standalone-strict/podip.json | 3 +++ master-standalone-strict/podlist-v1.json | 16 ++++++++-------- master-standalone-strict/podlist.json | 16 ++++++++-------- master-standalone-strict/podstatus-v1.json | 16 ++++++++-------- master-standalone-strict/podstatus.json | 16 ++++++++-------- master-standalone/_definitions.json | 10 ++++++++-- master-standalone/hostip-v1.json | 3 +++ master-standalone/hostip.json | 3 +++ master-standalone/pod-v1.json | 16 ++++++++-------- master-standalone/pod.json | 16 ++++++++-------- master-standalone/podip-v1.json | 3 +++ master-standalone/podip.json | 3 +++ master-standalone/podlist-v1.json | 16 ++++++++-------- master-standalone/podlist.json | 16 ++++++++-------- master-standalone/podstatus-v1.json | 16 ++++++++-------- master-standalone/podstatus.json | 16 ++++++++-------- master/_definitions.json | 10 ++++++++-- master/hostip-v1.json | 3 +++ master/hostip.json | 3 +++ master/jobspec-batch-v1.json | 2 +- master/jobspec.json | 2 +- master/persistentvolumestatus-v1.json | 2 +- master/persistentvolumestatus.json | 2 +- master/podip-v1.json | 3 +++ master/podip.json | 3 +++ 40 files changed, 184 insertions(+), 112 deletions(-) diff --git a/master-local/_definitions.json b/master-local/_definitions.json index deca624ec4..6b04b452e7 100644 --- a/master-local/_definitions.json +++ b/master-local/_definitions.json @@ -4909,7 +4909,7 @@ }, "podFailurePolicy": { "$ref": "#/definitions/io.k8s.api.batch.v1.PodFailurePolicy", - "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.\n\nThis field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default)." + "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure." }, "podReplacementPolicy": { "description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.", @@ -7665,6 +7665,9 @@ "type": "string" } }, + "required": [ + "ip" + ], "type": "object" }, "io.k8s.api.core.v1.HostPathVolumeSource": { @@ -9265,7 +9268,7 @@ "properties": { "lastPhaseTransitionTime": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default)." + "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions." }, "message": { "description": "message is a human-readable message indicating details about why the volume is in this state.", @@ -9509,6 +9512,9 @@ "type": "string" } }, + "required": [ + "ip" + ], "type": "object" }, "io.k8s.api.core.v1.PodList": { diff --git a/master-local/hostip-v1.json b/master-local/hostip-v1.json index 663f82a08a..1b57541c9c 100644 --- a/master-local/hostip-v1.json +++ b/master-local/hostip-v1.json @@ -9,6 +9,9 @@ ] } }, + "required": [ + "ip" + ], "type": "object", "$schema": "http://json-schema.org/schema#" } \ No newline at end of file diff --git a/master-local/hostip.json b/master-local/hostip.json index 663f82a08a..1b57541c9c 100644 --- a/master-local/hostip.json +++ b/master-local/hostip.json @@ -9,6 +9,9 @@ ] } }, + "required": [ + "ip" + ], "type": "object", "$schema": "http://json-schema.org/schema#" } \ No newline at end of file diff --git a/master-local/jobspec-batch-v1.json b/master-local/jobspec-batch-v1.json index 61de1bd640..abacbc4d5e 100644 --- a/master-local/jobspec-batch-v1.json +++ b/master-local/jobspec-batch-v1.json @@ -72,7 +72,7 @@ }, "podFailurePolicy": { "$ref": "_definitions.json#/definitions/io.k8s.api.batch.v1.PodFailurePolicy", - "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.\n\nThis field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default)." + "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure." }, "podReplacementPolicy": { "description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.", diff --git a/master-local/jobspec.json b/master-local/jobspec.json index 61de1bd640..abacbc4d5e 100644 --- a/master-local/jobspec.json +++ b/master-local/jobspec.json @@ -72,7 +72,7 @@ }, "podFailurePolicy": { "$ref": "_definitions.json#/definitions/io.k8s.api.batch.v1.PodFailurePolicy", - "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.\n\nThis field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default)." + "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure." }, "podReplacementPolicy": { "description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.", diff --git a/master-local/persistentvolumestatus-v1.json b/master-local/persistentvolumestatus-v1.json index 4fbe64d497..8b2cff8ad4 100644 --- a/master-local/persistentvolumestatus-v1.json +++ b/master-local/persistentvolumestatus-v1.json @@ -3,7 +3,7 @@ "properties": { "lastPhaseTransitionTime": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default)." + "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions." }, "message": { "description": "message is a human-readable message indicating details about why the volume is in this state.", diff --git a/master-local/persistentvolumestatus.json b/master-local/persistentvolumestatus.json index 4fbe64d497..8b2cff8ad4 100644 --- a/master-local/persistentvolumestatus.json +++ b/master-local/persistentvolumestatus.json @@ -3,7 +3,7 @@ "properties": { "lastPhaseTransitionTime": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default)." + "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions." }, "message": { "description": "message is a human-readable message indicating details about why the volume is in this state.", diff --git a/master-local/podip-v1.json b/master-local/podip-v1.json index ce29a09246..b66566532b 100644 --- a/master-local/podip-v1.json +++ b/master-local/podip-v1.json @@ -9,6 +9,9 @@ ] } }, + "required": [ + "ip" + ], "type": "object", "$schema": "http://json-schema.org/schema#" } \ No newline at end of file diff --git a/master-local/podip.json b/master-local/podip.json index ce29a09246..b66566532b 100644 --- a/master-local/podip.json +++ b/master-local/podip.json @@ -9,6 +9,9 @@ ] } }, + "required": [ + "ip" + ], "type": "object", "$schema": "http://json-schema.org/schema#" } \ No newline at end of file diff --git a/master-standalone-strict/_definitions.json b/master-standalone-strict/_definitions.json index 44a8e2580c..eff54a24d7 100644 --- a/master-standalone-strict/_definitions.json +++ b/master-standalone-strict/_definitions.json @@ -5070,7 +5070,7 @@ }, "podFailurePolicy": { "$ref": "#/definitions/io.k8s.api.batch.v1.PodFailurePolicy", - "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.\n\nThis field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default)." + "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure." }, "podReplacementPolicy": { "description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.", @@ -7916,6 +7916,9 @@ "type": "string" } }, + "required": [ + "ip" + ], "type": "object", "additionalProperties": false }, @@ -9567,7 +9570,7 @@ "properties": { "lastPhaseTransitionTime": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default)." + "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions." }, "message": { "description": "message is a human-readable message indicating details about why the volume is in this state.", @@ -9820,6 +9823,9 @@ "type": "string" } }, + "required": [ + "ip" + ], "type": "object", "additionalProperties": false }, diff --git a/master-standalone-strict/hostip-v1.json b/master-standalone-strict/hostip-v1.json index 7311656f30..12a8033868 100644 --- a/master-standalone-strict/hostip-v1.json +++ b/master-standalone-strict/hostip-v1.json @@ -9,6 +9,9 @@ ] } }, + "required": [ + "ip" + ], "type": "object", "additionalProperties": false, "$schema": "http://json-schema.org/schema#" diff --git a/master-standalone-strict/hostip.json b/master-standalone-strict/hostip.json index 7311656f30..12a8033868 100644 --- a/master-standalone-strict/hostip.json +++ b/master-standalone-strict/hostip.json @@ -9,6 +9,9 @@ ] } }, + "required": [ + "ip" + ], "type": "object", "additionalProperties": false, "$schema": "http://json-schema.org/schema#" diff --git a/master-standalone-strict/pod-v1.json b/master-standalone-strict/pod-v1.json index a50136b730..b9c3031dff 100644 --- a/master-standalone-strict/pod-v1.json +++ b/master-standalone-strict/pod-v1.json @@ -11420,12 +11420,12 @@ "properties": { "ip": { "description": "IP is the IP address assigned to the host", - "type": [ - "string", - "null" - ] + "type": "string" } }, + "required": [ + "ip" + ], "type": [ "object", "null" @@ -11970,12 +11970,12 @@ "properties": { "ip": { "description": "IP is the IP address assigned to the pod", - "type": [ - "string", - "null" - ] + "type": "string" } }, + "required": [ + "ip" + ], "type": [ "object", "null" diff --git a/master-standalone-strict/pod.json b/master-standalone-strict/pod.json index f068254619..d367146768 100644 --- a/master-standalone-strict/pod.json +++ b/master-standalone-strict/pod.json @@ -11417,12 +11417,12 @@ "properties": { "ip": { "description": "IP is the IP address assigned to the host", - "type": [ - "string", - "null" - ] + "type": "string" } }, + "required": [ + "ip" + ], "type": [ "object", "null" @@ -11967,12 +11967,12 @@ "properties": { "ip": { "description": "IP is the IP address assigned to the pod", - "type": [ - "string", - "null" - ] + "type": "string" } }, + "required": [ + "ip" + ], "type": [ "object", "null" diff --git a/master-standalone-strict/podip-v1.json b/master-standalone-strict/podip-v1.json index 44846458df..8848c61169 100644 --- a/master-standalone-strict/podip-v1.json +++ b/master-standalone-strict/podip-v1.json @@ -9,6 +9,9 @@ ] } }, + "required": [ + "ip" + ], "type": "object", "additionalProperties": false, "$schema": "http://json-schema.org/schema#" diff --git a/master-standalone-strict/podip.json b/master-standalone-strict/podip.json index 44846458df..8848c61169 100644 --- a/master-standalone-strict/podip.json +++ b/master-standalone-strict/podip.json @@ -9,6 +9,9 @@ ] } }, + "required": [ + "ip" + ], "type": "object", "additionalProperties": false, "$schema": "http://json-schema.org/schema#" diff --git a/master-standalone-strict/podlist-v1.json b/master-standalone-strict/podlist-v1.json index 620f716983..e209b5085a 100644 --- a/master-standalone-strict/podlist-v1.json +++ b/master-standalone-strict/podlist-v1.json @@ -11435,12 +11435,12 @@ "properties": { "ip": { "description": "IP is the IP address assigned to the host", - "type": [ - "string", - "null" - ] + "type": "string" } }, + "required": [ + "ip" + ], "type": [ "object", "null" @@ -11985,12 +11985,12 @@ "properties": { "ip": { "description": "IP is the IP address assigned to the pod", - "type": [ - "string", - "null" - ] + "type": "string" } }, + "required": [ + "ip" + ], "type": [ "object", "null" diff --git a/master-standalone-strict/podlist.json b/master-standalone-strict/podlist.json index 74bf990a4a..64a4f893bb 100644 --- a/master-standalone-strict/podlist.json +++ b/master-standalone-strict/podlist.json @@ -11429,12 +11429,12 @@ "properties": { "ip": { "description": "IP is the IP address assigned to the host", - "type": [ - "string", - "null" - ] + "type": "string" } }, + "required": [ + "ip" + ], "type": [ "object", "null" @@ -11979,12 +11979,12 @@ "properties": { "ip": { "description": "IP is the IP address assigned to the pod", - "type": [ - "string", - "null" - ] + "type": "string" } }, + "required": [ + "ip" + ], "type": [ "object", "null" diff --git a/master-standalone-strict/podstatus-v1.json b/master-standalone-strict/podstatus-v1.json index 1a3e62ee24..d4b9ca026c 100644 --- a/master-standalone-strict/podstatus-v1.json +++ b/master-standalone-strict/podstatus-v1.json @@ -1070,12 +1070,12 @@ "properties": { "ip": { "description": "IP is the IP address assigned to the host", - "type": [ - "string", - "null" - ] + "type": "string" } }, + "required": [ + "ip" + ], "type": [ "object", "null" @@ -1620,12 +1620,12 @@ "properties": { "ip": { "description": "IP is the IP address assigned to the pod", - "type": [ - "string", - "null" - ] + "type": "string" } }, + "required": [ + "ip" + ], "type": [ "object", "null" diff --git a/master-standalone-strict/podstatus.json b/master-standalone-strict/podstatus.json index 1a3e62ee24..d4b9ca026c 100644 --- a/master-standalone-strict/podstatus.json +++ b/master-standalone-strict/podstatus.json @@ -1070,12 +1070,12 @@ "properties": { "ip": { "description": "IP is the IP address assigned to the host", - "type": [ - "string", - "null" - ] + "type": "string" } }, + "required": [ + "ip" + ], "type": [ "object", "null" @@ -1620,12 +1620,12 @@ "properties": { "ip": { "description": "IP is the IP address assigned to the pod", - "type": [ - "string", - "null" - ] + "type": "string" } }, + "required": [ + "ip" + ], "type": [ "object", "null" diff --git a/master-standalone/_definitions.json b/master-standalone/_definitions.json index deca624ec4..6b04b452e7 100644 --- a/master-standalone/_definitions.json +++ b/master-standalone/_definitions.json @@ -4909,7 +4909,7 @@ }, "podFailurePolicy": { "$ref": "#/definitions/io.k8s.api.batch.v1.PodFailurePolicy", - "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.\n\nThis field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default)." + "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure." }, "podReplacementPolicy": { "description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.", @@ -7665,6 +7665,9 @@ "type": "string" } }, + "required": [ + "ip" + ], "type": "object" }, "io.k8s.api.core.v1.HostPathVolumeSource": { @@ -9265,7 +9268,7 @@ "properties": { "lastPhaseTransitionTime": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default)." + "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions." }, "message": { "description": "message is a human-readable message indicating details about why the volume is in this state.", @@ -9509,6 +9512,9 @@ "type": "string" } }, + "required": [ + "ip" + ], "type": "object" }, "io.k8s.api.core.v1.PodList": { diff --git a/master-standalone/hostip-v1.json b/master-standalone/hostip-v1.json index 663f82a08a..1b57541c9c 100644 --- a/master-standalone/hostip-v1.json +++ b/master-standalone/hostip-v1.json @@ -9,6 +9,9 @@ ] } }, + "required": [ + "ip" + ], "type": "object", "$schema": "http://json-schema.org/schema#" } \ No newline at end of file diff --git a/master-standalone/hostip.json b/master-standalone/hostip.json index 663f82a08a..1b57541c9c 100644 --- a/master-standalone/hostip.json +++ b/master-standalone/hostip.json @@ -9,6 +9,9 @@ ] } }, + "required": [ + "ip" + ], "type": "object", "$schema": "http://json-schema.org/schema#" } \ No newline at end of file diff --git a/master-standalone/pod-v1.json b/master-standalone/pod-v1.json index 9f68257945..3e198e4111 100644 --- a/master-standalone/pod-v1.json +++ b/master-standalone/pod-v1.json @@ -11110,12 +11110,12 @@ "properties": { "ip": { "description": "IP is the IP address assigned to the host", - "type": [ - "string", - "null" - ] + "type": "string" } }, + "required": [ + "ip" + ], "type": [ "object", "null" @@ -11645,12 +11645,12 @@ "properties": { "ip": { "description": "IP is the IP address assigned to the pod", - "type": [ - "string", - "null" - ] + "type": "string" } }, + "required": [ + "ip" + ], "type": [ "object", "null" diff --git a/master-standalone/pod.json b/master-standalone/pod.json index 3df0b2fe3c..414df3e41d 100644 --- a/master-standalone/pod.json +++ b/master-standalone/pod.json @@ -11107,12 +11107,12 @@ "properties": { "ip": { "description": "IP is the IP address assigned to the host", - "type": [ - "string", - "null" - ] + "type": "string" } }, + "required": [ + "ip" + ], "type": [ "object", "null" @@ -11642,12 +11642,12 @@ "properties": { "ip": { "description": "IP is the IP address assigned to the pod", - "type": [ - "string", - "null" - ] + "type": "string" } }, + "required": [ + "ip" + ], "type": [ "object", "null" diff --git a/master-standalone/podip-v1.json b/master-standalone/podip-v1.json index ce29a09246..b66566532b 100644 --- a/master-standalone/podip-v1.json +++ b/master-standalone/podip-v1.json @@ -9,6 +9,9 @@ ] } }, + "required": [ + "ip" + ], "type": "object", "$schema": "http://json-schema.org/schema#" } \ No newline at end of file diff --git a/master-standalone/podip.json b/master-standalone/podip.json index ce29a09246..b66566532b 100644 --- a/master-standalone/podip.json +++ b/master-standalone/podip.json @@ -9,6 +9,9 @@ ] } }, + "required": [ + "ip" + ], "type": "object", "$schema": "http://json-schema.org/schema#" } \ No newline at end of file diff --git a/master-standalone/podlist-v1.json b/master-standalone/podlist-v1.json index afed0653c6..e8796297d0 100644 --- a/master-standalone/podlist-v1.json +++ b/master-standalone/podlist-v1.json @@ -11125,12 +11125,12 @@ "properties": { "ip": { "description": "IP is the IP address assigned to the host", - "type": [ - "string", - "null" - ] + "type": "string" } }, + "required": [ + "ip" + ], "type": [ "object", "null" @@ -11660,12 +11660,12 @@ "properties": { "ip": { "description": "IP is the IP address assigned to the pod", - "type": [ - "string", - "null" - ] + "type": "string" } }, + "required": [ + "ip" + ], "type": [ "object", "null" diff --git a/master-standalone/podlist.json b/master-standalone/podlist.json index 3a45a1f092..f78e0bb461 100644 --- a/master-standalone/podlist.json +++ b/master-standalone/podlist.json @@ -11119,12 +11119,12 @@ "properties": { "ip": { "description": "IP is the IP address assigned to the host", - "type": [ - "string", - "null" - ] + "type": "string" } }, + "required": [ + "ip" + ], "type": [ "object", "null" @@ -11654,12 +11654,12 @@ "properties": { "ip": { "description": "IP is the IP address assigned to the pod", - "type": [ - "string", - "null" - ] + "type": "string" } }, + "required": [ + "ip" + ], "type": [ "object", "null" diff --git a/master-standalone/podstatus-v1.json b/master-standalone/podstatus-v1.json index a994438cd9..6c08c09fbc 100644 --- a/master-standalone/podstatus-v1.json +++ b/master-standalone/podstatus-v1.json @@ -1041,12 +1041,12 @@ "properties": { "ip": { "description": "IP is the IP address assigned to the host", - "type": [ - "string", - "null" - ] + "type": "string" } }, + "required": [ + "ip" + ], "type": [ "object", "null" @@ -1576,12 +1576,12 @@ "properties": { "ip": { "description": "IP is the IP address assigned to the pod", - "type": [ - "string", - "null" - ] + "type": "string" } }, + "required": [ + "ip" + ], "type": [ "object", "null" diff --git a/master-standalone/podstatus.json b/master-standalone/podstatus.json index a994438cd9..6c08c09fbc 100644 --- a/master-standalone/podstatus.json +++ b/master-standalone/podstatus.json @@ -1041,12 +1041,12 @@ "properties": { "ip": { "description": "IP is the IP address assigned to the host", - "type": [ - "string", - "null" - ] + "type": "string" } }, + "required": [ + "ip" + ], "type": [ "object", "null" @@ -1576,12 +1576,12 @@ "properties": { "ip": { "description": "IP is the IP address assigned to the pod", - "type": [ - "string", - "null" - ] + "type": "string" } }, + "required": [ + "ip" + ], "type": [ "object", "null" diff --git a/master/_definitions.json b/master/_definitions.json index deca624ec4..6b04b452e7 100644 --- a/master/_definitions.json +++ b/master/_definitions.json @@ -4909,7 +4909,7 @@ }, "podFailurePolicy": { "$ref": "#/definitions/io.k8s.api.batch.v1.PodFailurePolicy", - "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.\n\nThis field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default)." + "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure." }, "podReplacementPolicy": { "description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.", @@ -7665,6 +7665,9 @@ "type": "string" } }, + "required": [ + "ip" + ], "type": "object" }, "io.k8s.api.core.v1.HostPathVolumeSource": { @@ -9265,7 +9268,7 @@ "properties": { "lastPhaseTransitionTime": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default)." + "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions." }, "message": { "description": "message is a human-readable message indicating details about why the volume is in this state.", @@ -9509,6 +9512,9 @@ "type": "string" } }, + "required": [ + "ip" + ], "type": "object" }, "io.k8s.api.core.v1.PodList": { diff --git a/master/hostip-v1.json b/master/hostip-v1.json index 663f82a08a..1b57541c9c 100644 --- a/master/hostip-v1.json +++ b/master/hostip-v1.json @@ -9,6 +9,9 @@ ] } }, + "required": [ + "ip" + ], "type": "object", "$schema": "http://json-schema.org/schema#" } \ No newline at end of file diff --git a/master/hostip.json b/master/hostip.json index 663f82a08a..1b57541c9c 100644 --- a/master/hostip.json +++ b/master/hostip.json @@ -9,6 +9,9 @@ ] } }, + "required": [ + "ip" + ], "type": "object", "$schema": "http://json-schema.org/schema#" } \ No newline at end of file diff --git a/master/jobspec-batch-v1.json b/master/jobspec-batch-v1.json index a512231393..5ca4e330f9 100644 --- a/master/jobspec-batch-v1.json +++ b/master/jobspec-batch-v1.json @@ -72,7 +72,7 @@ }, "podFailurePolicy": { "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/master/_definitions.json#/definitions/io.k8s.api.batch.v1.PodFailurePolicy", - "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.\n\nThis field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default)." + "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure." }, "podReplacementPolicy": { "description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.", diff --git a/master/jobspec.json b/master/jobspec.json index a512231393..5ca4e330f9 100644 --- a/master/jobspec.json +++ b/master/jobspec.json @@ -72,7 +72,7 @@ }, "podFailurePolicy": { "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/master/_definitions.json#/definitions/io.k8s.api.batch.v1.PodFailurePolicy", - "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.\n\nThis field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default)." + "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure." }, "podReplacementPolicy": { "description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.", diff --git a/master/persistentvolumestatus-v1.json b/master/persistentvolumestatus-v1.json index 9295b93d6e..a1ea557fff 100644 --- a/master/persistentvolumestatus-v1.json +++ b/master/persistentvolumestatus-v1.json @@ -3,7 +3,7 @@ "properties": { "lastPhaseTransitionTime": { "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/master/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default)." + "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions." }, "message": { "description": "message is a human-readable message indicating details about why the volume is in this state.", diff --git a/master/persistentvolumestatus.json b/master/persistentvolumestatus.json index 9295b93d6e..a1ea557fff 100644 --- a/master/persistentvolumestatus.json +++ b/master/persistentvolumestatus.json @@ -3,7 +3,7 @@ "properties": { "lastPhaseTransitionTime": { "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/master/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default)." + "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions." }, "message": { "description": "message is a human-readable message indicating details about why the volume is in this state.", diff --git a/master/podip-v1.json b/master/podip-v1.json index ce29a09246..b66566532b 100644 --- a/master/podip-v1.json +++ b/master/podip-v1.json @@ -9,6 +9,9 @@ ] } }, + "required": [ + "ip" + ], "type": "object", "$schema": "http://json-schema.org/schema#" } \ No newline at end of file diff --git a/master/podip.json b/master/podip.json index ce29a09246..b66566532b 100644 --- a/master/podip.json +++ b/master/podip.json @@ -9,6 +9,9 @@ ] } }, + "required": [ + "ip" + ], "type": "object", "$schema": "http://json-schema.org/schema#" } \ No newline at end of file