From aa760f998f9d2b07f002ba801ae63a4532d13be8 Mon Sep 17 00:00:00 2001 From: Yann Hamon Date: Thu, 25 Jan 2024 10:33:53 +0000 Subject: [PATCH] Adding new schemas --- master-local/_definitions.json | 6 ++++-- master-local/persistentvolumestatus-v1.json | 2 +- master-local/persistentvolumestatus.json | 2 +- master-local/resourceclaimstatus-resource-v1alpha2.json | 4 +++- master-local/resourceclaimstatus.json | 4 +++- master-standalone-strict/_definitions.json | 6 ++++-- .../resourceclaim-resource-v1alpha2.json | 4 +++- master-standalone-strict/resourceclaim.json | 4 +++- .../resourceclaimlist-resource-v1alpha2.json | 4 +++- master-standalone-strict/resourceclaimlist.json | 4 +++- .../resourceclaimstatus-resource-v1alpha2.json | 4 +++- master-standalone-strict/resourceclaimstatus.json | 4 +++- master-standalone/_definitions.json | 6 ++++-- master-standalone/resourceclaim-resource-v1alpha2.json | 4 +++- master-standalone/resourceclaim.json | 4 +++- master-standalone/resourceclaimlist-resource-v1alpha2.json | 4 +++- master-standalone/resourceclaimlist.json | 4 +++- .../resourceclaimstatus-resource-v1alpha2.json | 4 +++- master-standalone/resourceclaimstatus.json | 4 +++- master/_definitions.json | 6 ++++-- master/persistentvolumestatus-v1.json | 2 +- master/persistentvolumestatus.json | 2 +- master/resourceclaimstatus-resource-v1alpha2.json | 4 +++- master/resourceclaimstatus.json | 4 +++- 24 files changed, 68 insertions(+), 28 deletions(-) diff --git a/master-local/_definitions.json b/master-local/_definitions.json index d230c6306b..62db891ce5 100644 --- a/master-local/_definitions.json +++ b/master-local/_definitions.json @@ -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.", @@ -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" diff --git a/master-local/persistentvolumestatus-v1.json b/master-local/persistentvolumestatus-v1.json index 3fa08624da..4fbe64d497 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 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.", diff --git a/master-local/persistentvolumestatus.json b/master-local/persistentvolumestatus.json index 3fa08624da..4fbe64d497 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 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.", diff --git a/master-local/resourceclaimstatus-resource-v1alpha2.json b/master-local/resourceclaimstatus-resource-v1alpha2.json index c8ddd61c77..938607d0e0 100644 --- a/master-local/resourceclaimstatus-resource-v1alpha2.json +++ b/master-local/resourceclaimstatus-resource-v1alpha2.json @@ -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", diff --git a/master-local/resourceclaimstatus.json b/master-local/resourceclaimstatus.json index c8ddd61c77..938607d0e0 100644 --- a/master-local/resourceclaimstatus.json +++ b/master-local/resourceclaimstatus.json @@ -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", diff --git a/master-standalone-strict/_definitions.json b/master-standalone-strict/_definitions.json index 8bb0af6ea5..c583237843 100644 --- a/master-standalone-strict/_definitions.json +++ b/master-standalone-strict/_definitions.json @@ -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.", @@ -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", diff --git a/master-standalone-strict/resourceclaim-resource-v1alpha2.json b/master-standalone-strict/resourceclaim-resource-v1alpha2.json index 05b37eb4ca..284906a882 100644 --- a/master-standalone-strict/resourceclaim-resource-v1alpha2.json +++ b/master-standalone-strict/resourceclaim-resource-v1alpha2.json @@ -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": [ diff --git a/master-standalone-strict/resourceclaim.json b/master-standalone-strict/resourceclaim.json index f109b62c94..d13f7b3e31 100644 --- a/master-standalone-strict/resourceclaim.json +++ b/master-standalone-strict/resourceclaim.json @@ -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": [ diff --git a/master-standalone-strict/resourceclaimlist-resource-v1alpha2.json b/master-standalone-strict/resourceclaimlist-resource-v1alpha2.json index ae1f792354..0c525e2321 100644 --- a/master-standalone-strict/resourceclaimlist-resource-v1alpha2.json +++ b/master-standalone-strict/resourceclaimlist-resource-v1alpha2.json @@ -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": [ diff --git a/master-standalone-strict/resourceclaimlist.json b/master-standalone-strict/resourceclaimlist.json index 0082d956a3..6a64fcf250 100644 --- a/master-standalone-strict/resourceclaimlist.json +++ b/master-standalone-strict/resourceclaimlist.json @@ -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": [ diff --git a/master-standalone-strict/resourceclaimstatus-resource-v1alpha2.json b/master-standalone-strict/resourceclaimstatus-resource-v1alpha2.json index 0f9dd24b10..7bf24da913 100644 --- a/master-standalone-strict/resourceclaimstatus-resource-v1alpha2.json +++ b/master-standalone-strict/resourceclaimstatus-resource-v1alpha2.json @@ -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", diff --git a/master-standalone-strict/resourceclaimstatus.json b/master-standalone-strict/resourceclaimstatus.json index 0f9dd24b10..7bf24da913 100644 --- a/master-standalone-strict/resourceclaimstatus.json +++ b/master-standalone-strict/resourceclaimstatus.json @@ -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", diff --git a/master-standalone/_definitions.json b/master-standalone/_definitions.json index d230c6306b..62db891ce5 100644 --- a/master-standalone/_definitions.json +++ b/master-standalone/_definitions.json @@ -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.", @@ -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" diff --git a/master-standalone/resourceclaim-resource-v1alpha2.json b/master-standalone/resourceclaim-resource-v1alpha2.json index 2302c23a61..e8c56af158 100644 --- a/master-standalone/resourceclaim-resource-v1alpha2.json +++ b/master-standalone/resourceclaim-resource-v1alpha2.json @@ -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": [ diff --git a/master-standalone/resourceclaim.json b/master-standalone/resourceclaim.json index ea56b68258..9b1ef870f7 100644 --- a/master-standalone/resourceclaim.json +++ b/master-standalone/resourceclaim.json @@ -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": [ diff --git a/master-standalone/resourceclaimlist-resource-v1alpha2.json b/master-standalone/resourceclaimlist-resource-v1alpha2.json index 696c271b0d..9072a1e5f2 100644 --- a/master-standalone/resourceclaimlist-resource-v1alpha2.json +++ b/master-standalone/resourceclaimlist-resource-v1alpha2.json @@ -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": [ diff --git a/master-standalone/resourceclaimlist.json b/master-standalone/resourceclaimlist.json index 91e6956bf1..ccea40a459 100644 --- a/master-standalone/resourceclaimlist.json +++ b/master-standalone/resourceclaimlist.json @@ -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": [ diff --git a/master-standalone/resourceclaimstatus-resource-v1alpha2.json b/master-standalone/resourceclaimstatus-resource-v1alpha2.json index 983c70d8fb..d080e14e04 100644 --- a/master-standalone/resourceclaimstatus-resource-v1alpha2.json +++ b/master-standalone/resourceclaimstatus-resource-v1alpha2.json @@ -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", diff --git a/master-standalone/resourceclaimstatus.json b/master-standalone/resourceclaimstatus.json index 983c70d8fb..d080e14e04 100644 --- a/master-standalone/resourceclaimstatus.json +++ b/master-standalone/resourceclaimstatus.json @@ -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", diff --git a/master/_definitions.json b/master/_definitions.json index d230c6306b..62db891ce5 100644 --- a/master/_definitions.json +++ b/master/_definitions.json @@ -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.", @@ -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" diff --git a/master/persistentvolumestatus-v1.json b/master/persistentvolumestatus-v1.json index 586201bf6e..9295b93d6e 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 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.", diff --git a/master/persistentvolumestatus.json b/master/persistentvolumestatus.json index 586201bf6e..9295b93d6e 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 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.", diff --git a/master/resourceclaimstatus-resource-v1alpha2.json b/master/resourceclaimstatus-resource-v1alpha2.json index bf4238de9a..eb12b5660e 100644 --- a/master/resourceclaimstatus-resource-v1alpha2.json +++ b/master/resourceclaimstatus-resource-v1alpha2.json @@ -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", diff --git a/master/resourceclaimstatus.json b/master/resourceclaimstatus.json index bf4238de9a..eb12b5660e 100644 --- a/master/resourceclaimstatus.json +++ b/master/resourceclaimstatus.json @@ -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",