From 23544e0431f7171604cc76507cf3ff58df26c2be Mon Sep 17 00:00:00 2001 From: Donny Xia Date: Tue, 1 Jun 2021 16:25:41 -0700 Subject: [PATCH] code review --- api/resource/factory.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/api/resource/factory.go b/api/resource/factory.go index dd02044d30..97ced84ba0 100644 --- a/api/resource/factory.go +++ b/api/resource/factory.go @@ -23,9 +23,10 @@ import ( type Factory struct { hasher ifc.KustHasher - // IncludeLocalConfigs indicates should resource factory ignore - // the resources which have annotation 'config.kubernetes.io/local-config'. - // By default it's false. + // When set to true, IncludeLocalConfigs indicates + // that Factory should include resources with the + // annotation 'config.kubernetes.io/local-config'. + // By default these resources are ignored. IncludeLocalConfigs bool }