Skip to content

Commit

Permalink
Adding new schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
Yann Hamon committed Aug 29, 2023
1 parent f23578a commit 5f80dee
Show file tree
Hide file tree
Showing 44 changed files with 172 additions and 120 deletions.
3 changes: 1 addition & 2 deletions master-local/_definitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -4581,8 +4581,7 @@
}
},
"required": [
"action",
"onPodConditions"
"action"
],
"type": "object"
},
Expand Down
3 changes: 1 addition & 2 deletions master-local/podfailurepolicyrule-batch-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
}
},
"required": [
"action",
"onPodConditions"
"action"
],
"type": "object",
"$schema": "http://json-schema.org/schema#"
Expand Down
3 changes: 1 addition & 2 deletions master-local/podfailurepolicyrule.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
}
},
"required": [
"action",
"onPodConditions"
"action"
],
"type": "object",
"$schema": "http://json-schema.org/schema#"
Expand Down
3 changes: 1 addition & 2 deletions master-standalone-strict/_definitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -4732,8 +4732,7 @@
}
},
"required": [
"action",
"onPodConditions"
"action"
],
"type": "object",
"additionalProperties": false
Expand Down
8 changes: 5 additions & 3 deletions master-standalone-strict/cronjob-batch-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -674,13 +674,15 @@
],
"additionalProperties": false
},
"type": "array",
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
}
},
"required": [
"action",
"onPodConditions"
"action"
],
"type": [
"object",
Expand Down
8 changes: 5 additions & 3 deletions master-standalone-strict/cronjob.json
Original file line number Diff line number Diff line change
Expand Up @@ -671,13 +671,15 @@
],
"additionalProperties": false
},
"type": "array",
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
}
},
"required": [
"action",
"onPodConditions"
"action"
],
"type": [
"object",
Expand Down
8 changes: 5 additions & 3 deletions master-standalone-strict/cronjoblist-batch-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -689,13 +689,15 @@
],
"additionalProperties": false
},
"type": "array",
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
}
},
"required": [
"action",
"onPodConditions"
"action"
],
"type": [
"object",
Expand Down
8 changes: 5 additions & 3 deletions master-standalone-strict/cronjoblist.json
Original file line number Diff line number Diff line change
Expand Up @@ -683,13 +683,15 @@
],
"additionalProperties": false
},
"type": "array",
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
}
},
"required": [
"action",
"onPodConditions"
"action"
],
"type": [
"object",
Expand Down
8 changes: 5 additions & 3 deletions master-standalone-strict/cronjobspec-batch-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -404,13 +404,15 @@
],
"additionalProperties": false
},
"type": "array",
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
}
},
"required": [
"action",
"onPodConditions"
"action"
],
"type": [
"object",
Expand Down
8 changes: 5 additions & 3 deletions master-standalone-strict/cronjobspec.json
Original file line number Diff line number Diff line change
Expand Up @@ -404,13 +404,15 @@
],
"additionalProperties": false
},
"type": "array",
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
}
},
"required": [
"action",
"onPodConditions"
"action"
],
"type": [
"object",
Expand Down
8 changes: 5 additions & 3 deletions master-standalone-strict/job-batch-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -406,13 +406,15 @@
],
"additionalProperties": false
},
"type": "array",
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
}
},
"required": [
"action",
"onPodConditions"
"action"
],
"type": [
"object",
Expand Down
8 changes: 5 additions & 3 deletions master-standalone-strict/job.json
Original file line number Diff line number Diff line change
Expand Up @@ -403,13 +403,15 @@
],
"additionalProperties": false
},
"type": "array",
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
}
},
"required": [
"action",
"onPodConditions"
"action"
],
"type": [
"object",
Expand Down
8 changes: 5 additions & 3 deletions master-standalone-strict/joblist-batch-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -421,13 +421,15 @@
],
"additionalProperties": false
},
"type": "array",
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
}
},
"required": [
"action",
"onPodConditions"
"action"
],
"type": [
"object",
Expand Down
8 changes: 5 additions & 3 deletions master-standalone-strict/joblist.json
Original file line number Diff line number Diff line change
Expand Up @@ -415,13 +415,15 @@
],
"additionalProperties": false
},
"type": "array",
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
}
},
"required": [
"action",
"onPodConditions"
"action"
],
"type": [
"object",
Expand Down
8 changes: 5 additions & 3 deletions master-standalone-strict/jobspec-batch-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,15 @@
],
"additionalProperties": false
},
"type": "array",
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
}
},
"required": [
"action",
"onPodConditions"
"action"
],
"type": [
"object",
Expand Down
8 changes: 5 additions & 3 deletions master-standalone-strict/jobspec.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,15 @@
],
"additionalProperties": false
},
"type": "array",
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
}
},
"required": [
"action",
"onPodConditions"
"action"
],
"type": [
"object",
Expand Down
8 changes: 5 additions & 3 deletions master-standalone-strict/jobtemplatespec-batch-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -386,13 +386,15 @@
],
"additionalProperties": false
},
"type": "array",
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
}
},
"required": [
"action",
"onPodConditions"
"action"
],
"type": [
"object",
Expand Down
8 changes: 5 additions & 3 deletions master-standalone-strict/jobtemplatespec.json
Original file line number Diff line number Diff line change
Expand Up @@ -386,13 +386,15 @@
],
"additionalProperties": false
},
"type": "array",
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
}
},
"required": [
"action",
"onPodConditions"
"action"
],
"type": [
"object",
Expand Down
8 changes: 5 additions & 3 deletions master-standalone-strict/podfailurepolicy-batch-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,15 @@
],
"additionalProperties": false
},
"type": "array",
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
}
},
"required": [
"action",
"onPodConditions"
"action"
],
"type": [
"object",
Expand Down
8 changes: 5 additions & 3 deletions master-standalone-strict/podfailurepolicy.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,15 @@
],
"additionalProperties": false
},
"type": "array",
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
}
},
"required": [
"action",
"onPodConditions"
"action"
],
"type": [
"object",
Expand Down
3 changes: 1 addition & 2 deletions master-standalone-strict/podfailurepolicyrule-batch-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@
}
},
"required": [
"action",
"onPodConditions"
"action"
],
"type": "object",
"additionalProperties": false,
Expand Down
3 changes: 1 addition & 2 deletions master-standalone-strict/podfailurepolicyrule.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@
}
},
"required": [
"action",
"onPodConditions"
"action"
],
"type": "object",
"additionalProperties": false,
Expand Down
3 changes: 1 addition & 2 deletions master-standalone/_definitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -4581,8 +4581,7 @@
}
},
"required": [
"action",
"onPodConditions"
"action"
],
"type": "object"
},
Expand Down
8 changes: 5 additions & 3 deletions master-standalone/cronjob-batch-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -666,13 +666,15 @@
"null"
]
},
"type": "array",
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
}
},
"required": [
"action",
"onPodConditions"
"action"
],
"type": [
"object",
Expand Down
Loading

0 comments on commit 5f80dee

Please sign in to comment.