k8snetworkplumbingwg / network-resources-injector

A Kubernetes Dynamic Admission Controller that patches Pods to add additional information.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Downward API Injection: Errors if Downward API already exists

Billy99 opened this issue · comments

The code blindly injects Downward API fields without checking to see if they already exists in the Pod Spec. Need to logic to make sure it doesn't already exist before adding.