Skip to content

Commit 6008bfd

Browse files
author
Yann Hamon
committed
Adding new schemas
1 parent 3d5e7fe commit 6008bfd

40 files changed

+184
-112
lines changed

master-local/_definitions.json

+8-2
Original file line numberDiff line numberDiff line change
@@ -4909,7 +4909,7 @@
49094909
},
49104910
"podFailurePolicy": {
49114911
"$ref": "#/definitions/io.k8s.api.batch.v1.PodFailurePolicy",
4912-
"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)."
4912+
"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."
49134913
},
49144914
"podReplacementPolicy": {
49154915
"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 @@
76657665
"type": "string"
76667666
}
76677667
},
7668+
"required": [
7669+
"ip"
7670+
],
76687671
"type": "object"
76697672
},
76707673
"io.k8s.api.core.v1.HostPathVolumeSource": {
@@ -9265,7 +9268,7 @@
92659268
"properties": {
92669269
"lastPhaseTransitionTime": {
92679270
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time",
9268-
"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)."
9271+
"description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions."
92699272
},
92709273
"message": {
92719274
"description": "message is a human-readable message indicating details about why the volume is in this state.",
@@ -9509,6 +9512,9 @@
95099512
"type": "string"
95109513
}
95119514
},
9515+
"required": [
9516+
"ip"
9517+
],
95129518
"type": "object"
95139519
},
95149520
"io.k8s.api.core.v1.PodList": {

master-local/hostip-v1.json

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
]
1010
}
1111
},
12+
"required": [
13+
"ip"
14+
],
1215
"type": "object",
1316
"$schema": "http://json-schema.org/schema#"
1417
}

master-local/hostip.json

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
]
1010
}
1111
},
12+
"required": [
13+
"ip"
14+
],
1215
"type": "object",
1316
"$schema": "http://json-schema.org/schema#"
1417
}

master-local/jobspec-batch-v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
},
7373
"podFailurePolicy": {
7474
"$ref": "_definitions.json#/definitions/io.k8s.api.batch.v1.PodFailurePolicy",
75-
"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)."
75+
"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."
7676
},
7777
"podReplacementPolicy": {
7878
"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.",

master-local/jobspec.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
},
7373
"podFailurePolicy": {
7474
"$ref": "_definitions.json#/definitions/io.k8s.api.batch.v1.PodFailurePolicy",
75-
"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)."
75+
"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."
7676
},
7777
"podReplacementPolicy": {
7878
"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.",

master-local/persistentvolumestatus-v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"properties": {
44
"lastPhaseTransitionTime": {
55
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time",
6-
"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)."
6+
"description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions."
77
},
88
"message": {
99
"description": "message is a human-readable message indicating details about why the volume is in this state.",

master-local/persistentvolumestatus.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"properties": {
44
"lastPhaseTransitionTime": {
55
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time",
6-
"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)."
6+
"description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions."
77
},
88
"message": {
99
"description": "message is a human-readable message indicating details about why the volume is in this state.",

master-local/podip-v1.json

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
]
1010
}
1111
},
12+
"required": [
13+
"ip"
14+
],
1215
"type": "object",
1316
"$schema": "http://json-schema.org/schema#"
1417
}

master-local/podip.json

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
]
1010
}
1111
},
12+
"required": [
13+
"ip"
14+
],
1215
"type": "object",
1316
"$schema": "http://json-schema.org/schema#"
1417
}

master-standalone-strict/_definitions.json

+8-2
Original file line numberDiff line numberDiff line change
@@ -5070,7 +5070,7 @@
50705070
},
50715071
"podFailurePolicy": {
50725072
"$ref": "#/definitions/io.k8s.api.batch.v1.PodFailurePolicy",
5073-
"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)."
5073+
"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."
50745074
},
50755075
"podReplacementPolicy": {
50765076
"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 @@
79167916
"type": "string"
79177917
}
79187918
},
7919+
"required": [
7920+
"ip"
7921+
],
79197922
"type": "object",
79207923
"additionalProperties": false
79217924
},
@@ -9567,7 +9570,7 @@
95679570
"properties": {
95689571
"lastPhaseTransitionTime": {
95699572
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time",
9570-
"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)."
9573+
"description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions."
95719574
},
95729575
"message": {
95739576
"description": "message is a human-readable message indicating details about why the volume is in this state.",
@@ -9820,6 +9823,9 @@
98209823
"type": "string"
98219824
}
98229825
},
9826+
"required": [
9827+
"ip"
9828+
],
98239829
"type": "object",
98249830
"additionalProperties": false
98259831
},

master-standalone-strict/hostip-v1.json

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
]
1010
}
1111
},
12+
"required": [
13+
"ip"
14+
],
1215
"type": "object",
1316
"additionalProperties": false,
1417
"$schema": "http://json-schema.org/schema#"

master-standalone-strict/hostip.json

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
]
1010
}
1111
},
12+
"required": [
13+
"ip"
14+
],
1215
"type": "object",
1316
"additionalProperties": false,
1417
"$schema": "http://json-schema.org/schema#"

master-standalone-strict/pod-v1.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -11420,12 +11420,12 @@
1142011420
"properties": {
1142111421
"ip": {
1142211422
"description": "IP is the IP address assigned to the host",
11423-
"type": [
11424-
"string",
11425-
"null"
11426-
]
11423+
"type": "string"
1142711424
}
1142811425
},
11426+
"required": [
11427+
"ip"
11428+
],
1142911429
"type": [
1143011430
"object",
1143111431
"null"
@@ -11970,12 +11970,12 @@
1197011970
"properties": {
1197111971
"ip": {
1197211972
"description": "IP is the IP address assigned to the pod",
11973-
"type": [
11974-
"string",
11975-
"null"
11976-
]
11973+
"type": "string"
1197711974
}
1197811975
},
11976+
"required": [
11977+
"ip"
11978+
],
1197911979
"type": [
1198011980
"object",
1198111981
"null"

master-standalone-strict/pod.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -11417,12 +11417,12 @@
1141711417
"properties": {
1141811418
"ip": {
1141911419
"description": "IP is the IP address assigned to the host",
11420-
"type": [
11421-
"string",
11422-
"null"
11423-
]
11420+
"type": "string"
1142411421
}
1142511422
},
11423+
"required": [
11424+
"ip"
11425+
],
1142611426
"type": [
1142711427
"object",
1142811428
"null"
@@ -11967,12 +11967,12 @@
1196711967
"properties": {
1196811968
"ip": {
1196911969
"description": "IP is the IP address assigned to the pod",
11970-
"type": [
11971-
"string",
11972-
"null"
11973-
]
11970+
"type": "string"
1197411971
}
1197511972
},
11973+
"required": [
11974+
"ip"
11975+
],
1197611976
"type": [
1197711977
"object",
1197811978
"null"

master-standalone-strict/podip-v1.json

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
]
1010
}
1111
},
12+
"required": [
13+
"ip"
14+
],
1215
"type": "object",
1316
"additionalProperties": false,
1417
"$schema": "http://json-schema.org/schema#"

master-standalone-strict/podip.json

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
]
1010
}
1111
},
12+
"required": [
13+
"ip"
14+
],
1215
"type": "object",
1316
"additionalProperties": false,
1417
"$schema": "http://json-schema.org/schema#"

master-standalone-strict/podlist-v1.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -11435,12 +11435,12 @@
1143511435
"properties": {
1143611436
"ip": {
1143711437
"description": "IP is the IP address assigned to the host",
11438-
"type": [
11439-
"string",
11440-
"null"
11441-
]
11438+
"type": "string"
1144211439
}
1144311440
},
11441+
"required": [
11442+
"ip"
11443+
],
1144411444
"type": [
1144511445
"object",
1144611446
"null"
@@ -11985,12 +11985,12 @@
1198511985
"properties": {
1198611986
"ip": {
1198711987
"description": "IP is the IP address assigned to the pod",
11988-
"type": [
11989-
"string",
11990-
"null"
11991-
]
11988+
"type": "string"
1199211989
}
1199311990
},
11991+
"required": [
11992+
"ip"
11993+
],
1199411994
"type": [
1199511995
"object",
1199611996
"null"

master-standalone-strict/podlist.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -11429,12 +11429,12 @@
1142911429
"properties": {
1143011430
"ip": {
1143111431
"description": "IP is the IP address assigned to the host",
11432-
"type": [
11433-
"string",
11434-
"null"
11435-
]
11432+
"type": "string"
1143611433
}
1143711434
},
11435+
"required": [
11436+
"ip"
11437+
],
1143811438
"type": [
1143911439
"object",
1144011440
"null"
@@ -11979,12 +11979,12 @@
1197911979
"properties": {
1198011980
"ip": {
1198111981
"description": "IP is the IP address assigned to the pod",
11982-
"type": [
11983-
"string",
11984-
"null"
11985-
]
11982+
"type": "string"
1198611983
}
1198711984
},
11985+
"required": [
11986+
"ip"
11987+
],
1198811988
"type": [
1198911989
"object",
1199011990
"null"

master-standalone-strict/podstatus-v1.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -1070,12 +1070,12 @@
10701070
"properties": {
10711071
"ip": {
10721072
"description": "IP is the IP address assigned to the host",
1073-
"type": [
1074-
"string",
1075-
"null"
1076-
]
1073+
"type": "string"
10771074
}
10781075
},
1076+
"required": [
1077+
"ip"
1078+
],
10791079
"type": [
10801080
"object",
10811081
"null"
@@ -1620,12 +1620,12 @@
16201620
"properties": {
16211621
"ip": {
16221622
"description": "IP is the IP address assigned to the pod",
1623-
"type": [
1624-
"string",
1625-
"null"
1626-
]
1623+
"type": "string"
16271624
}
16281625
},
1626+
"required": [
1627+
"ip"
1628+
],
16291629
"type": [
16301630
"object",
16311631
"null"

master-standalone-strict/podstatus.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -1070,12 +1070,12 @@
10701070
"properties": {
10711071
"ip": {
10721072
"description": "IP is the IP address assigned to the host",
1073-
"type": [
1074-
"string",
1075-
"null"
1076-
]
1073+
"type": "string"
10771074
}
10781075
},
1076+
"required": [
1077+
"ip"
1078+
],
10791079
"type": [
10801080
"object",
10811081
"null"
@@ -1620,12 +1620,12 @@
16201620
"properties": {
16211621
"ip": {
16221622
"description": "IP is the IP address assigned to the pod",
1623-
"type": [
1624-
"string",
1625-
"null"
1626-
]
1623+
"type": "string"
16271624
}
16281625
},
1626+
"required": [
1627+
"ip"
1628+
],
16291629
"type": [
16301630
"object",
16311631
"null"

0 commit comments

Comments
 (0)