mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +00:00
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:
commit
428ec843a5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user