Merge pull request #107121 from borgerli/fix-kubelet-config-log

1.21 regression: fix regression introduced by PR 100320 - sensitive information would be logged
This commit is contained in:
Kubernetes Prow Robot
2022-03-03 00:28:48 -08:00
committed by GitHub

View File

@@ -256,7 +256,7 @@ HTTP server: The kubelet can also listen for HTTP and respond to a simple API
config.StaticPodURLHeader[k] = []string{"<masked>"}
}
// log the kubelet's config for inspection
klog.V(5).InfoS("KubeletConfiguration", "configuration", kubeletServer.KubeletConfiguration)
klog.V(5).InfoS("KubeletConfiguration", "configuration", config)
// run the kubelet
return Run(ctx, kubeletServer, kubeletDeps, utilfeature.DefaultFeatureGate)