snowdrop / istio-java-api

A Java API to generate Istio descriptors, inspired by Fabric8's kubernetes-model.
Apache License 2.0
112 stars 33 forks source link

Unrecognized field "name" (class me.snowdrop.istio.api.networking.v1alpha3.HTTPRoute) #79

Open RnkeZ opened 4 years ago

RnkeZ commented 4 years ago

Hi I'm trying to retrive a vritual service from Istio using your client.

What im using: Kubernetes version 1.15. Istio version 1.3.1. istio-java-api 1.1.0. kubernetes-client 4.2.2.

VirtualServiceList listVS = istioClient.virtualService().inNamespace("default").list();
        listVS.getItems().forEach((VirtualService vs) -> {
            System.out.println(vs);
        });

Error: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "name" (class me.snowdrop.istio.api.networking.v1alpha3.HTTPRoute), not marked as ignorable

Full error: log.txt.

metacosm commented 4 years ago

istio-java-api is not currently tested with Istio 1.3. I am working on releasing a new version soon.

metacosm commented 3 years ago

Are you still facing this issue?