aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes/namespace.go (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-07-29kubernetes: Improve namespace usage (#4767)Gravatar Mat Lowery 1-2/+2
* Use GetByKey instead of List in GetNamespaceByName. * Add ToNamespace to reduce memory for namespace cache. Signed-off-by: Mat Lowery <mlowery@ebay.com>
2019-03-22Add `namespace_labels` configuration for kubernetes plugin (#2707)Gravatar Matt Greenfield 1-7/+14
2017-11-13plugin/kubernetes: correctly set NODATA for ns (#1229)Gravatar Miek Gieben 1-0/+20
* 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