From 9c092893371acd0b4f38768c6e980d73b246af5f Mon Sep 17 00:00:00 2001 From: knative-automation Date: Fri, 10 Jun 2022 07:37:25 -0400 Subject: [PATCH] upgrade to latest dependencies (#647) bumping knative.dev/pkg 19adf79...865e331: > 865e331 Update community files (# 2530) > ec27457 Update community files (# 2529) > 759dd87 Update community files (# 2528) > aad4309 sets mutating webhook ReinvocationPolicy to ifNeeded (# 2472) > 9ffe192 Update community files (# 2527) > bac16f2 Update community files (# 2525) > 18f6995 Log metrics/logging init messages at debug level (# 2522) bumping knative.dev/hack 12d3e2a...fd240e2: > fd240e2 Update community files (# 184) > 40350b6 Update community files (# 183) > 674c2b3 Update community files (# 182) > 0c389ad Update community files (# 181) > bafe4b1 Update community files (# 180) Signed-off-by: Knative Automation --- go.mod | 4 ++-- go.sum | 7 ++++--- vendor/knative.dev/pkg/logging/config.go | 4 ++-- vendor/knative.dev/pkg/metrics/metrics_worker.go | 4 ++-- vendor/knative.dev/pkg/metrics/prometheus_exporter.go | 2 +- vendor/modules.txt | 4 ++-- 6 files changed, 13 insertions(+), 12 deletions(-) diff --git a/go.mod b/go.mod index addaa697..3088ea7e 100644 --- a/go.mod +++ b/go.mod @@ -10,6 +10,6 @@ require ( k8s.io/client-go v0.23.5 k8s.io/code-generator v0.23.5 k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65 - knative.dev/hack v0.0.0-20220524153203-12d3e2a7addc - knative.dev/pkg v0.0.0-20220524202603-19adf798efb8 + knative.dev/hack v0.0.0-20220609132040-fd240e2cef5c + knative.dev/pkg v0.0.0-20220609131940-865e331abfa5 ) diff --git a/go.sum b/go.sum index f9b62d31..03a02ba5 100644 --- a/go.sum +++ b/go.sum @@ -1147,10 +1147,11 @@ k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/ k8s.io/utils v0.0.0-20211116205334-6203023598ed/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 h1:HNSDgDCrr/6Ly3WEGKZftiE7IY19Vz2GdbOCyI4qqhc= k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -knative.dev/hack v0.0.0-20220524153203-12d3e2a7addc h1:gqxyFRgwJDioT4DmRYezz6z2j/wvFZVUbl6c9KeMj6I= knative.dev/hack v0.0.0-20220524153203-12d3e2a7addc/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI= -knative.dev/pkg v0.0.0-20220524202603-19adf798efb8 h1:7vZxPKJsJ4LkJTLiTy48nfykzfDi69OS4GKRs0qeSM4= -knative.dev/pkg v0.0.0-20220524202603-19adf798efb8/go.mod h1:pApypeWDkGrsMkUDkV6StWXS4CXhwGWuJEID9GGZY0Y= +knative.dev/hack v0.0.0-20220609132040-fd240e2cef5c h1:zuuEoCJE9cQOB5t1zV4hzjUhl8am0BtDunnFH1XGoVg= +knative.dev/hack v0.0.0-20220609132040-fd240e2cef5c/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI= +knative.dev/pkg v0.0.0-20220609131940-865e331abfa5 h1:qtFPDp0f2PzAo1+yKvMd6HF2iHrFaVMRnQhmVKpzqmY= +knative.dev/pkg v0.0.0-20220609131940-865e331abfa5/go.mod h1:pApypeWDkGrsMkUDkV6StWXS4CXhwGWuJEID9GGZY0Y= pgregory.net/rapid v0.3.3/go.mod h1:UYpPVyjFHzYBGHIxLFoupi8vwk6rXNzRY9OMvVxFIOU= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= diff --git a/vendor/knative.dev/pkg/logging/config.go b/vendor/knative.dev/pkg/logging/config.go index 2cf81a82..de979368 100644 --- a/vendor/knative.dev/pkg/logging/config.go +++ b/vendor/knative.dev/pkg/logging/config.go @@ -114,8 +114,8 @@ func newLoggerFromConfig(configJSON, levelOverride string, opts []zap.Option) (* return nil, zap.AtomicLevel{}, err } - logger.Info("Successfully created the logger.") - logger.Info("Logging level set to: " + loggingCfg.Level.String()) + logger.Debug("Successfully created the logger.") + logger.Debug("Logging level set to: " + loggingCfg.Level.String()) return logger, loggingCfg.Level, nil } diff --git a/vendor/knative.dev/pkg/metrics/metrics_worker.go b/vendor/knative.dev/pkg/metrics/metrics_worker.go index 0b7753ac..6f2ccff2 100644 --- a/vendor/knative.dev/pkg/metrics/metrics_worker.go +++ b/vendor/knative.dev/pkg/metrics/metrics_worker.go @@ -73,7 +73,7 @@ func (cmd *updateMetricsConfigWithExporter) handleCommand(w *metricsWorker) { ctx := cmd.ctx logger := logging.FromContext(ctx) if isNewExporterRequired(cmd.newConfig) { - logger.Info("Flushing the existing exporter before setting up the new exporter.") + logger.Debug("Flushing the existing exporter before setting up the new exporter.") flushGivenExporter(curMetricsExporter) e, f, err := newMetricsExporter(cmd.newConfig, logger) if err != nil { @@ -88,7 +88,7 @@ func (cmd *updateMetricsConfigWithExporter) handleCommand(w *metricsWorker) { cmd.done <- err return } - logger.Infof("Successfully updated the metrics exporter; old config: %v; new config %v", existingConfig, cmd.newConfig) + logger.Debugf("Successfully updated the metrics exporter; old config: %v; new config %v", existingConfig, cmd.newConfig) } setCurMetricsConfigUnlocked(cmd.newConfig) cmd.done <- nil diff --git a/vendor/knative.dev/pkg/metrics/prometheus_exporter.go b/vendor/knative.dev/pkg/metrics/prometheus_exporter.go index 7c177b12..b5b39d9f 100644 --- a/vendor/knative.dev/pkg/metrics/prometheus_exporter.go +++ b/vendor/knative.dev/pkg/metrics/prometheus_exporter.go @@ -48,7 +48,7 @@ func newPrometheusExporter(config *metricsConfig, logger *zap.SugaredLogger) (vi logger.Errorw("Failed to create the Prometheus exporter.", zap.Error(err)) return nil, nil, err } - logger.Infof("Created Prometheus exporter with config: %v. Start the server for Prometheus exporter.", config) + logger.Debugf("Created Prometheus exporter with config: %v. Start the server for Prometheus exporter.", config) // Start the server for Prometheus scraping go func() { srv := startNewPromSrv(e, config.prometheusHost, config.prometheusPort) diff --git a/vendor/modules.txt b/vendor/modules.txt index 328ad6ce..fdd13b66 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -600,10 +600,10 @@ k8s.io/utils/integer k8s.io/utils/internal/third_party/forked/golang/net k8s.io/utils/net k8s.io/utils/trace -# knative.dev/hack v0.0.0-20220524153203-12d3e2a7addc +# knative.dev/hack v0.0.0-20220609132040-fd240e2cef5c ## explicit knative.dev/hack -# knative.dev/pkg v0.0.0-20220524202603-19adf798efb8 +# knative.dev/pkg v0.0.0-20220609131940-865e331abfa5 ## explicit knative.dev/pkg/apis knative.dev/pkg/apis/duck