-
Bug
-
Resolution: Done
-
Critical
-
AMQ 7.6.0.GA
-
None
> $ oc create -f broker_activemqartemisaddress_crd.yaml [±c530979 ●●] The CustomResourceDefinition "activemqartemisaddresses.broker.amq.io" is invalid: spec.versions: Invalid value: []apiextensions.CustomResourceDefinitionVersion{apiextensions.CustomResourceDefinitionVersion{Name:"v2alpha1", Served:true, Storage:true, Schema:(*apiextensions.CustomResourceValidation)(0xc025b4e488), Subresources:(*apiextensions.CustomResourceSubresources)(nil), AdditionalPrinterColumns:[]apiextensions.CustomResourceColumnDefinition(nil)}}: per-version schemas may not all be set to identical values (top-level validation should be used instead)
It doesn't seem that there is difference between v2alpha1 (old) CRD and v2alpha1 (new) CRD. Old CRD is working properly with new Operator and if clusters have old CRD deployed, users would be able to create addresses.
For fresh installs, old CRD needs to be used.