Merge pull request #115669 from aramase/aramase/f/structured_logging_check_kms

logcheck.conf: ensure that kms and value/encrypt uses structured logging
This commit is contained in:
Kubernetes Prow Robot 2023-02-09 20:37:46 -08:00 committed by GitHub
commit d2f40481d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -20,6 +20,9 @@ structured k8s.io/kubernetes/cmd/kubelet/.*
structured k8s.io/kubernetes/pkg/kubelet/.*
structured k8s.io/kubernetes/pkg/proxy/.*
structured k8s.io/kubernetes/pkg/scheduler/.*
structured k8s.io/kms/.*
structured k8s.io/apiserver/pkg/storage/value/.*
structured k8s.io/apiserver/pkg/server/options/encryptionconfig/.*
# The following packages have been migrated to contextual logging.
# Packages matched here do not have to be listed above because

View File

@ -157,7 +157,6 @@ func (s *Base64Plugin) ExitFailedState() {
// Update keyID for the plugin.
func (s *Base64Plugin) UpdateKeyID() {
klog.Info("updating keyID")
s.mu.Lock()
defer s.mu.Unlock()
s.keyID = "2"