Open jstrachan opened 8 years ago
I just hit this https://gist.github.com/jstrachan/b13219083279d6d2b724 as this class https://github.com/fabric8io/kubernetes-model/blob/master/kubernetes-model/src/main/java/io/fabric8/kubernetes/api/model/KubernetesKind.java#L26 was missing the particular model type I was using.
We should generate this class with all the entities from Kubernetes (ditto for OpenShift).
we could maybe refactor this old code to generate it from the generated model https://github.com/jstrachan/fabric8/blob/cdelivery/components/kubernetes-codegen/src/main/java/io/fabric8/kubernetes/codegen/GenerateKindToClassMap.java
Ah yeah its maintained by hand in https://github.com/fabric8io/kubernetes-model/blob/master/kubernetes-model/src/main/java/io/fabric8/kubernetes/api/model/KubernetesKind.java
Currently KubernetesKind is @Depracated and not used by any part of Fabric8.
We should completely drop it at some point in the near future.
@iocanel did you manage to drop it, or what work would that take ?
I just hit this https://gist.github.com/jstrachan/b13219083279d6d2b724 as this class https://github.com/fabric8io/kubernetes-model/blob/master/kubernetes-model/src/main/java/io/fabric8/kubernetes/api/model/KubernetesKind.java#L26 was missing the particular model type I was using.
We should generate this class with all the entities from Kubernetes (ditto for OpenShift).
we could maybe refactor this old code to generate it from the generated model https://github.com/jstrachan/fabric8/blob/cdelivery/components/kubernetes-codegen/src/main/java/io/fabric8/kubernetes/codegen/GenerateKindToClassMap.java