mirror of https://github.com/knative/caching.git
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 <automation@knative.team>
This commit is contained in:
parent
a160d0cdb0
commit
9c09289337
4
go.mod
4
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
|
||||
)
|
||||
|
|
7
go.sum
7
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=
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue