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

Conflicting ResourceHandler when two different object kinds exist #56

Closed mocenas closed 4 years ago

mocenas commented 5 years ago

When trying to load Istio resources from a yaml file that contains an Istio Policy I will receive a following exception: java.lang.ClassCastException: me.snowdrop.istio.api.authentication.v1alpha1.Policy cannot be cast to io.fabric8.openshift.api.model.v4_0.Policy

Links to this issue.

geoand commented 5 years ago

Thanks @mocenas

metacosm commented 4 years ago

This should be fixed now.