Im working on a MutatingAdmissionWebhook monitoring Deployment objects in Go. The webhook is running and receives the request correctly.
I am trying to read thru the Deployment->Spec->Container->env List.
I am able to get the env list, but I have ConfigMapKeyRef defined for these env vars, which is coming in as nil.
When I dumped the ValueFrom here is what I got
Im running Kubernetes Client v1.14.0
Any help to solve this ?
Kubernetes version: 1.14