diff --git a/imageregistry/v1/00_imageregistry.crd.yaml b/imageregistry/v1/00_imageregistry.crd.yaml index e2406e37cb3..63820807c0a 100644 --- a/imageregistry/v1/00_imageregistry.crd.yaml +++ b/imageregistry/v1/00_imageregistry.crd.yaml @@ -991,24 +991,36 @@ spec: description: OperatorCondition is just the standard condition fields. properties: lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. format: date-time type: string message: + description: message is a human readable message indicating details about the transition. This may be an empty string. type: string reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. type: string status: + description: status of the condition, one of True, False, Unknown. type: string type: + default: "" + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. 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. items: description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. properties: group: + default: "" description: group is the group of the thing you're tracking type: string hash: @@ -1019,16 +1031,30 @@ spec: format: int64 type: integer name: + default: "" description: name is the name of the thing you're tracking type: string namespace: + default: "" description: namespace is where the thing you're tracking is type: string resource: + default: "" description: resource is the resource type of the thing you're tracking type: string + required: + - group + - name + - namespace + - resource type: object type: array + x-kubernetes-list-map-keys: + - group + - resource + - namespace + - name + x-kubernetes-list-type: map observedGeneration: description: observedGeneration is the last generation change you've dealt with format: int64 diff --git a/imageregistry/v1/01_imagepruner.crd.yaml b/imageregistry/v1/01_imagepruner.crd.yaml index cc1dc208ff6..231441cc1f4 100644 --- a/imageregistry/v1/01_imagepruner.crd.yaml +++ b/imageregistry/v1/01_imagepruner.crd.yaml @@ -622,18 +622,26 @@ spec: items: description: OperatorCondition is just the standard condition fields. type: object + required: + - type properties: lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. type: string format: date-time message: + description: message is a human readable message indicating details about the transition. This may be an empty string. type: string reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. type: string status: + description: status of the condition, one of True, False, Unknown. type: string type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. type: string + default: "" observedGeneration: description: observedGeneration is the last generation change that has been applied. type: integer diff --git a/openapi/generated_openapi/zz_generated.openapi.go b/openapi/generated_openapi/zz_generated.openapi.go index 1cf0752e259..aeb080d5411 100644 --- a/openapi/generated_openapi/zz_generated.openapi.go +++ b/openapi/generated_openapi/zz_generated.openapi.go @@ -40395,6 +40395,16 @@ 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", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -40424,6 +40434,19 @@ func schema_openshift_api_operator_v1_AuthenticationStatus(ref common.ReferenceC }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "group", + "resource", + "namespace", + "name", + }, + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, 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"}, @@ -40736,6 +40759,16 @@ 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", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -40765,6 +40798,19 @@ func schema_openshift_api_operator_v1_CSISnapshotControllerStatus(ref common.Ref }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "group", + "resource", + "namespace", + "name", + }, + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, 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"}, @@ -41011,6 +41057,16 @@ 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", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -41040,6 +41096,19 @@ func schema_openshift_api_operator_v1_CloudCredentialStatus(ref common.Reference }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "group", + "resource", + "namespace", + "name", + }, + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, 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"}, @@ -41244,6 +41313,16 @@ 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", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -41273,6 +41352,19 @@ func schema_openshift_api_operator_v1_ClusterCSIDriverStatus(ref common.Referenc }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "group", + "resource", + "namespace", + "name", + }, + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, 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"}, @@ -41489,6 +41581,16 @@ 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", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -41518,6 +41620,19 @@ func schema_openshift_api_operator_v1_ConfigStatus(ref common.ReferenceCallback) }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "group", + "resource", + "namespace", + "name", + }, + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, 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"}, @@ -41886,6 +42001,16 @@ 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", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -41915,6 +42040,19 @@ func schema_openshift_api_operator_v1_ConsoleStatus(ref common.ReferenceCallback }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "group", + "resource", + "namespace", + "name", + }, + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, 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"}, @@ -42860,6 +42998,16 @@ 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", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -42889,6 +43037,19 @@ func schema_openshift_api_operator_v1_EtcdStatus(ref common.ReferenceCallback) c }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "group", + "resource", + "namespace", + "name", + }, + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, 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"}, @@ -44637,6 +44798,16 @@ 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", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -44666,6 +44837,19 @@ func schema_openshift_api_operator_v1_InsightsOperatorStatus(ref common.Referenc }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "group", + "resource", + "namespace", + "name", + }, + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, 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"}, @@ -44932,6 +45116,16 @@ 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", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -44961,6 +45155,19 @@ func schema_openshift_api_operator_v1_KubeAPIServerStatus(ref common.ReferenceCa }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "group", + "resource", + "namespace", + "name", + }, + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, 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"}, @@ -45222,6 +45429,16 @@ 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", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -45251,6 +45468,19 @@ func schema_openshift_api_operator_v1_KubeControllerManagerStatus(ref common.Ref }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "group", + "resource", + "namespace", + "name", + }, + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, 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"}, @@ -45490,6 +45720,16 @@ 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", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -45519,6 +45759,19 @@ func schema_openshift_api_operator_v1_KubeSchedulerStatus(ref common.ReferenceCa }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "group", + "resource", + "namespace", + "name", + }, + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, 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"}, @@ -45734,6 +45987,16 @@ 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", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -45763,6 +46026,19 @@ func schema_openshift_api_operator_v1_KubeStorageVersionMigratorStatus(ref commo }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "group", + "resource", + "namespace", + "name", + }, + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, 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"}, @@ -46200,6 +46476,16 @@ 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", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -46229,6 +46515,19 @@ func schema_openshift_api_operator_v1_MachineConfigurationStatus(ref common.Refe }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "group", + "resource", + "namespace", + "name", + }, + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, 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"}, @@ -46393,6 +46692,16 @@ 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", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -46422,6 +46731,19 @@ func schema_openshift_api_operator_v1_MyOperatorResourceStatus(ref common.Refere }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "group", + "resource", + "namespace", + "name", + }, + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, 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"}, @@ -46767,6 +47089,16 @@ 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", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -46794,8 +47126,21 @@ func schema_openshift_api_operator_v1_NetworkStatus(ref common.ReferenceCallback Type: []string{"integer"}, Format: "int32", }, - }, - "generations": { + }, + "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "group", + "resource", + "namespace", + "name", + }, + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, 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"}, @@ -47221,6 +47566,16 @@ 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", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -47250,6 +47605,19 @@ func schema_openshift_api_operator_v1_OpenShiftAPIServerStatus(ref common.Refere }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "group", + "resource", + "namespace", + "name", + }, + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, 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"}, @@ -47444,6 +47812,16 @@ 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", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -47473,6 +47851,19 @@ func schema_openshift_api_operator_v1_OpenShiftControllerManagerStatus(ref commo }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "group", + "resource", + "namespace", + "name", + }, + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, 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"}, @@ -47554,34 +47945,39 @@ func schema_openshift_api_operator_v1_OperatorCondition(ref common.ReferenceCall Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Description: "type of condition in CamelCase or in foo.example.com/CamelCase.", + Default: "", + Type: []string{"string"}, + Format: "", }, }, "status": { SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Description: "status of the condition, one of True, False, Unknown.", + Default: "", + Type: []string{"string"}, + Format: "", }, }, "lastTransitionTime": { SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), + Description: "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.", + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), }, }, "reason": { SchemaProps: spec.SchemaProps{ - Type: []string{"string"}, - Format: "", + Description: "reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string.", + Type: []string{"string"}, + Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ - Type: []string{"string"}, - Format: "", + Description: "message is a human readable message indicating details about the transition. This may be an empty string.", + Type: []string{"string"}, + Format: "", }, }, }, @@ -47659,6 +48055,16 @@ 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", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -47688,6 +48094,19 @@ func schema_openshift_api_operator_v1_OperatorStatus(ref common.ReferenceCallbac }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "group", + "resource", + "namespace", + "name", + }, + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, 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"}, @@ -48403,6 +48822,16 @@ 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", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -48432,6 +48861,19 @@ func schema_openshift_api_operator_v1_ServiceCAStatus(ref common.ReferenceCallba }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "group", + "resource", + "namespace", + "name", + }, + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, 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"}, @@ -48619,6 +49061,16 @@ 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", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -48648,6 +49100,19 @@ func schema_openshift_api_operator_v1_ServiceCatalogAPIServerStatus(ref common.R }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "group", + "resource", + "namespace", + "name", + }, + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, 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"}, @@ -48835,6 +49300,16 @@ 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", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -48864,6 +49339,19 @@ func schema_openshift_api_operator_v1_ServiceCatalogControllerManagerStatus(ref }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "group", + "resource", + "namespace", + "name", + }, + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, 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"}, @@ -49173,6 +49661,16 @@ 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", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -49202,6 +49700,19 @@ func schema_openshift_api_operator_v1_StaticPodOperatorStatus(ref common.Referen }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "group", + "resource", + "namespace", + "name", + }, + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, 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"}, @@ -49450,6 +49961,16 @@ 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", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -49479,6 +50000,19 @@ func schema_openshift_api_operator_v1_StorageStatus(ref common.ReferenceCallback }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "group", + "resource", + "namespace", + "name", + }, + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, 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"}, @@ -50386,6 +50920,16 @@ 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", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -50415,6 +50959,19 @@ func schema_openshift_api_operator_v1alpha1_OLMStatus(ref common.ReferenceCallba }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "group", + "resource", + "namespace", + "name", + }, + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, 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"}, @@ -55937,6 +56494,16 @@ 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", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, SchemaProps: spec.SchemaProps{ Description: "conditions is a list of conditions and their status", Type: []string{"array"}, @@ -55966,6 +56533,19 @@ func schema_openshift_api_servicecertsigner_v1alpha1_ServiceCertSignerOperatorCo }, }, "generations": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-map-keys": []interface{}{ + "group", + "resource", + "namespace", + "name", + }, + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge", + }, + }, 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 22ffd83e558..1adf63f5cff 100644 --- a/openapi/openapi.json +++ b/openapi/openapi.json @@ -23585,7 +23585,13 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -23593,7 +23599,16 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "group", + "resource", + "namespace", + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "oauthAPIServer": { "description": "OAuthAPIServer holds status specific only to oauth-apiserver", @@ -23800,7 +23815,13 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -23808,7 +23829,16 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "group", + "resource", + "namespace", + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -23965,7 +23995,13 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -23973,7 +24009,16 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "group", + "resource", + "namespace", + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -24107,7 +24152,13 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -24115,7 +24166,16 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "group", + "resource", + "namespace", + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -24258,7 +24318,13 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -24266,7 +24332,16 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "group", + "resource", + "namespace", + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -24495,7 +24570,13 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -24503,7 +24584,16 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "group", + "resource", + "namespace", + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -25069,7 +25159,13 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "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", @@ -25086,7 +25182,16 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "group", + "resource", + "namespace", + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "latestAvailableRevision": { "description": "latestAvailableRevision is the deploymentID of the most recent deployment", @@ -26128,7 +26233,13 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "gatherStatus": { "description": "gatherStatus provides basic information about the last Insights data gathering. When omitted, this means no data gathering has taken place yet.", @@ -26141,7 +26252,16 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "group", + "resource", + "namespace", + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "insightsReport": { "description": "insightsReport provides general Insights analysis results. When omitted, this means no data gathering has taken place yet.", @@ -26308,7 +26428,13 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -26316,7 +26442,16 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "group", + "resource", + "namespace", + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "latestAvailableRevision": { "description": "latestAvailableRevision is the deploymentID of the most recent deployment", @@ -26489,7 +26624,13 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -26497,7 +26638,16 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "group", + "resource", + "namespace", + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "latestAvailableRevision": { "description": "latestAvailableRevision is the deploymentID of the most recent deployment", @@ -26656,7 +26806,13 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -26664,7 +26820,16 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "group", + "resource", + "namespace", + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "latestAvailableRevision": { "description": "latestAvailableRevision is the deploymentID of the most recent deployment", @@ -26805,7 +26970,13 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -26813,7 +26984,16 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "group", + "resource", + "namespace", + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -27094,7 +27274,13 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -27102,7 +27288,16 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "group", + "resource", + "namespace", + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "latestAvailableRevision": { "description": "latestAvailableRevision is the deploymentID of the most recent deployment", @@ -27213,7 +27408,13 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -27221,7 +27422,16 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "group", + "resource", + "namespace", + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -27433,7 +27643,13 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -27441,7 +27657,16 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "group", + "resource", + "namespace", + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -27707,7 +27932,13 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -27715,7 +27946,16 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "group", + "resource", + "namespace", + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "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.", @@ -27844,7 +28084,13 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -27852,7 +28098,16 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "group", + "resource", + "namespace", + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -27912,20 +28167,25 @@ ], "properties": { "lastTransitionTime": { + "description": "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.", "default": {}, "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" }, "message": { + "description": "message is a human readable message indicating details about the transition. This may be an empty string.", "type": "string" }, "reason": { + "description": "reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string.", "type": "string" }, "status": { + "description": "status of the condition, one of True, False, Unknown.", "type": "string", "default": "" }, "type": { + "description": "type of condition in CamelCase or in foo.example.com/CamelCase.", "type": "string", "default": "" } @@ -27975,7 +28235,13 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -27983,7 +28249,16 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "group", + "resource", + "namespace", + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -28411,7 +28686,13 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -28419,7 +28700,16 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "group", + "resource", + "namespace", + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -28542,7 +28832,13 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -28550,7 +28846,16 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "group", + "resource", + "namespace", + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -28674,7 +28979,13 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -28682,7 +28993,16 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "group", + "resource", + "namespace", + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -28870,7 +29190,13 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -28878,7 +29204,16 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "group", + "resource", + "namespace", + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "latestAvailableRevision": { "description": "latestAvailableRevision is the deploymentID of the most recent deployment", @@ -29039,7 +29374,13 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -29047,7 +29388,16 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "group", + "resource", + "namespace", + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -29613,7 +29963,13 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -29621,7 +29977,16 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "group", + "resource", + "namespace", + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "observedGeneration": { "description": "observedGeneration is the last generation change you've dealt with", @@ -32983,7 +33348,13 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition" - } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "generations": { "description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.", @@ -32991,7 +33362,16 @@ "items": { "default": {}, "$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus" - } + }, + "x-kubernetes-list-map-keys": [ + "group", + "resource", + "namespace", + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "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 35359737c1d..05b47a79a54 100644 --- a/operator/v1/0000_10_config-operator_01_config.crd.yaml +++ b/operator/v1/0000_10_config-operator_01_config.crd.yaml @@ -81,28 +81,45 @@ spec: items: description: OperatorCondition is just the standard condition fields. type: object + required: + - type properties: lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. type: string format: date-time message: + description: message is a human readable message indicating details about the transition. This may be an empty string. type: string reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. type: string status: + description: status of the condition, one of True, False, Unknown. type: string type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. type: string + default: "" + 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. type: array items: description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. type: object + required: + - group + - name + - namespace + - resource properties: group: description: group is the group of the thing you're tracking type: string + default: "" hash: description: hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps type: string @@ -113,12 +130,21 @@ spec: name: description: name is the name of the thing you're tracking type: string + default: "" namespace: description: namespace is where the thing you're tracking is type: string + default: "" resource: description: resource is the resource type of the thing you're tracking type: string + default: "" + x-kubernetes-list-map-keys: + - group + - resource + - namespace + - name + x-kubernetes-list-type: map observedGeneration: description: observedGeneration is the last generation change you've dealt with type: integer 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 6e9f72e132f..9bdb30cb4a6 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 @@ -98,18 +98,29 @@ spec: items: description: OperatorCondition is just the standard condition fields. type: object + required: + - type properties: lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. type: string format: date-time message: + description: message is a human readable message indicating details about the transition. This may be an empty string. type: string reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. type: string status: + description: status of the condition, one of True, False, Unknown. type: string type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. type: string + default: "" + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map controlPlaneHardwareSpeed: description: ControlPlaneHardwareSpeed declares valid hardware speed tolerance levels type: string @@ -123,10 +134,16 @@ spec: items: description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. type: object + required: + - group + - name + - namespace + - resource properties: group: description: group is the group of the thing you're tracking type: string + default: "" hash: description: hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps type: string @@ -137,12 +154,21 @@ spec: name: description: name is the name of the thing you're tracking type: string + default: "" namespace: description: namespace is where the thing you're tracking is type: string + default: "" resource: description: resource is the resource type of the thing you're tracking type: string + default: "" + x-kubernetes-list-map-keys: + - group + - resource + - namespace + - name + x-kubernetes-list-type: map latestAvailableRevision: description: latestAvailableRevision is the deploymentID of the most recent deployment type: integer 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 e6a79fe6c13..fb22393a595 100644 --- a/operator/v1/0000_12_etcd-operator_01_config.crd.yaml +++ b/operator/v1/0000_12_etcd-operator_01_config.crd.yaml @@ -91,18 +91,29 @@ spec: items: description: OperatorCondition is just the standard condition fields. type: object + required: + - type properties: lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. type: string format: date-time message: + description: message is a human readable message indicating details about the transition. This may be an empty string. type: string reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. type: string status: + description: status of the condition, one of True, False, Unknown. type: string type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. type: string + default: "" + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map controlPlaneHardwareSpeed: description: ControlPlaneHardwareSpeed declares valid hardware speed tolerance levels type: string @@ -116,10 +127,16 @@ spec: items: description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. type: object + required: + - group + - name + - namespace + - resource properties: group: description: group is the group of the thing you're tracking type: string + default: "" hash: description: hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps type: string @@ -130,12 +147,21 @@ spec: name: description: name is the name of the thing you're tracking type: string + default: "" namespace: description: namespace is where the thing you're tracking is type: string + default: "" resource: description: resource is the resource type of the thing you're tracking type: string + default: "" + x-kubernetes-list-map-keys: + - group + - resource + - namespace + - name + x-kubernetes-list-type: map latestAvailableRevision: description: latestAvailableRevision is the deploymentID of the most recent deployment type: integer 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 c9d56f59902..c0d3b4909f9 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 @@ -86,24 +86,36 @@ spec: description: OperatorCondition is just the standard condition fields. properties: lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. format: date-time type: string message: + description: message is a human readable message indicating details about the transition. This may be an empty string. type: string reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. type: string status: + description: status of the condition, one of True, False, Unknown. type: string type: + default: "" + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. 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. items: description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. properties: group: + default: "" description: group is the group of the thing you're tracking type: string hash: @@ -114,16 +126,30 @@ spec: format: int64 type: integer name: + default: "" description: name is the name of the thing you're tracking type: string namespace: + default: "" description: namespace is where the thing you're tracking is type: string resource: + default: "" description: resource is the resource type of the thing you're tracking type: string + required: + - group + - name + - namespace + - resource type: object type: array + x-kubernetes-list-map-keys: + - group + - resource + - namespace + - name + x-kubernetes-list-type: map latestAvailableRevision: description: latestAvailableRevision is the deploymentID of the most recent deployment format: int32 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 745b23d2b8b..af6e8933c90 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 @@ -92,24 +92,36 @@ spec: description: OperatorCondition is just the standard condition fields. properties: lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. format: date-time type: string message: + description: message is a human readable message indicating details about the transition. This may be an empty string. type: string reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. type: string status: + description: status of the condition, one of True, False, Unknown. type: string type: + default: "" + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. 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. items: description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. properties: group: + default: "" description: group is the group of the thing you're tracking type: string hash: @@ -120,16 +132,30 @@ spec: format: int64 type: integer name: + default: "" description: name is the name of the thing you're tracking type: string namespace: + default: "" description: namespace is where the thing you're tracking is type: string resource: + default: "" description: resource is the resource type of the thing you're tracking type: string + required: + - group + - name + - namespace + - resource type: object type: array + x-kubernetes-list-map-keys: + - group + - resource + - namespace + - name + x-kubernetes-list-type: map latestAvailableRevision: description: latestAvailableRevision is the deploymentID of the most recent deployment format: int32 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 389c31e126e..d66f091a64a 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 @@ -88,24 +88,36 @@ spec: description: OperatorCondition is just the standard condition fields. properties: lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. format: date-time type: string message: + description: message is a human readable message indicating details about the transition. This may be an empty string. type: string reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. type: string status: + description: status of the condition, one of True, False, Unknown. type: string type: + default: "" + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. 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. items: description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. properties: group: + default: "" description: group is the group of the thing you're tracking type: string hash: @@ -116,16 +128,30 @@ spec: format: int64 type: integer name: + default: "" description: name is the name of the thing you're tracking type: string namespace: + default: "" description: namespace is where the thing you're tracking is type: string resource: + default: "" description: resource is the resource type of the thing you're tracking type: string + required: + - group + - name + - namespace + - resource type: object type: array + x-kubernetes-list-map-keys: + - group + - resource + - namespace + - name + x-kubernetes-list-type: map latestAvailableRevision: description: latestAvailableRevision is the deploymentID of the most recent deployment format: int32 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 5a28d565421..22ba312931b 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 @@ -81,28 +81,45 @@ spec: items: description: OperatorCondition is just the standard condition fields. type: object + required: + - type properties: lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. type: string format: date-time message: + description: message is a human readable message indicating details about the transition. This may be an empty string. type: string reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. type: string status: + description: status of the condition, one of True, False, Unknown. type: string type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. type: string + default: "" + 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. type: array items: description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. type: object + required: + - group + - name + - namespace + - resource properties: group: description: group is the group of the thing you're tracking type: string + default: "" hash: description: hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps type: string @@ -113,12 +130,21 @@ spec: name: description: name is the name of the thing you're tracking type: string + default: "" namespace: description: namespace is where the thing you're tracking is type: string + default: "" resource: description: resource is the resource type of the thing you're tracking type: string + default: "" + x-kubernetes-list-map-keys: + - group + - resource + - namespace + - name + x-kubernetes-list-type: map 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. type: integer 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 bce7c8c7eec..3a2cf6c2837 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 @@ -88,28 +88,45 @@ spec: items: description: OperatorCondition is just the standard condition fields. type: object + required: + - type properties: lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. type: string format: date-time message: + description: message is a human readable message indicating details about the transition. This may be an empty string. type: string reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. type: string status: + description: status of the condition, one of True, False, Unknown. type: string type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. type: string + default: "" + 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. type: array items: description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. type: object + required: + - group + - name + - namespace + - resource properties: group: description: group is the group of the thing you're tracking type: string + default: "" hash: description: hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps type: string @@ -120,12 +137,21 @@ spec: name: description: name is the name of the thing you're tracking type: string + default: "" namespace: description: namespace is where the thing you're tracking is type: string + default: "" resource: description: resource is the resource type of the thing you're tracking type: string + default: "" + x-kubernetes-list-map-keys: + - group + - resource + - namespace + - name + x-kubernetes-list-type: map observedGeneration: description: observedGeneration is the last generation change you've dealt with type: integer 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 2464d26cd23..882ccc0a7ef 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 @@ -76,28 +76,45 @@ spec: items: description: OperatorCondition is just the standard condition fields. type: object + required: + - type properties: lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. type: string format: date-time message: + description: message is a human readable message indicating details about the transition. This may be an empty string. type: string reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. type: string status: + description: status of the condition, one of True, False, Unknown. type: string type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. type: string + default: "" + 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. type: array items: description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. type: object + required: + - group + - name + - namespace + - resource properties: group: description: group is the group of the thing you're tracking type: string + default: "" hash: description: hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps type: string @@ -108,12 +125,21 @@ spec: name: description: name is the name of the thing you're tracking type: string + default: "" namespace: description: namespace is where the thing you're tracking is type: string + default: "" resource: description: resource is the resource type of the thing you're tracking type: string + default: "" + x-kubernetes-list-map-keys: + - group + - resource + - namespace + - name + x-kubernetes-list-type: map oauthAPIServer: description: OAuthAPIServer holds status specific only to oauth-apiserver type: object diff --git a/operator/v1/0000_40_kube-storage-version-migrator-operator_00_config.crd.yaml b/operator/v1/0000_50_cluster-kube-storage-version-migrator-operator_00_config.crd.yaml similarity index 79% rename from operator/v1/0000_40_kube-storage-version-migrator-operator_00_config.crd.yaml rename to operator/v1/0000_50_cluster-kube-storage-version-migrator-operator_00_config.crd.yaml index 49a62e70237..083658ea272 100644 --- a/operator/v1/0000_40_kube-storage-version-migrator-operator_00_config.crd.yaml +++ b/operator/v1/0000_50_cluster-kube-storage-version-migrator-operator_00_config.crd.yaml @@ -78,28 +78,45 @@ spec: items: description: OperatorCondition is just the standard condition fields. type: object + required: + - type properties: lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. type: string format: date-time message: + description: message is a human readable message indicating details about the transition. This may be an empty string. type: string reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. type: string status: + description: status of the condition, one of True, False, Unknown. type: string type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. type: string + default: "" + 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. type: array items: description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. type: object + required: + - group + - name + - namespace + - resource properties: group: description: group is the group of the thing you're tracking type: string + default: "" hash: description: hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps type: string @@ -110,12 +127,21 @@ spec: name: description: name is the name of the thing you're tracking type: string + default: "" namespace: description: namespace is where the thing you're tracking is type: string + default: "" resource: description: resource is the resource type of the thing you're tracking type: string + default: "" + x-kubernetes-list-map-keys: + - group + - resource + - namespace + - name + x-kubernetes-list-type: map observedGeneration: description: observedGeneration is the last generation change you've dealt with type: integer 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 740b7943dbc..8c98a05f346 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 @@ -79,28 +79,45 @@ spec: items: description: OperatorCondition is just the standard condition fields. type: object + required: + - type properties: lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. type: string format: date-time message: + description: message is a human readable message indicating details about the transition. This may be an empty string. type: string reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. type: string status: + description: status of the condition, one of True, False, Unknown. type: string type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. type: string + default: "" + 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. type: array items: description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. type: object + required: + - group + - name + - namespace + - resource properties: group: description: group is the group of the thing you're tracking type: string + default: "" hash: description: hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps type: string @@ -111,12 +128,21 @@ spec: name: description: name is the name of the thing you're tracking type: string + default: "" namespace: description: namespace is where the thing you're tracking is type: string + default: "" resource: description: resource is the resource type of the thing you're tracking type: string + default: "" + x-kubernetes-list-map-keys: + - group + - resource + - namespace + - name + x-kubernetes-list-type: map observedGeneration: description: observedGeneration is the last generation change you've dealt with type: integer 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 80bb8eddffa..f2d8f2a7068 100644 --- a/operator/v1/0000_50_cluster_storage_operator_01_crd.yaml +++ b/operator/v1/0000_50_cluster_storage_operator_01_crd.yaml @@ -89,28 +89,45 @@ spec: items: description: OperatorCondition is just the standard condition fields. type: object + required: + - type properties: lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. type: string format: date-time message: + description: message is a human readable message indicating details about the transition. This may be an empty string. type: string reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. type: string status: + description: status of the condition, one of True, False, Unknown. type: string type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. type: string + default: "" + 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. type: array items: description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. type: object + required: + - group + - name + - namespace + - resource properties: group: description: group is the group of the thing you're tracking type: string + default: "" hash: description: hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps type: string @@ -121,12 +138,21 @@ spec: name: description: name is the name of the thing you're tracking type: string + default: "" namespace: description: namespace is where the thing you're tracking is type: string + default: "" resource: description: resource is the resource type of the thing you're tracking type: string + default: "" + x-kubernetes-list-map-keys: + - group + - resource + - namespace + - name + x-kubernetes-list-type: map observedGeneration: description: observedGeneration is the last generation change you've dealt with type: integer 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 4ff57e35a3f..20fa790c3ac 100644 --- a/operator/v1/0000_50_ingress-operator_00-ingresscontroller.crd.yaml +++ b/operator/v1/0000_50_ingress-operator_00-ingresscontroller.crd.yaml @@ -866,16 +866,24 @@ spec: description: OperatorCondition is just the standard condition fields. properties: lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. format: date-time type: string message: + description: message is a human readable message indicating details about the transition. This may be an empty string. type: string reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. type: string status: + description: status of the condition, one of True, False, Unknown. type: string type: + default: "" + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. 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 caa93347b92..1e211cf468f 100644 --- a/operator/v1/0000_50_insights-operator_00-insightsoperator.crd.yaml +++ b/operator/v1/0000_50_insights-operator_00-insightsoperator.crd.yaml @@ -80,18 +80,29 @@ spec: items: description: OperatorCondition is just the standard condition fields. type: object + required: + - type properties: lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. type: string format: date-time message: + description: message is a human readable message indicating details about the transition. This may be an empty string. type: string reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. type: string status: + description: status of the condition, one of True, False, Unknown. type: string type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. type: string + default: "" + 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. type: object @@ -177,10 +188,16 @@ spec: items: description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. type: object + required: + - group + - name + - namespace + - resource properties: group: description: group is the group of the thing you're tracking type: string + default: "" hash: description: hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps type: string @@ -191,12 +208,21 @@ spec: name: description: name is the name of the thing you're tracking type: string + default: "" namespace: description: namespace is where the thing you're tracking is type: string + default: "" resource: description: resource is the resource type of the thing you're tracking type: string + default: "" + x-kubernetes-list-map-keys: + - group + - resource + - namespace + - name + x-kubernetes-list-type: map insightsReport: description: insightsReport provides general Insights analysis results. When omitted, this means no data gathering has taken place yet. type: object 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 8ceeb70cd4d..88a4af65e0f 100644 --- a/operator/v1/0000_50_service-ca-operator_02_crd.yaml +++ b/operator/v1/0000_50_service-ca-operator_02_crd.yaml @@ -80,28 +80,45 @@ spec: items: description: OperatorCondition is just the standard condition fields. type: object + required: + - type properties: lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. type: string format: date-time message: + description: message is a human readable message indicating details about the transition. This may be an empty string. type: string reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. type: string status: + description: status of the condition, one of True, False, Unknown. type: string type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. type: string + default: "" + 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. type: array items: description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. type: object + required: + - group + - name + - namespace + - resource properties: group: description: group is the group of the thing you're tracking type: string + default: "" hash: description: hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps type: string @@ -112,12 +129,21 @@ spec: name: description: name is the name of the thing you're tracking type: string + default: "" namespace: description: namespace is where the thing you're tracking is type: string + default: "" resource: description: resource is the resource type of the thing you're tracking type: string + default: "" + x-kubernetes-list-map-keys: + - group + - resource + - namespace + - name + x-kubernetes-list-type: map observedGeneration: description: observedGeneration is the last generation change you've dealt with type: integer diff --git a/operator/v1/0000_70_cluster-network-operator_01.crd.yaml b/operator/v1/0000_70_cluster-network-operator_01.crd.yaml index 83222ab78cb..e7bd658d0d2 100644 --- a/operator/v1/0000_70_cluster-network-operator_01.crd.yaml +++ b/operator/v1/0000_70_cluster-network-operator_01.crd.yaml @@ -524,28 +524,45 @@ spec: items: description: OperatorCondition is just the standard condition fields. type: object + required: + - type properties: lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. type: string format: date-time message: + description: message is a human readable message indicating details about the transition. This may be an empty string. type: string reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. type: string status: + description: status of the condition, one of True, False, Unknown. type: string type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. type: string + default: "" + 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. type: array items: description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. type: object + required: + - group + - name + - namespace + - resource properties: group: description: group is the group of the thing you're tracking type: string + default: "" hash: description: hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps type: string @@ -556,12 +573,21 @@ spec: name: description: name is the name of the thing you're tracking type: string + default: "" namespace: description: namespace is where the thing you're tracking is type: string + default: "" resource: description: resource is the resource type of the thing you're tracking type: string + default: "" + x-kubernetes-list-map-keys: + - group + - resource + - namespace + - name + x-kubernetes-list-type: map observedGeneration: description: observedGeneration is the last generation change you've dealt with type: integer diff --git a/operator/v1/0000_70_dns-operator_00.crd.yaml b/operator/v1/0000_70_dns-operator_00.crd.yaml index 92f24714aad..ffa30660116 100644 --- a/operator/v1/0000_70_dns-operator_00.crd.yaml +++ b/operator/v1/0000_70_dns-operator_00.crd.yaml @@ -282,16 +282,24 @@ spec: description: OperatorCondition is just the standard condition fields. properties: lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. format: date-time type: string message: + description: message is a human readable message indicating details about the transition. This may be an empty string. type: string reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. type: string status: + description: status of the condition, one of True, False, Unknown. type: string type: + default: "" + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. 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 9046bed78cc..51654212ae6 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 @@ -79,28 +79,45 @@ spec: items: description: OperatorCondition is just the standard condition fields. type: object + required: + - type properties: lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. type: string format: date-time message: + description: message is a human readable message indicating details about the transition. This may be an empty string. type: string reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. type: string status: + description: status of the condition, one of True, False, Unknown. type: string type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. type: string + default: "" + 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. type: array items: description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. type: object + required: + - group + - name + - namespace + - resource properties: group: description: group is the group of the thing you're tracking type: string + default: "" hash: description: hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps type: string @@ -111,12 +128,21 @@ spec: name: description: name is the name of the thing you're tracking type: string + default: "" namespace: description: namespace is where the thing you're tracking is type: string + default: "" resource: description: resource is the resource type of the thing you're tracking type: string + default: "" + x-kubernetes-list-map-keys: + - group + - resource + - namespace + - name + x-kubernetes-list-type: map observedGeneration: description: observedGeneration is the last generation change you've dealt with type: integer 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 61ef7740e7a..e2874c8b642 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 @@ -90,28 +90,45 @@ spec: items: description: OperatorCondition is just the standard condition fields. type: object + required: + - type properties: lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. type: string format: date-time message: + description: message is a human readable message indicating details about the transition. This may be an empty string. type: string reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. type: string status: + description: status of the condition, one of True, False, Unknown. type: string type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. type: string + default: "" + 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. type: array items: description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. type: object + required: + - group + - name + - namespace + - resource properties: group: description: group is the group of the thing you're tracking type: string + default: "" hash: description: hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps type: string @@ -122,12 +139,21 @@ spec: name: description: name is the name of the thing you're tracking type: string + default: "" namespace: description: namespace is where the thing you're tracking is type: string + default: "" resource: description: resource is the resource type of the thing you're tracking type: string + default: "" + x-kubernetes-list-map-keys: + - group + - resource + - namespace + - name + x-kubernetes-list-type: map latestAvailableRevision: description: latestAvailableRevision is the deploymentID of the most recent deployment type: integer 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 d90a1355782..dddcf881aec 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 @@ -196,24 +196,36 @@ spec: description: OperatorCondition is just the standard condition fields. properties: lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. format: date-time type: string message: + description: message is a human readable message indicating details about the transition. This may be an empty string. type: string reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. type: string status: + description: status of the condition, one of True, False, Unknown. type: string type: + default: "" + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. 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. items: description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. properties: group: + default: "" description: group is the group of the thing you're tracking type: string hash: @@ -224,16 +236,30 @@ spec: format: int64 type: integer name: + default: "" description: name is the name of the thing you're tracking type: string namespace: + default: "" description: namespace is where the thing you're tracking is type: string resource: + default: "" description: resource is the resource type of the thing you're tracking type: string + required: + - group + - name + - namespace + - resource type: object type: array + x-kubernetes-list-map-keys: + - group + - resource + - namespace + - name + x-kubernetes-list-type: map observedGeneration: description: observedGeneration is the last generation change you've dealt with format: int64 diff --git a/operator/v1/00_console-operator.crd.yaml b/operator/v1/00_console-operator.crd.yaml index 242eecebc91..490226afc55 100644 --- a/operator/v1/00_console-operator.crd.yaml +++ b/operator/v1/00_console-operator.crd.yaml @@ -383,28 +383,45 @@ spec: items: description: OperatorCondition is just the standard condition fields. type: object + required: + - type properties: lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. type: string format: date-time message: + description: message is a human readable message indicating details about the transition. This may be an empty string. type: string reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. type: string status: + description: status of the condition, one of True, False, Unknown. type: string type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. type: string + default: "" + 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. type: array items: description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. type: object + required: + - group + - name + - namespace + - resource properties: group: description: group is the group of the thing you're tracking type: string + default: "" hash: description: hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps type: string @@ -415,12 +432,21 @@ spec: name: description: name is the name of the thing you're tracking type: string + default: "" namespace: description: namespace is where the thing you're tracking is type: string + default: "" resource: description: resource is the resource type of the thing you're tracking type: string + default: "" + x-kubernetes-list-map-keys: + - group + - resource + - namespace + - name + x-kubernetes-list-type: map observedGeneration: description: observedGeneration is the last generation change you've dealt with type: integer diff --git a/operator/v1/stable.kubestorageversionmigrator.testsuite.yaml b/operator/v1/stable.kubestorageversionmigrator.testsuite.yaml index a0b194406cf..22c8aad140d 100644 --- a/operator/v1/stable.kubestorageversionmigrator.testsuite.yaml +++ b/operator/v1/stable.kubestorageversionmigrator.testsuite.yaml @@ -1,6 +1,6 @@ apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this name: "[Stable] KubeStorageVersionMigrator" -crd: 0000_40_kube-storage-version-migrator-operator_00_config.crd.yaml +crd: 0000_50_cluster-kube-storage-version-migrator-operator_00_config.crd.yaml tests: onCreate: - name: Should be able to create a minimal KubeStorageVersionMigrator diff --git a/operator/v1/types.go b/operator/v1/types.go index 40037e1fe91..630d987640b 100644 --- a/operator/v1/types.go +++ b/operator/v1/types.go @@ -115,8 +115,12 @@ type OperatorStatus struct { ObservedGeneration int64 `json:"observedGeneration,omitempty"` // conditions is a list of conditions and their status + // +patchMergeKey=type + // +patchStrategy=merge + // +listType=map + // +listMapKey=type // +optional - Conditions []OperatorCondition `json:"conditions,omitempty"` + Conditions []OperatorCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` // version is the level this availability applies to // +optional @@ -126,22 +130,49 @@ 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. + // +patchMergeKey=group + // +patchMergeKey=resource + // +patchMergeKey=namespace + // +patchMergeKey=name + // +patchStrategy=merge + // +listType=map + // +listMapKey=group + // +listMapKey=resource + // +listMapKey=namespace + // +listMapKey=name // +optional - Generations []GenerationStatus `json:"generations,omitempty"` + Generations []GenerationStatus `json:"generations,omitempty" patchStrategy:"merge" patchMergeKey:"type"` } // GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. type GenerationStatus struct { // group is the group of the thing you're tracking + // +required + // +kubebuilder:validation:Required + // +kubebuilder:default="" Group string `json:"group"` + // resource is the resource type of the thing you're tracking + // +required + // +kubebuilder:validation:Required + // +kubebuilder:default="" Resource string `json:"resource"` + // namespace is where the thing you're tracking is + // +required + // +kubebuilder:validation:Required + // +kubebuilder:default="" Namespace string `json:"namespace"` + // name is the name of the thing you're tracking + // +required + // +kubebuilder:validation:Required + // +kubebuilder:default="" Name string `json:"name"` + // lastGeneration is the last generation of the workload controller involved LastGeneration int64 `json:"lastGeneration"` + // hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps Hash string `json:"hash"` } @@ -162,11 +193,31 @@ var ( // OperatorCondition is just the standard condition fields. type OperatorCondition struct { - Type string `json:"type"` - Status ConditionStatus `json:"status"` - LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` - Reason string `json:"reason,omitempty"` - Message string `json:"message,omitempty"` + // type of condition in CamelCase or in foo.example.com/CamelCase. + // --- + // Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + // useful (see .node.status.conditions), the ability to deconflict is important. + // +required + // +kubebuilder:validation:Required + // +kubebuilder:default="" + Type string `json:"type"` + + // status of the condition, one of True, False, Unknown. + Status ConditionStatus `json:"status"` + + // lastTransitionTime is the last time the condition transitioned from one status to another. + // This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. + LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` + + // reason contains a programmatic identifier indicating the reason for the condition's last transition. + // Producers of specific condition types may define expected values and meanings for this field, + // and whether the values are considered a guaranteed API. + // The value should be a CamelCase string. + Reason string `json:"reason,omitempty"` + + // message is a human readable message indicating details about the transition. + // This may be an empty string. + Message string `json:"message,omitempty"` } type ConditionStatus string diff --git a/operator/v1/zz_generated.swagger_doc_generated.go b/operator/v1/zz_generated.swagger_doc_generated.go index adf062fd28a..409371c7897 100644 --- a/operator/v1/zz_generated.swagger_doc_generated.go +++ b/operator/v1/zz_generated.swagger_doc_generated.go @@ -52,7 +52,12 @@ func (NodeStatus) SwaggerDoc() map[string]string { } var map_OperatorCondition = map[string]string{ - "": "OperatorCondition is just the standard condition fields.", + "": "OperatorCondition is just the standard condition fields.", + "type": "type of condition in CamelCase or in foo.example.com/CamelCase.", + "status": "status of the condition, one of True, False, Unknown.", + "lastTransitionTime": "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.", + "reason": "reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string.", + "message": "message is a human readable message indicating details about the transition. This may be an empty string.", } func (OperatorCondition) SwaggerDoc() map[string]string { 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 4068a064f27..1329c90daf4 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 @@ -82,28 +82,45 @@ spec: items: description: OperatorCondition is just the standard condition fields. type: object + required: + - type properties: lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. type: string format: date-time message: + description: message is a human readable message indicating details about the transition. This may be an empty string. type: string reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. type: string status: + description: status of the condition, one of True, False, Unknown. type: string type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. type: string + default: "" + 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. type: array items: description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. type: object + required: + - group + - name + - namespace + - resource properties: group: description: group is the group of the thing you're tracking type: string + default: "" hash: description: hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps type: string @@ -114,12 +131,21 @@ spec: name: description: name is the name of the thing you're tracking type: string + default: "" namespace: description: namespace is where the thing you're tracking is type: string + default: "" resource: description: resource is the resource type of the thing you're tracking type: string + default: "" + x-kubernetes-list-map-keys: + - group + - resource + - namespace + - name + x-kubernetes-list-type: map observedGeneration: description: observedGeneration is the last generation change you've dealt with type: integer 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 0e08b5113c0..f122e15b103 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 @@ -82,28 +82,45 @@ spec: items: description: OperatorCondition is just the standard condition fields. type: object + required: + - type properties: lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. type: string format: date-time message: + description: message is a human readable message indicating details about the transition. This may be an empty string. type: string reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. type: string status: + description: status of the condition, one of True, False, Unknown. type: string type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. type: string + default: "" + 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. type: array items: description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. type: object + required: + - group + - name + - namespace + - resource properties: group: description: group is the group of the thing you're tracking type: string + default: "" hash: description: hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps type: string @@ -114,12 +131,21 @@ spec: name: description: name is the name of the thing you're tracking type: string + default: "" namespace: description: namespace is where the thing you're tracking is type: string + default: "" resource: description: resource is the resource type of the thing you're tracking type: string + default: "" + x-kubernetes-list-map-keys: + - group + - resource + - namespace + - name + x-kubernetes-list-type: map observedGeneration: description: observedGeneration is the last generation change you've dealt with type: integer