Lua library to access Kubernetes APIs

Hi,

Apologies in advance, as I had ‘known’ the answer to this question but have forgotten it over time as I did not bookmark it.

  1. I am looking for a Lua client library for Kubernetes to read configs off of a ConfigMap. I remember someone had pointed me to the library in Github months ago but I did not star it and have lost the link.

  2. My use case is to configure Kubernetes RBAC auth to Kong to read a single ConfigMap from a specific namespaces in the cluster which can then be used to perform some custom processing. Is there a Lua library for Kubernetes client which will work with the in_cluster_config as it does in Python? I do not want to upload the cluster TLS certs in Kong as it is exposed publicly.

Thanks.


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ