From 1e2459899cfa7329e5af141477f68d6a14fcf2cc Mon Sep 17 00:00:00 2001 From: Jan Roehrich Date: Tue, 10 Sep 2024 16:58:10 +0200 Subject: [PATCH] implemented some of modulitos' review proposals --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 6e77300ff..17294659d 100644 --- a/main.go +++ b/main.go @@ -86,7 +86,7 @@ func main() { debug := flag.Bool("enable-debugging-handlers", false, "Enable debugging handlers. Currently /debug/alpha/cache is supported") - saLookupGracePeriod := flag.Duration("service-account-lookup-grace-period", 100*time.Millisecond, "The grace period for service account to be available in cache before not mutating a pod. Defaults to 100ms. Set to 0 to deactivate waiting. Carefully use higher values as it may have significant impact on Kubernetes' pod scheduling performance.") + saLookupGracePeriod := flag.Duration("service-account-lookup-grace-period", 0, "The grace period for service account to be available in cache before not mutating a pod. Defaults to 0, what deactivates waiting. Carefully use values higher than a bunch of milliseconds as it may have significant impact on Kubernetes' pod scheduling performance.") klog.InitFlags(goflag.CommandLine) // Add klog CommandLine flags to pflag CommandLine