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

Unable to delete custom resources #31

Closed geoand closed 5 years ago

geoand commented 5 years ago

When running some Istio tests, I ran into an issue where I can't seem to delete custom resources.

The custom resources being used are VirtualService, Gateway and DestinationRule and while debugging the IstioClient does return true when deleteCustomResources is called, although no actual deletion is being performed.

I should add that deleting the resources from the command line does work for me (oc delete gateway client-gateway) and I testing against Openshift 3.10 and Istio 1.0

geoand commented 5 years ago

This seems to be an issue with the Kubernetes Client (see this project for a simple demonstration of the problem)

geoand commented 5 years ago

cc @iocanel

geoand commented 5 years ago

See this

metacosm commented 5 years ago

This should be addressed in master now via #43.

metacosm commented 5 years ago

@geoand can you verify that this issue is indeed fixed, please?

geoand commented 5 years ago

It has indeed been fixed, I saw it during the integration testing development over the last couple days