Java client and custom resources

Hi all,

Is there any guide or example somewhere that describes how to use the Java client libraries (https://github.com/kubernetes-client/java) to create or modify custom resources in the cluster?

I would rather use a generic API to upload a yaml spec (without generating a CRD-specific API), but I can’t seem to find any example… basically I am looking for the java equivalent of
kubectl apply -f resource.yaml

Thanks!
Franck

Hey Franck,
Did you ever find a solution?
I need to find a solution/documentation/examples on how to use the kubernetes-java-client with CRD/s created from Fluxcd.

What I want to do seems simple enough, basically I want to do the same thing helm install command does, but via java(cant just put a wrapper around kubectl either). I have found example/tutorials for this using Fabric8 Kubernetes Client, but the powers that be say I must use the kubernetes-java-client.

Any help is appreciated.

Thanx,
-Max