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

Fix handling of plurals #44

Closed geoand closed 5 years ago

geoand commented 5 years ago

With the previous implementation plurals (which determine the API path that the Kubernetes Client uses) where handled by simply appending an "s" to the name of the class. This fails for a number of CRD, like Policy. We now use the information that is present in the crdName during the Operations generation