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 34a39feda76..a9668e8ea4e 100644 --- a/openapi/generated_openapi/zz_generated.openapi.go +++ b/openapi/generated_openapi/zz_generated.openapi.go @@ -43249,6 +43249,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"}, @@ -43278,6 +43286,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"}, @@ -43597,6 +43610,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"}, @@ -43626,6 +43647,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"}, @@ -43872,6 +43898,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"}, @@ -43901,6 +43935,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"}, @@ -44105,6 +44144,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"}, @@ -44134,6 +44181,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"}, @@ -44350,6 +44402,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"}, @@ -44379,6 +44439,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"}, @@ -44747,6 +44812,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"}, @@ -44776,6 +44849,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"}, @@ -45715,6 +45793,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"}, @@ -45744,6 +45830,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"}, @@ -45772,6 +45863,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"}, @@ -47523,6 +47622,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"}, @@ -47552,6 +47659,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"}, @@ -47818,6 +47930,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"}, @@ -47847,6 +47967,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"}, @@ -47875,6 +48000,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"}, @@ -48108,6 +48241,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"}, @@ -48137,6 +48278,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"}, @@ -48165,6 +48311,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"}, @@ -48376,6 +48530,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"}, @@ -48405,6 +48567,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"}, @@ -48433,6 +48600,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"}, @@ -48620,6 +48795,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"}, @@ -48649,6 +48832,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"}, @@ -49024,6 +49212,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"}, @@ -49053,6 +49249,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"}, @@ -49081,6 +49282,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"}, @@ -49334,6 +49543,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"}, @@ -49363,6 +49580,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"}, @@ -49716,6 +49938,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"}, @@ -49745,6 +49975,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"}, @@ -49887,6 +50122,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"}, @@ -50171,6 +50411,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"}, @@ -50200,6 +50448,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"}, @@ -50394,6 +50647,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"}, @@ -50423,6 +50684,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"}, @@ -50609,6 +50875,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"}, @@ -50638,6 +50912,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"}, @@ -51353,6 +51632,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"}, @@ -51382,6 +51669,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"}, @@ -51569,6 +51861,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"}, @@ -51598,6 +51898,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"}, @@ -51785,6 +52090,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"}, @@ -51814,6 +52127,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"}, @@ -52123,6 +52441,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"}, @@ -52152,6 +52478,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"}, @@ -52180,6 +52511,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"}, @@ -52400,6 +52739,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"}, @@ -52429,6 +52776,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"}, @@ -53336,6 +53688,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"}, @@ -53365,6 +53725,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"}, @@ -58907,6 +59272,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"}, @@ -58936,6 +59309,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 b143899f7e7..809d794fb50 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", @@ -30069,7 +30180,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.", @@ -30077,7 +30192,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", @@ -30200,7 +30316,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.", @@ -30208,7 +30328,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", @@ -30332,7 +30453,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.", @@ -30340,7 +30465,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", @@ -30528,7 +30654,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.", @@ -30536,7 +30666,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", @@ -30553,7 +30684,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", @@ -30697,7 +30832,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.", @@ -30705,7 +30844,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", @@ -31271,7 +31411,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.", @@ -31279,7 +31423,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", @@ -34650,7 +34795,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.", @@ -34658,7 +34807,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 133f04aac55..132be4e243c 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 @@ -252,8 +252,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. @@ -286,6 +291,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic latestAvailableRevision: description: latestAvailableRevision is the deploymentID of the most recent deployment @@ -326,6 +332,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. @@ -343,8 +350,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 8cb9ea337d2..6b3b782afe3 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 @@ -252,8 +252,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. @@ -286,6 +291,7 @@ spec: type: string type: object type: array + x-kubernetes-list-type: atomic latestAvailableRevision: description: latestAvailableRevision is the deploymentID of the most recent deployment @@ -326,6 +332,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. @@ -343,8 +350,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