• Miek Gieben's avatar
    plugin/kubernetes: correctly set NODATA for ns (#1229) · c37bf56b
    Miek Gieben authored
    * plugin/kubernetes: Add GetNamespaceByName
    
    A bare or wildcard query for just the namespace should return NODATA,
    not NXDOMAIN, otherwise we deny the entirety of the names under the
    namespace.
    
    Add test to check for this in pod verified mode.
    
    * Review
    
    More comments and move namespace code to namespace.go
    c37bf56b
controller.go 9.84 KB