Any library or example to configure Kong CRDs via client-go?

Hi, the guide pages show the method to configure kong with “kubectl”.

Are there any existing libraries, or examples to configure the kong CRDs with kubernetes client-go(https://github.com/kubernetes/client-go)?

Thanks!

The source code for Ingress Controller is open-source and you use ideas from there: https://github.com/kong/kubernetes-ingress-controller/

To configure kong CRDs, per client-go example(https://github.com/kubernetes/apiextensions-apiserver/tree/master/examples/client-go), code generation is needed for kong CRDs. Do you know if anyone has already done that?

Yes. The auto-gen code is present here: https://github.com/Kong/kubernetes-ingress-controller/tree/master/internal/client


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ