Skip to content

Commit

Permalink
Adding new schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksoncage committed Jan 25, 2024
1 parent 90f38d4 commit 843e93a
Show file tree
Hide file tree
Showing 24 changed files with 68 additions and 28 deletions.
6 changes: 4 additions & 2 deletions master-local/_definitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -8654,7 +8654,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 an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature."
"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)."
},
"message": {
"description": "message is a human-readable message indicating details about why the volume is in this state.",
Expand Down Expand Up @@ -14964,7 +14964,9 @@
"x-kubernetes-list-map-keys": [
"uid"
],
"x-kubernetes-list-type": "map"
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
}
},
"type": "object"
Expand Down
2 changes: 1 addition & 1 deletion master-local/persistentvolumestatus-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature."
"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)."
},
"message": {
"description": "message is a human-readable message indicating details about why the volume is in this state.",
Expand Down
2 changes: 1 addition & 1 deletion master-local/persistentvolumestatus.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature."
"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)."
},
"message": {
"description": "message is a human-readable message indicating details about why the volume is in this state.",
Expand Down
4 changes: 3 additions & 1 deletion master-local/resourceclaimstatus-resource-v1alpha2.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
"x-kubernetes-list-map-keys": [
"uid"
],
"x-kubernetes-list-type": "map"
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
}
},
"type": "object",
Expand Down
4 changes: 3 additions & 1 deletion master-local/resourceclaimstatus.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
"x-kubernetes-list-map-keys": [
"uid"
],
"x-kubernetes-list-type": "map"
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
}
},
"type": "object",
Expand Down
6 changes: 4 additions & 2 deletions master-standalone-strict/_definitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -8934,7 +8934,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 an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature."
"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)."
},
"message": {
"description": "message is a human-readable message indicating details about why the volume is in this state.",
Expand Down Expand Up @@ -15452,7 +15452,9 @@
"x-kubernetes-list-map-keys": [
"uid"
],
"x-kubernetes-list-type": "map"
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
}
},
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,9 @@
"x-kubernetes-list-map-keys": [
"uid"
],
"x-kubernetes-list-type": "map"
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
}
},
"type": [
Expand Down
4 changes: 3 additions & 1 deletion master-standalone-strict/resourceclaim.json
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,9 @@
"x-kubernetes-list-map-keys": [
"uid"
],
"x-kubernetes-list-type": "map"
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
}
},
"type": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,9 @@
"x-kubernetes-list-map-keys": [
"uid"
],
"x-kubernetes-list-type": "map"
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
}
},
"type": [
Expand Down
4 changes: 3 additions & 1 deletion master-standalone-strict/resourceclaimlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,9 @@
"x-kubernetes-list-map-keys": [
"uid"
],
"x-kubernetes-list-type": "map"
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
}
},
"type": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,9 @@
"x-kubernetes-list-map-keys": [
"uid"
],
"x-kubernetes-list-type": "map"
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
}
},
"type": "object",
Expand Down
4 changes: 3 additions & 1 deletion master-standalone-strict/resourceclaimstatus.json
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,9 @@
"x-kubernetes-list-map-keys": [
"uid"
],
"x-kubernetes-list-type": "map"
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
}
},
"type": "object",
Expand Down
6 changes: 4 additions & 2 deletions master-standalone/_definitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -8654,7 +8654,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 an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature."
"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)."
},
"message": {
"description": "message is a human-readable message indicating details about why the volume is in this state.",
Expand Down Expand Up @@ -14964,7 +14964,9 @@
"x-kubernetes-list-map-keys": [
"uid"
],
"x-kubernetes-list-type": "map"
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
}
},
"type": "object"
Expand Down
4 changes: 3 additions & 1 deletion master-standalone/resourceclaim-resource-v1alpha2.json
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,9 @@
"x-kubernetes-list-map-keys": [
"uid"
],
"x-kubernetes-list-type": "map"
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
}
},
"type": [
Expand Down
4 changes: 3 additions & 1 deletion master-standalone/resourceclaim.json
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,9 @@
"x-kubernetes-list-map-keys": [
"uid"
],
"x-kubernetes-list-type": "map"
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
}
},
"type": [
Expand Down
4 changes: 3 additions & 1 deletion master-standalone/resourceclaimlist-resource-v1alpha2.json
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,9 @@
"x-kubernetes-list-map-keys": [
"uid"
],
"x-kubernetes-list-type": "map"
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
}
},
"type": [
Expand Down
4 changes: 3 additions & 1 deletion master-standalone/resourceclaimlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,9 @@
"x-kubernetes-list-map-keys": [
"uid"
],
"x-kubernetes-list-type": "map"
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
}
},
"type": [
Expand Down
4 changes: 3 additions & 1 deletion master-standalone/resourceclaimstatus-resource-v1alpha2.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,9 @@
"x-kubernetes-list-map-keys": [
"uid"
],
"x-kubernetes-list-type": "map"
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
}
},
"type": "object",
Expand Down
4 changes: 3 additions & 1 deletion master-standalone/resourceclaimstatus.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,9 @@
"x-kubernetes-list-map-keys": [
"uid"
],
"x-kubernetes-list-type": "map"
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
}
},
"type": "object",
Expand Down
6 changes: 4 additions & 2 deletions master/_definitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -8654,7 +8654,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 an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature."
"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)."
},
"message": {
"description": "message is a human-readable message indicating details about why the volume is in this state.",
Expand Down Expand Up @@ -14964,7 +14964,9 @@
"x-kubernetes-list-map-keys": [
"uid"
],
"x-kubernetes-list-type": "map"
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
}
},
"type": "object"
Expand Down
2 changes: 1 addition & 1 deletion master/persistentvolumestatus-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature."
"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)."
},
"message": {
"description": "message is a human-readable message indicating details about why the volume is in this state.",
Expand Down
2 changes: 1 addition & 1 deletion master/persistentvolumestatus.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature."
"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)."
},
"message": {
"description": "message is a human-readable message indicating details about why the volume is in this state.",
Expand Down
4 changes: 3 additions & 1 deletion master/resourceclaimstatus-resource-v1alpha2.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
"x-kubernetes-list-map-keys": [
"uid"
],
"x-kubernetes-list-type": "map"
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
}
},
"type": "object",
Expand Down
4 changes: 3 additions & 1 deletion master/resourceclaimstatus.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
"x-kubernetes-list-map-keys": [
"uid"
],
"x-kubernetes-list-type": "map"
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
}
},
"type": "object",
Expand Down

0 comments on commit 843e93a

Please sign in to comment.