From 7a2b91b04309a2314b90946c60e6e81663dc0796 Mon Sep 17 00:00:00 2001 From: kaveh Date: Tue, 28 Apr 2026 14:10:57 +0200 Subject: [PATCH] chore: Remove obsolete contextual logging exclusions in Kubelet configuration --- hack/golangci-hints.yaml | 2 -- hack/golangci.yaml | 2 -- hack/logcheck.conf | 2 -- 3 files changed, 6 deletions(-) diff --git a/hack/golangci-hints.yaml b/hack/golangci-hints.yaml index f47998c90cf..3d3932eb8c7 100644 --- a/hack/golangci-hints.yaml +++ b/hack/golangci-hints.yaml @@ -352,8 +352,6 @@ linters: contextual k8s.io/kubernetes/pkg/kubelet/.* # Temporary carve-outs for PR1 split safety: these files still have legacy global klog calls. # TODO: remove each exclusion as follow-up PRs migrate the file to contextual logging. - -contextual k8s.io/kubernetes/pkg/kubelet/kubelet_resources.go - -contextual k8s.io/kubernetes/pkg/kubelet/kubelet_volumes.go -contextual k8s.io/kubernetes/pkg/kubelet/volume_host.go sorted: # Installed there by hack/verify-golangci-lint.sh. diff --git a/hack/golangci.yaml b/hack/golangci.yaml index 936dc4df0a9..b753944e7be 100644 --- a/hack/golangci.yaml +++ b/hack/golangci.yaml @@ -365,8 +365,6 @@ linters: contextual k8s.io/kubernetes/pkg/kubelet/.* # Temporary carve-outs for PR1 split safety: these files still have legacy global klog calls. # TODO: remove each exclusion as follow-up PRs migrate the file to contextual logging. - -contextual k8s.io/kubernetes/pkg/kubelet/kubelet_resources.go - -contextual k8s.io/kubernetes/pkg/kubelet/kubelet_volumes.go -contextual k8s.io/kubernetes/pkg/kubelet/volume_host.go sorted: # Installed there by hack/verify-golangci-lint.sh. diff --git a/hack/logcheck.conf b/hack/logcheck.conf index 34942a75f93..dff53423eed 100644 --- a/hack/logcheck.conf +++ b/hack/logcheck.conf @@ -67,6 +67,4 @@ contextual k8s.io/kubernetes/test/images/sample-device-plugin/.* contextual k8s.io/kubernetes/pkg/kubelet/.* # Temporary carve-outs for PR1 split safety: these files still have legacy global klog calls. # TODO: remove each exclusion as follow-up PRs migrate the file to contextual logging. --contextual k8s.io/kubernetes/pkg/kubelet/kubelet_resources.go --contextual k8s.io/kubernetes/pkg/kubelet/kubelet_volumes.go -contextual k8s.io/kubernetes/pkg/kubelet/volume_host.go