From 30c44f0f4dcc9c64ed15963f34117a423528caa6 Mon Sep 17 00:00:00 2001 From: Joe Kratzat Date: Thu, 18 May 2023 15:07:02 -0400 Subject: [PATCH] feat: add support for klog flag This will allow users to set flags like `log_file` and `logtostderr` --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index e9189d6d..73fdd7fa 100644 --- a/main.go +++ b/main.go @@ -68,6 +68,8 @@ const ( ) func init() { + klog.InitFlags(nil) + utilruntime.Must(clientgoscheme.AddToScheme(scheme)) utilruntime.Must(infrastructurev1beta1.AddToScheme(scheme)) utilruntime.Must(infrastructurev1beta2.AddToScheme(scheme))