k8snetworkplumbingwg / net-attach-def-admission-controller

An admission controller to check resources as defined by the NPWG spec
Apache License 2.0
4 stars 15 forks source link

Fixed bug with controller only checking default namespace/ #36

Closed aneeshkp closed 4 years ago

aneeshkp commented 4 years ago

Passing namespace of the pod to updatemetrics function, which fixes a bug that was only looking at default namespace. cc @dougbtv @s1061123 Please review.