Using Kustomize on Istio resources

I would like to use Kustomize to modify my Istio resource manifests, such as Gateway and VirtualService. I have used the following to get the CRD as JSON, as required by Kustomize:

kubectl get crd gateways.networking.istio.io -o json

When I run Kustomize build, it complains that it cannot find the type common.OpenAPIDefinition.

Can anyone tell me where to get the Istio CRD json files with OpenAPI definitions?

Thanks,
Bill

1 Like