From bd8362de82fe44c96bbfe2fe9910ae0cd6a895ff Mon Sep 17 00:00:00 2001 From: Alexey Makhov Date: Thu, 11 Apr 2024 17:58:57 +0300 Subject: [PATCH] Fix kind credentials leakage in the logs Signed-off-by: Alexey Makhov (cherry picked from commit 7176bc73ab41cac382d233f35ac57a51b0b61bc0) --- pkg/component/controller/kine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/component/controller/kine.go b/pkg/component/controller/kine.go index 07f7051ee151..0dbc0eaf7dcf 100644 --- a/pkg/component/controller/kine.go +++ b/pkg/component/controller/kine.go @@ -54,7 +54,7 @@ var _ manager.Ready = (*Kine)(nil) // Init extracts the needed binaries func (k *Kine) Init(_ context.Context) error { - logrus.Infof("initializing kine with config: %+v", k.Config) + logrus.Infof("initializing kine") var err error k.uid, err = users.GetUID(constant.KineUser) if err != nil {