Skip to content

Commit 5c5e056

Browse files
Merge pull request #5505 from openshift-cherrypick-robot/cherry-pick-5469-to-release-4.20
[release-4.20] OCPBUGS-69666: Remove log exposing kubeconfig
2 parents 8d095e4 + 585850e commit 5c5e056

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/daemon/certificate_writer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ func (dn *Daemon) syncControllerConfigHandler(key string) error {
221221
}
222222

223223
pathToData[kubeConfigPath] = newData
224-
klog.Infof("Writing new Data to /etc/kubernetes/kubeconfig: %s", string(newData))
224+
klog.Infof("Writing new Data to /etc/kubernetes/kubeconfig")
225225
}
226226
} else {
227227
klog.Info("Could not read kubeconfig file, or data does not need to be changed")

0 commit comments

Comments
 (0)