When I generated istio handler related code according to k8s CRD code geneator, I found that the istio handler type was “handler” in k8s API resource, which would cause the creation of handler resources to fail.When creating handler from generated code, the passed parameter is “Kind: Handler”.
The error message is as follows
Handler.config.istio.io "quotahandler-fqs-test" is invalid: kind: Invalid value: "Handler": must be handler
I found through debugging that the (kind: Handler) type is determined by the name when defining the object structure,It seems that the name of the server(kind: handler) is different from that of the client(kind: Handler), which causes the problem. Does anyone know how to solve it?