jerqi commented on PR #1694:
URL: 
https://github.com/apache/incubator-uniffle/pull/1694#issuecomment-2105654231

   I upgrade the version of go/api/controller-gen. But It occurs 
   ```
    "unable to create CRD instances: unable to create CRD 
\"remoteshuffleservices.uniffle.apache.org\": 
CustomResourceDefinition.apiextensions.k8s.io 
\"remoteshuffleservices.uniffle.apache.org\" is invalid: 
[spec.validation.openAPIV3Schema.properties[spec].properties[shuffleServer].properties[sidecarContainers].items.properties[resources].properties[claims].items.x-kubernetes-map-type:
 Invalid value: \"null\": must be atomic as item of a list with 
x-kubernetes-list-type=set, 
spec.validation.openAPIV3Schema.properties[spec].properties[shuffleServer].properties[volumes].items.properties[ephemeral].properties[volumeClaimTemplate].properties[spec].properties[resources].properties[claims].items.x-kubernetes-map-type:
 Invalid value: \"null\": must be atomic as item of a list with 
x-kubernetes-list-type=set, 
spec.validation.openAPIV3Schema.properties[spec].properties[shuffleServer].properties[resources].properties[claims].items.x-kubernetes-map-type:
 Invalid value: \"null\": must be atomic 
 as item of 
                 err: <*fmt.wrapError | 0xc000530260>{
                     msg: "unable to create CRD \"remoteshuffleservice.
   ``` 
   I update the controller-gen, it produces more fields 
`x-kubenetetes-map-type`. Other places tell that this is a bug of K8S, I use 
1.27.1. But I still failed to run the tests.
   
   https://github.com/kubernetes-sigs/controller-tools/issues/752
   
   @advancedxy @zuston Could you give some advice?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to