diff --git a/imageregistry/v1/00_imageregistry.crd.yaml b/imageregistry/v1/00_imageregistry.crd.yaml index dd8f53abede..ce7c09b8dd3 100644 --- a/imageregistry/v1/00_imageregistry.crd.yaml +++ b/imageregistry/v1/00_imageregistry.crd.yaml @@ -1892,8 +1892,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map generations: description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. @@ -1926,6 +1931,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic observedGeneration: description: observedGeneration is the last generation change you've dealt with diff --git a/imageregistry/v1/01_imagepruner.crd.yaml b/imageregistry/v1/01_imagepruner.crd.yaml index ac1fdafda8f..d4d3603b001 100644 --- a/imageregistry/v1/01_imagepruner.crd.yaml +++ b/imageregistry/v1/01_imagepruner.crd.yaml @@ -1192,6 +1192,8 @@ spec: type: string type: type: string + required: + - type type: object type: array observedGeneration: diff --git a/openapi/generated_openapi/zz_generated.openapi.go b/openapi/generated_openapi/zz_generated.openapi.go index 9f65ae90ddf..ab6cd765497 100644 --- a/openapi/generated_openapi/zz_generated.openapi.go +++ b/openapi/generated_openapi/zz_generated.openapi.go @@ -43250,6 +43250,14 @@ func schema_openshift_api_operator_v1_AuthenticationStatus(ref common.ReferenceC }, }, "conditions": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "type", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -43279,6 +43287,11 @@ func schema_openshift_api_operator_v1_AuthenticationStatus(ref common.ReferenceC }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", Type: []string{"array"}, @@ -43598,6 +43611,14 @@ func schema_openshift_api_operator_v1_CSISnapshotControllerStatus(ref common.Ref }, }, "conditions": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "type", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -43627,6 +43648,11 @@ func schema_openshift_api_operator_v1_CSISnapshotControllerStatus(ref common.Ref }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", Type: []string{"array"}, @@ -43873,6 +43899,14 @@ func schema_openshift_api_operator_v1_CloudCredentialStatus(ref common.Reference }, }, "conditions": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "type", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -43902,6 +43936,11 @@ func schema_openshift_api_operator_v1_CloudCredentialStatus(ref common.Reference }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", Type: []string{"array"}, @@ -44106,6 +44145,14 @@ func schema_openshift_api_operator_v1_ClusterCSIDriverStatus(ref common.Referenc }, }, "conditions": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "type", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -44135,6 +44182,11 @@ func schema_openshift_api_operator_v1_ClusterCSIDriverStatus(ref common.Referenc }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", Type: []string{"array"}, @@ -44351,6 +44403,14 @@ func schema_openshift_api_operator_v1_ConfigStatus(ref common.ReferenceCallback) }, }, "conditions": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "type", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -44380,6 +44440,11 @@ func schema_openshift_api_operator_v1_ConfigStatus(ref common.ReferenceCallback) }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", Type: []string{"array"}, @@ -44748,6 +44813,14 @@ func schema_openshift_api_operator_v1_ConsoleStatus(ref common.ReferenceCallback }, }, "conditions": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "type", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -44777,6 +44850,11 @@ func schema_openshift_api_operator_v1_ConsoleStatus(ref common.ReferenceCallback }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", Type: []string{"array"}, @@ -45716,6 +45794,14 @@ func schema_openshift_api_operator_v1_EtcdStatus(ref common.ReferenceCallback) c }, }, "conditions": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "type", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -45745,6 +45831,11 @@ func schema_openshift_api_operator_v1_EtcdStatus(ref common.ReferenceCallback) c }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", Type: []string{"array"}, @@ -45773,6 +45864,14 @@ func schema_openshift_api_operator_v1_EtcdStatus(ref common.ReferenceCallback) c }, }, "nodeStatuses": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "nodeName", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "nodeStatuses track the deployment values and errors across individual nodes", Type: []string{"array"}, @@ -47524,6 +47623,14 @@ func schema_openshift_api_operator_v1_InsightsOperatorStatus(ref common.Referenc }, }, "conditions": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "type", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -47553,6 +47660,11 @@ func schema_openshift_api_operator_v1_InsightsOperatorStatus(ref common.Referenc }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", Type: []string{"array"}, @@ -47819,6 +47931,14 @@ func schema_openshift_api_operator_v1_KubeAPIServerStatus(ref common.ReferenceCa }, }, "conditions": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "type", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -47848,6 +47968,11 @@ func schema_openshift_api_operator_v1_KubeAPIServerStatus(ref common.ReferenceCa }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", Type: []string{"array"}, @@ -47876,6 +48001,14 @@ func schema_openshift_api_operator_v1_KubeAPIServerStatus(ref common.ReferenceCa }, }, "nodeStatuses": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "nodeName", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "nodeStatuses track the deployment values and errors across individual nodes", Type: []string{"array"}, @@ -48109,6 +48242,14 @@ func schema_openshift_api_operator_v1_KubeControllerManagerStatus(ref common.Ref }, }, "conditions": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "type", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -48138,6 +48279,11 @@ func schema_openshift_api_operator_v1_KubeControllerManagerStatus(ref common.Ref }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", Type: []string{"array"}, @@ -48166,6 +48312,14 @@ func schema_openshift_api_operator_v1_KubeControllerManagerStatus(ref common.Ref }, }, "nodeStatuses": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "nodeName", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "nodeStatuses track the deployment values and errors across individual nodes", Type: []string{"array"}, @@ -48377,6 +48531,14 @@ func schema_openshift_api_operator_v1_KubeSchedulerStatus(ref common.ReferenceCa }, }, "conditions": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "type", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -48406,6 +48568,11 @@ func schema_openshift_api_operator_v1_KubeSchedulerStatus(ref common.ReferenceCa }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", Type: []string{"array"}, @@ -48434,6 +48601,14 @@ func schema_openshift_api_operator_v1_KubeSchedulerStatus(ref common.ReferenceCa }, }, "nodeStatuses": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "nodeName", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "nodeStatuses track the deployment values and errors across individual nodes", Type: []string{"array"}, @@ -48621,6 +48796,14 @@ func schema_openshift_api_operator_v1_KubeStorageVersionMigratorStatus(ref commo }, }, "conditions": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "type", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -48650,6 +48833,11 @@ func schema_openshift_api_operator_v1_KubeStorageVersionMigratorStatus(ref commo }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", Type: []string{"array"}, @@ -49025,6 +49213,14 @@ func schema_openshift_api_operator_v1_MachineConfigurationStatus(ref common.Refe }, }, "conditions": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "type", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -49054,6 +49250,11 @@ func schema_openshift_api_operator_v1_MachineConfigurationStatus(ref common.Refe }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", Type: []string{"array"}, @@ -49082,6 +49283,14 @@ func schema_openshift_api_operator_v1_MachineConfigurationStatus(ref common.Refe }, }, "nodeStatuses": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "nodeName", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "nodeStatuses track the deployment values and errors across individual nodes", Type: []string{"array"}, @@ -49335,6 +49544,14 @@ func schema_openshift_api_operator_v1_MyOperatorResourceStatus(ref common.Refere }, }, "conditions": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "type", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -49364,6 +49581,11 @@ func schema_openshift_api_operator_v1_MyOperatorResourceStatus(ref common.Refere }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", Type: []string{"array"}, @@ -49717,6 +49939,14 @@ func schema_openshift_api_operator_v1_NetworkStatus(ref common.ReferenceCallback }, }, "conditions": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "type", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -49746,6 +49976,11 @@ func schema_openshift_api_operator_v1_NetworkStatus(ref common.ReferenceCallback }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", Type: []string{"array"}, @@ -49888,6 +50123,11 @@ func schema_openshift_api_operator_v1_NodeStatus(ref common.ReferenceCallback) c }, }, "lastFailedRevisionErrors": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "lastFailedRevisionErrors is a list of human readable errors during the failed deployment referenced in lastFailedRevision.", Type: []string{"array"}, @@ -50172,6 +50412,14 @@ func schema_openshift_api_operator_v1_OpenShiftAPIServerStatus(ref common.Refere }, }, "conditions": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "type", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -50201,6 +50449,11 @@ func schema_openshift_api_operator_v1_OpenShiftAPIServerStatus(ref common.Refere }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", Type: []string{"array"}, @@ -50395,6 +50648,14 @@ func schema_openshift_api_operator_v1_OpenShiftControllerManagerStatus(ref commo }, }, "conditions": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "type", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -50424,6 +50685,11 @@ func schema_openshift_api_operator_v1_OpenShiftControllerManagerStatus(ref commo }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", Type: []string{"array"}, @@ -50610,6 +50876,14 @@ func schema_openshift_api_operator_v1_OperatorStatus(ref common.ReferenceCallbac }, }, "conditions": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "type", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -50639,6 +50913,11 @@ func schema_openshift_api_operator_v1_OperatorStatus(ref common.ReferenceCallbac }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", Type: []string{"array"}, @@ -51375,6 +51654,14 @@ func schema_openshift_api_operator_v1_ServiceCAStatus(ref common.ReferenceCallba }, }, "conditions": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "type", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -51404,6 +51691,11 @@ func schema_openshift_api_operator_v1_ServiceCAStatus(ref common.ReferenceCallba }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", Type: []string{"array"}, @@ -51591,6 +51883,14 @@ func schema_openshift_api_operator_v1_ServiceCatalogAPIServerStatus(ref common.R }, }, "conditions": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "type", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -51620,6 +51920,11 @@ func schema_openshift_api_operator_v1_ServiceCatalogAPIServerStatus(ref common.R }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", Type: []string{"array"}, @@ -51807,6 +52112,14 @@ func schema_openshift_api_operator_v1_ServiceCatalogControllerManagerStatus(ref }, }, "conditions": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "type", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -51836,6 +52149,11 @@ func schema_openshift_api_operator_v1_ServiceCatalogControllerManagerStatus(ref }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", Type: []string{"array"}, @@ -52145,6 +52463,14 @@ func schema_openshift_api_operator_v1_StaticPodOperatorStatus(ref common.Referen }, }, "conditions": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "type", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -52174,6 +52500,11 @@ func schema_openshift_api_operator_v1_StaticPodOperatorStatus(ref common.Referen }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", Type: []string{"array"}, @@ -52202,6 +52533,14 @@ func schema_openshift_api_operator_v1_StaticPodOperatorStatus(ref common.Referen }, }, "nodeStatuses": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "nodeName", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "nodeStatuses track the deployment values and errors across individual nodes", Type: []string{"array"}, @@ -52422,6 +52761,14 @@ func schema_openshift_api_operator_v1_StorageStatus(ref common.ReferenceCallback }, }, "conditions": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "type", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -52451,6 +52798,11 @@ func schema_openshift_api_operator_v1_StorageStatus(ref common.ReferenceCallback }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", Type: []string{"array"}, @@ -53358,6 +53710,14 @@ func schema_openshift_api_operator_v1alpha1_OLMStatus(ref common.ReferenceCallba }, }, "conditions": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "type", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -53387,6 +53747,11 @@ func schema_openshift_api_operator_v1alpha1_OLMStatus(ref common.ReferenceCallba }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", Type: []string{"array"}, @@ -58929,6 +59294,14 @@ func schema_openshift_api_servicecertsigner_v1alpha1_ServiceCertSignerOperatorCo }, }, "conditions": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "type", + }, + "x-kubernetes-list-type": "map", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -58958,6 +59331,11 @@ func schema_openshift_api_servicecertsigner_v1alpha1_ServiceCertSignerOperatorCo }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, SchemaProps: spec.SchemaProps{ Description: "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", Type: []string{"array"}, diff --git a/openapi/openapi.json b/openapi/openapi.json index 9bd48b343cb..66f8b235060 100644 --- a/openapi/openapi.json +++ b/openapi/openapi.json @@ -25184,7 +25184,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -25192,7 +25196,8 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-type": "atomic" }, "oauthAPIServer": { "description": "OAuthAPIServer holds status specific only to oauth-apiserver", @@ -25404,7 +25409,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -25412,7 +25421,8 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-type": "atomic" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -25569,7 +25579,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -25577,7 +25591,8 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-type": "atomic" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -25711,7 +25726,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -25719,7 +25738,8 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-type": "atomic" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -25862,7 +25882,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -25870,7 +25894,8 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-type": "atomic" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -26099,7 +26124,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -26107,7 +26136,8 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-type": "atomic" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -26669,7 +26699,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, "controlPlaneHardwareSpeed": { "description": "Possible enum values:\n - `\"Slower\"` provides more tolerance for slower hardware and/or higher latency networks. Sets (values subject to change): ETCD_HEARTBEAT_INTERVAL: 5x Standard ETCD_LEADER_ELECTION_TIMEOUT: 2.5x Standard\n - `\"Standard\"` provides the normal tolerances for hardware speed and latency. Currently sets (values subject to change at any time): ETCD_HEARTBEAT_INTERVAL: 100ms ETCD_LEADER_ELECTION_TIMEOUT: 1000ms", @@ -26686,7 +26720,8 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-type": "atomic" }, "latestAvailableRevision": { "description": "latestAvailableRevision is the deploymentID of the most recent deployment", @@ -26703,7 +26738,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.NodeStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "nodeName" + ], + "x-kubernetes-list-type": "map" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -27748,7 +27787,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, "gatherStatus": { "description": "gatherStatus provides basic information about the last Insights data gathering. When omitted, this means no data gathering has taken place yet.", @@ -27761,7 +27804,8 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-type": "atomic" }, "insightsReport": { "description": "insightsReport provides general Insights analysis results. When omitted, this means no data gathering has taken place yet.", @@ -27928,7 +27972,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -27936,7 +27984,8 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-type": "atomic" }, "latestAvailableRevision": { "description": "latestAvailableRevision is the deploymentID of the most recent deployment", @@ -27953,7 +28002,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.NodeStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "nodeName" + ], + "x-kubernetes-list-type": "map" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -28109,7 +28162,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -28117,7 +28174,8 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-type": "atomic" }, "latestAvailableRevision": { "description": "latestAvailableRevision is the deploymentID of the most recent deployment", @@ -28134,7 +28192,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.NodeStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "nodeName" + ], + "x-kubernetes-list-type": "map" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -28276,7 +28338,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -28284,7 +28350,8 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-type": "atomic" }, "latestAvailableRevision": { "description": "latestAvailableRevision is the deploymentID of the most recent deployment", @@ -28301,7 +28368,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.NodeStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "nodeName" + ], + "x-kubernetes-list-type": "map" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -28425,7 +28496,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -28433,7 +28508,8 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-type": "atomic" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -28675,7 +28751,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -28683,7 +28763,8 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-type": "atomic" }, "latestAvailableRevision": { "description": "latestAvailableRevision is the deploymentID of the most recent deployment", @@ -28700,7 +28781,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.NodeStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "nodeName" + ], + "x-kubernetes-list-type": "map" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -28863,7 +28948,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -28871,7 +28960,8 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-type": "atomic" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -29088,7 +29178,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -29096,7 +29190,8 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-type": "atomic" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -29177,7 +29272,8 @@ "items": { "type": "string", "default": "" - } + }, + "x-kubernetes-list-type": "atomic" }, "lastFailedTime": { "description": "lastFailedTime is the time the last failed revision failed the last time.", @@ -29365,7 +29461,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -29373,7 +29473,8 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-type": "atomic" }, "latestAvailableRevision": { "description": "latestAvailableRevision is the latest revision used as suffix of revisioned secrets like encryption-config. A new revision causes a new deployment of pods.", @@ -29502,7 +29603,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -29510,7 +29615,8 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-type": "atomic" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -29633,7 +29739,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -29641,7 +29751,8 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-type": "atomic" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -30079,7 +30190,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -30087,7 +30202,8 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-type": "atomic" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -30210,7 +30326,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -30218,7 +30338,8 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-type": "atomic" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -30342,7 +30463,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -30350,7 +30475,8 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-type": "atomic" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -30538,7 +30664,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -30546,7 +30676,8 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-type": "atomic" }, "latestAvailableRevision": { "description": "latestAvailableRevision is the deploymentID of the most recent deployment", @@ -30563,7 +30694,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.NodeStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "nodeName" + ], + "x-kubernetes-list-type": "map" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -30707,7 +30842,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -30715,7 +30854,8 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-type": "atomic" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -31281,7 +31421,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -31289,7 +31433,8 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-type": "atomic" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -34660,7 +34805,11 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -34668,7 +34817,8 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-type": "atomic" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", diff --git a/operator/v1/0000_10_config-operator_01_config.crd.yaml b/operator/v1/0000_10_config-operator_01_config.crd.yaml index 4f514f9034f..09584dbddbf 100644 --- a/operator/v1/0000_10_config-operator_01_config.crd.yaml +++ b/operator/v1/0000_10_config-operator_01_config.crd.yaml @@ -114,8 +114,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map generations: description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. @@ -148,6 +153,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic observedGeneration: description: observedGeneration is the last generation change you've dealt with diff --git a/operator/v1/0000_12_etcd-operator_01_config-TechPreviewNoUpgrade.crd.yaml b/operator/v1/0000_12_etcd-operator_01_config-TechPreviewNoUpgrade.crd.yaml index 3d3edffc287..aa0f763d438 100644 --- a/operator/v1/0000_12_etcd-operator_01_config-TechPreviewNoUpgrade.crd.yaml +++ b/operator/v1/0000_12_etcd-operator_01_config-TechPreviewNoUpgrade.crd.yaml @@ -140,8 +140,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map controlPlaneHardwareSpeed: description: ControlPlaneHardwareSpeed declares valid hardware speed tolerance levels @@ -182,6 +187,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic latestAvailableRevision: description: latestAvailableRevision is the deploymentID of the most recent deployment @@ -222,6 +228,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic lastFailedTime: description: lastFailedTime is the time the last failed revision failed the last time. @@ -239,8 +246,13 @@ spec: we're trying to apply format: int32 type: integer + required: + - nodeName type: object type: array + x-kubernetes-list-map-keys: + - nodeName + x-kubernetes-list-type: map observedGeneration: description: observedGeneration is the last generation change you've dealt with diff --git a/operator/v1/0000_12_etcd-operator_01_config.crd.yaml b/operator/v1/0000_12_etcd-operator_01_config.crd.yaml index 899ddcc0ae3..10b510cbcb3 100644 --- a/operator/v1/0000_12_etcd-operator_01_config.crd.yaml +++ b/operator/v1/0000_12_etcd-operator_01_config.crd.yaml @@ -128,8 +128,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map controlPlaneHardwareSpeed: description: ControlPlaneHardwareSpeed declares valid hardware speed tolerance levels @@ -170,6 +175,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic latestAvailableRevision: description: latestAvailableRevision is the deploymentID of the most recent deployment @@ -210,6 +216,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic lastFailedTime: description: lastFailedTime is the time the last failed revision failed the last time. @@ -227,8 +234,13 @@ spec: we're trying to apply format: int32 type: integer + required: + - nodeName type: object type: array + x-kubernetes-list-map-keys: + - nodeName + x-kubernetes-list-type: map observedGeneration: description: observedGeneration is the last generation change you've dealt with diff --git a/operator/v1/0000_20_kube-apiserver-operator_01_config.crd.yaml b/operator/v1/0000_20_kube-apiserver-operator_01_config.crd.yaml index f8824e90f8d..fc95eccfd2d 100644 --- a/operator/v1/0000_20_kube-apiserver-operator_01_config.crd.yaml +++ b/operator/v1/0000_20_kube-apiserver-operator_01_config.crd.yaml @@ -129,8 +129,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map generations: description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. @@ -163,6 +168,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic latestAvailableRevision: description: latestAvailableRevision is the deploymentID of the most recent deployment @@ -203,6 +209,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic lastFailedTime: description: lastFailedTime is the time the last failed revision failed the last time. @@ -220,8 +227,13 @@ spec: we're trying to apply format: int32 type: integer + required: + - nodeName type: object type: array + x-kubernetes-list-map-keys: + - nodeName + x-kubernetes-list-type: map observedGeneration: description: observedGeneration is the last generation change you've dealt with diff --git a/operator/v1/0000_25_kube-controller-manager-operator_01_config.crd.yaml b/operator/v1/0000_25_kube-controller-manager-operator_01_config.crd.yaml index ffcd76e3f61..3706ec85d56 100644 --- a/operator/v1/0000_25_kube-controller-manager-operator_01_config.crd.yaml +++ b/operator/v1/0000_25_kube-controller-manager-operator_01_config.crd.yaml @@ -141,8 +141,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map generations: description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. @@ -175,6 +180,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic latestAvailableRevision: description: latestAvailableRevision is the deploymentID of the most recent deployment @@ -215,6 +221,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic lastFailedTime: description: lastFailedTime is the time the last failed revision failed the last time. @@ -232,8 +239,13 @@ spec: we're trying to apply format: int32 type: integer + required: + - nodeName type: object type: array + x-kubernetes-list-map-keys: + - nodeName + x-kubernetes-list-type: map observedGeneration: description: observedGeneration is the last generation change you've dealt with diff --git a/operator/v1/0000_25_kube-scheduler-operator_01_config.crd.yaml b/operator/v1/0000_25_kube-scheduler-operator_01_config.crd.yaml index 9d209dcf8b0..77e99b32484 100644 --- a/operator/v1/0000_25_kube-scheduler-operator_01_config.crd.yaml +++ b/operator/v1/0000_25_kube-scheduler-operator_01_config.crd.yaml @@ -131,8 +131,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map generations: description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. @@ -165,6 +170,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic latestAvailableRevision: description: latestAvailableRevision is the deploymentID of the most recent deployment @@ -205,6 +211,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic lastFailedTime: description: lastFailedTime is the time the last failed revision failed the last time. @@ -222,8 +229,13 @@ spec: we're trying to apply format: int32 type: integer + required: + - nodeName type: object type: array + x-kubernetes-list-map-keys: + - nodeName + x-kubernetes-list-type: map observedGeneration: description: observedGeneration is the last generation change you've dealt with diff --git a/operator/v1/0000_30_openshift-apiserver-operator_01_config.crd.yaml b/operator/v1/0000_30_openshift-apiserver-operator_01_config.crd.yaml index 13675f8d111..9ca71df0d1f 100644 --- a/operator/v1/0000_30_openshift-apiserver-operator_01_config.crd.yaml +++ b/operator/v1/0000_30_openshift-apiserver-operator_01_config.crd.yaml @@ -112,8 +112,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map generations: description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. @@ -146,6 +151,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic latestAvailableRevision: description: latestAvailableRevision is the latest revision used as suffix of revisioned secrets like encryption-config. A new revision diff --git a/operator/v1/0000_40_cloud-credential-operator_00_config.crd.yaml b/operator/v1/0000_40_cloud-credential-operator_00_config.crd.yaml index aa6fda11ba0..a8aab913441 100644 --- a/operator/v1/0000_40_cloud-credential-operator_00_config.crd.yaml +++ b/operator/v1/0000_40_cloud-credential-operator_00_config.crd.yaml @@ -128,8 +128,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map generations: description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. @@ -162,6 +167,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic observedGeneration: description: observedGeneration is the last generation change you've dealt with diff --git a/operator/v1/0000_40_kube-storage-version-migrator-operator_00_config.crd.yaml b/operator/v1/0000_40_kube-storage-version-migrator-operator_00_config.crd.yaml index 26aa2c516dc..8adac226547 100644 --- a/operator/v1/0000_40_kube-storage-version-migrator-operator_00_config.crd.yaml +++ b/operator/v1/0000_40_kube-storage-version-migrator-operator_00_config.crd.yaml @@ -108,8 +108,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map generations: description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. @@ -142,6 +147,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic observedGeneration: description: observedGeneration is the last generation change you've dealt with diff --git a/operator/v1/0000_50_cluster-authentication-operator_01_config.crd.yaml b/operator/v1/0000_50_cluster-authentication-operator_01_config.crd.yaml index d40670a0599..a7accb80a53 100644 --- a/operator/v1/0000_50_cluster-authentication-operator_01_config.crd.yaml +++ b/operator/v1/0000_50_cluster-authentication-operator_01_config.crd.yaml @@ -105,8 +105,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map generations: description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. @@ -139,6 +144,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic oauthAPIServer: description: OAuthAPIServer holds status specific only to oauth-apiserver properties: diff --git a/operator/v1/0000_50_cluster-openshift-controller-manager-operator_02_config.crd.yaml b/operator/v1/0000_50_cluster-openshift-controller-manager-operator_02_config.crd.yaml index 08c53a233da..f2be2753beb 100644 --- a/operator/v1/0000_50_cluster-openshift-controller-manager-operator_02_config.crd.yaml +++ b/operator/v1/0000_50_cluster-openshift-controller-manager-operator_02_config.crd.yaml @@ -109,8 +109,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map generations: description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. @@ -143,6 +148,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic observedGeneration: description: observedGeneration is the last generation change you've dealt with diff --git a/operator/v1/0000_50_cluster_storage_operator_01_crd.yaml b/operator/v1/0000_50_cluster_storage_operator_01_crd.yaml index 608409b6886..b2a234affc0 100644 --- a/operator/v1/0000_50_cluster_storage_operator_01_crd.yaml +++ b/operator/v1/0000_50_cluster_storage_operator_01_crd.yaml @@ -125,8 +125,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map generations: description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. @@ -159,6 +164,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic observedGeneration: description: observedGeneration is the last generation change you've dealt with diff --git a/operator/v1/0000_50_ingress-operator_00-ingresscontroller.crd.yaml b/operator/v1/0000_50_ingress-operator_00-ingresscontroller.crd.yaml index 8e51b2d8bc5..6763336f835 100644 --- a/operator/v1/0000_50_ingress-operator_00-ingresscontroller.crd.yaml +++ b/operator/v1/0000_50_ingress-operator_00-ingresscontroller.crd.yaml @@ -1752,6 +1752,8 @@ spec: type: string type: type: string + required: + - type type: object type: array domain: diff --git a/operator/v1/0000_50_insights-operator_00-insightsoperator.crd.yaml b/operator/v1/0000_50_insights-operator_00-insightsoperator.crd.yaml index aa6612045f6..b91c384ab37 100644 --- a/operator/v1/0000_50_insights-operator_00-insightsoperator.crd.yaml +++ b/operator/v1/0000_50_insights-operator_00-insightsoperator.crd.yaml @@ -111,8 +111,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map gatherStatus: description: gatherStatus provides basic information about the last Insights data gathering. When omitted, this means no data gathering @@ -266,6 +271,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic insightsReport: description: insightsReport provides general Insights analysis results. When omitted, this means no data gathering has taken place yet. diff --git a/operator/v1/0000_50_service-ca-operator_02_crd.yaml b/operator/v1/0000_50_service-ca-operator_02_crd.yaml index 32f24d23aa8..57a33771c51 100644 --- a/operator/v1/0000_50_service-ca-operator_02_crd.yaml +++ b/operator/v1/0000_50_service-ca-operator_02_crd.yaml @@ -110,8 +110,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map generations: description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. @@ -144,6 +149,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic observedGeneration: description: observedGeneration is the last generation change you've dealt with diff --git a/operator/v1/0000_70_cluster-network-operator_01-CustomNoUpgrade.crd.yaml b/operator/v1/0000_70_cluster-network-operator_01-CustomNoUpgrade.crd.yaml index bd518eca551..ea519ee72cb 100644 --- a/operator/v1/0000_70_cluster-network-operator_01-CustomNoUpgrade.crd.yaml +++ b/operator/v1/0000_70_cluster-network-operator_01-CustomNoUpgrade.crd.yaml @@ -837,8 +837,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map generations: description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. @@ -871,6 +876,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic observedGeneration: description: observedGeneration is the last generation change you've dealt with diff --git a/operator/v1/0000_70_cluster-network-operator_01-Default.crd.yaml b/operator/v1/0000_70_cluster-network-operator_01-Default.crd.yaml index f9c413638da..8a14939ecac 100644 --- a/operator/v1/0000_70_cluster-network-operator_01-Default.crd.yaml +++ b/operator/v1/0000_70_cluster-network-operator_01-Default.crd.yaml @@ -832,8 +832,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map generations: description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. @@ -866,6 +871,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic observedGeneration: description: observedGeneration is the last generation change you've dealt with diff --git a/operator/v1/0000_70_cluster-network-operator_01-TechPreviewNoUpgrade.crd.yaml b/operator/v1/0000_70_cluster-network-operator_01-TechPreviewNoUpgrade.crd.yaml index d58c9f12530..b271e908426 100644 --- a/operator/v1/0000_70_cluster-network-operator_01-TechPreviewNoUpgrade.crd.yaml +++ b/operator/v1/0000_70_cluster-network-operator_01-TechPreviewNoUpgrade.crd.yaml @@ -837,8 +837,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map generations: description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. @@ -871,6 +876,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic observedGeneration: description: observedGeneration is the last generation change you've dealt with diff --git a/operator/v1/0000_70_dns-operator_00.crd.yaml b/operator/v1/0000_70_dns-operator_00.crd.yaml index 94797ad1656..ba944cc6217 100644 --- a/operator/v1/0000_70_dns-operator_00.crd.yaml +++ b/operator/v1/0000_70_dns-operator_00.crd.yaml @@ -562,6 +562,8 @@ spec: type: string type: type: string + required: + - type type: object type: array required: diff --git a/operator/v1/0000_80_csi_snapshot_controller_operator_01_crd.yaml b/operator/v1/0000_80_csi_snapshot_controller_operator_01_crd.yaml index b6d9a9003b1..574d3487686 100644 --- a/operator/v1/0000_80_csi_snapshot_controller_operator_01_crd.yaml +++ b/operator/v1/0000_80_csi_snapshot_controller_operator_01_crd.yaml @@ -110,8 +110,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map generations: description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. @@ -144,6 +149,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic observedGeneration: description: observedGeneration is the last generation change you've dealt with diff --git a/operator/v1/0000_80_machine-config-operator_01_config.CustomNoUpgrade.crd.yaml b/operator/v1/0000_80_machine-config-operator_01_config.CustomNoUpgrade.crd.yaml index 23245866b4d..3b8b7f366da 100644 --- a/operator/v1/0000_80_machine-config-operator_01_config.CustomNoUpgrade.crd.yaml +++ b/operator/v1/0000_80_machine-config-operator_01_config.CustomNoUpgrade.crd.yaml @@ -265,8 +265,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map generations: description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. @@ -299,6 +304,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic latestAvailableRevision: description: latestAvailableRevision is the deploymentID of the most recent deployment @@ -339,6 +345,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic lastFailedTime: description: lastFailedTime is the time the last failed revision failed the last time. @@ -356,8 +363,13 @@ spec: we're trying to apply format: int32 type: integer + required: + - nodeName type: object type: array + x-kubernetes-list-map-keys: + - nodeName + x-kubernetes-list-type: map observedGeneration: description: observedGeneration is the last generation change you've dealt with diff --git a/operator/v1/0000_80_machine-config-operator_01_config.TechPreviewNoUpgrade.crd.yaml b/operator/v1/0000_80_machine-config-operator_01_config.TechPreviewNoUpgrade.crd.yaml index 1257ac7ee0f..77ae9ba5127 100644 --- a/operator/v1/0000_80_machine-config-operator_01_config.TechPreviewNoUpgrade.crd.yaml +++ b/operator/v1/0000_80_machine-config-operator_01_config.TechPreviewNoUpgrade.crd.yaml @@ -265,8 +265,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map generations: description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. @@ -299,6 +304,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic latestAvailableRevision: description: latestAvailableRevision is the deploymentID of the most recent deployment @@ -339,6 +345,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic lastFailedTime: description: lastFailedTime is the time the last failed revision failed the last time. @@ -356,8 +363,13 @@ spec: we're trying to apply format: int32 type: integer + required: + - nodeName type: object type: array + x-kubernetes-list-map-keys: + - nodeName + x-kubernetes-list-type: map observedGeneration: description: observedGeneration is the last generation change you've dealt with diff --git a/operator/v1/0000_80_machine-config-operator_01_config.crd.yaml b/operator/v1/0000_80_machine-config-operator_01_config.crd.yaml index 299c776d8dc..05d7b9e5c4f 100644 --- a/operator/v1/0000_80_machine-config-operator_01_config.crd.yaml +++ b/operator/v1/0000_80_machine-config-operator_01_config.crd.yaml @@ -130,8 +130,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map generations: description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. @@ -164,6 +169,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic latestAvailableRevision: description: latestAvailableRevision is the deploymentID of the most recent deployment @@ -204,6 +210,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic lastFailedTime: description: lastFailedTime is the time the last failed revision failed the last time. @@ -221,8 +228,13 @@ spec: we're trying to apply format: int32 type: integer + required: + - nodeName type: object type: array + x-kubernetes-list-map-keys: + - nodeName + x-kubernetes-list-type: map observedGeneration: description: observedGeneration is the last generation change you've dealt with diff --git a/operator/v1/0000_90_cluster_csi_driver_01_config.crd.yaml b/operator/v1/0000_90_cluster_csi_driver_01_config.crd.yaml index 6822e4b83e5..dc4313bdfdc 100644 --- a/operator/v1/0000_90_cluster_csi_driver_01_config.crd.yaml +++ b/operator/v1/0000_90_cluster_csi_driver_01_config.crd.yaml @@ -310,8 +310,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map generations: description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. @@ -344,6 +349,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic observedGeneration: description: observedGeneration is the last generation change you've dealt with diff --git a/operator/v1/00_console-operator.crd.yaml b/operator/v1/00_console-operator.crd.yaml index b61baf16e14..b3a88498b5f 100644 --- a/operator/v1/00_console-operator.crd.yaml +++ b/operator/v1/00_console-operator.crd.yaml @@ -579,8 +579,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map generations: description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. @@ -613,6 +618,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic observedGeneration: description: observedGeneration is the last generation change you've dealt with diff --git a/operator/v1/types.go b/operator/v1/types.go index 40037e1fe91..19bc5a359b9 100644 --- a/operator/v1/types.go +++ b/operator/v1/types.go @@ -115,6 +115,8 @@ type OperatorStatus struct { ObservedGeneration int64 `json:"observedGeneration,omitempty"` // conditions is a list of conditions and their status + // +listType=map + // +listMapKey=type // +optional Conditions []OperatorCondition `json:"conditions,omitempty"` @@ -126,6 +128,7 @@ type OperatorStatus struct { ReadyReplicas int32 `json:"readyReplicas"` // generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. + // +listType=atomic // +optional Generations []GenerationStatus `json:"generations,omitempty"` } @@ -162,6 +165,7 @@ var ( // OperatorCondition is just the standard condition fields. type OperatorCondition struct { + // +kubebuilder:validation:Required Type string `json:"type"` Status ConditionStatus `json:"status"` LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` @@ -208,6 +212,8 @@ type StaticPodOperatorStatus struct { LatestAvailableRevisionReason string `json:"latestAvailableRevisionReason,omitempty"` // nodeStatuses track the deployment values and errors across individual nodes + // +listType=map + // +listMapKey=nodeName // +optional NodeStatuses []NodeStatus `json:"nodeStatuses,omitempty"` } @@ -215,6 +221,7 @@ type StaticPodOperatorStatus struct { // NodeStatus provides information about the current state of a particular node managed by this operator. type NodeStatus struct { // nodeName is the name of the node + // +kubebuilder:validation:Required NodeName string `json:"nodeName"` // currentRevision is the generation of the most recently successful deployment @@ -233,5 +240,6 @@ type NodeStatus struct { // lastFallbackCount is how often a fallback to a previous revision happened. LastFallbackCount int `json:"lastFallbackCount,omitempty"` // lastFailedRevisionErrors is a list of human readable errors during the failed deployment referenced in lastFailedRevision. + // +listType=atomic LastFailedRevisionErrors []string `json:"lastFailedRevisionErrors,omitempty"` } diff --git a/operator/v1alpha1/0000_10_config-operator_01_olm-CustomNoUpgrade.crd.yaml b/operator/v1alpha1/0000_10_config-operator_01_olm-CustomNoUpgrade.crd.yaml index c984c4d73fc..12210c487c9 100644 --- a/operator/v1alpha1/0000_10_config-operator_01_olm-CustomNoUpgrade.crd.yaml +++ b/operator/v1alpha1/0000_10_config-operator_01_olm-CustomNoUpgrade.crd.yaml @@ -112,8 +112,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map generations: description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. @@ -146,6 +151,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic observedGeneration: description: observedGeneration is the last generation change you've dealt with diff --git a/operator/v1alpha1/0000_10_config-operator_01_olm-TechPreviewNoUpgrade.crd.yaml b/operator/v1alpha1/0000_10_config-operator_01_olm-TechPreviewNoUpgrade.crd.yaml index 5cff3708440..deccc298145 100644 --- a/operator/v1alpha1/0000_10_config-operator_01_olm-TechPreviewNoUpgrade.crd.yaml +++ b/operator/v1alpha1/0000_10_config-operator_01_olm-TechPreviewNoUpgrade.crd.yaml @@ -112,8 +112,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map generations: description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. @@ -146,6 +151,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic observedGeneration: description: observedGeneration is the last generation change you've dealt with diff --git a/payload-manifests/crds/0000_10_config-operator_01_config.crd.yaml b/payload-manifests/crds/0000_10_config-operator_01_config.crd.yaml index 4f514f9034f..09584dbddbf 100644 --- a/payload-manifests/crds/0000_10_config-operator_01_config.crd.yaml +++ b/payload-manifests/crds/0000_10_config-operator_01_config.crd.yaml @@ -114,8 +114,13 @@ spec: type: string type: type: string + required: + - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map generations: description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. @@ -148,6 +153,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic observedGeneration: description: observedGeneration is the last generation change you've dealt with