java
java copied to clipboard
Can CustomObjectsApi support all kind of kubernetesObject?
trafficstars
We have many project use k8s-sdk controll the cluster, I am writing a self-sdk for our projects, I want to use CustomObjectsApi to process all kind of kubernetesObject, I found it hard code "/apis/{group}/{version}/", some "/api/{group}/{version}" not suitable for use,
I will hack it by "if group is empty use api, else use apis"
is that right, any other point that may happen?