Add custom info in add_kubernetes_metadata

How to add custom info such as pod's container's environment variable in add_kubernetes_metadata?

Can anybody help me with this. I want a containers environment variable to be exported in metadata