From 5c60285f259f0bdb6913b423a8a46751677850b7 Mon Sep 17 00:00:00 2001 From: Justin SB Date: Tue, 8 Sep 2020 18:39:26 -0400 Subject: [PATCH] Replace language with more inclusive & accurate "hard-coded" hard-coded is probably more helpful to understanding the limitations of the current approach. --- api/filters/namespace/namespace.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/filters/namespace/namespace.go b/api/filters/namespace/namespace.go index 7941af5a6..85e56c572 100644 --- a/api/filters/namespace/namespace.go +++ b/api/filters/namespace/namespace.go @@ -69,7 +69,7 @@ func (ns Filter) hacks(obj *yaml.RNode) error { // metaNamespaceHack is a hack for implementing the namespace transform // for the metadata.namespace field on namespace scoped resources. // namespace scoped resources are determined by NOT being present -// in a blacklist of cluster-scoped resource types (by apiVersion and kind). +// in a hard-coded list of cluster-scoped resource types (by apiVersion and kind). // // This hack should be updated to allow individual resources to specify // if they are cluster scoped through either an annotation on the resources,