Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update module k8s.io/klog to v2 #131

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate-bot
Copy link
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
k8s.io/klog v1.0.0 -> v2.130.1 age adoption passing confidence

Release Notes

kubernetes/klog (k8s.io/klog)

v2.130.1: Prepare klog release for Kubernetes v1.31 (Take 2)

Compare Source

What's Changed

Full Changelog: kubernetes/klog@v2.130.0...v2.130.1

v2.130.0: Prepare klog release for Kubernetes v1.31 (Take 1)

Compare Source

What's Changed

New Contributors

Full Changelog: kubernetes/klog@v2.120.1...v2.130.0

v2.120.1: Prepare klog release for Kubernetes v1.30 (Take 2)

Compare Source

What's Changed

Full Changelog: kubernetes/klog@v2.120.0...v2.120.1

v2.120.0: Prepare klog release for Kubernetes v1.30 (Take 1)

Compare Source

What's Changed

New Contributors

Full Changelog: kubernetes/klog@v2.110.1...v2.120.0

v2.110.1: Prepare klog release for Kubernetes v1.29 (Take 1)

Compare Source

What's Changed

New Contributors

Full Changelog: kubernetes/klog@v2.100.1...v2.110.1

v2.100.1: Prepare klog release for Kubernetes v1.28 (Take 1)

Compare Source

What's Changed

New Contributors

Full Changelog: kubernetes/klog@v2.90.1...v2.100.1

v2.90.1: Prepare klog release for Kubernetes v1.27 (Take 2)

Compare Source

What's Changed

Full Changelog: kubernetes/klog@v2.90.0...v2.90.1

v2.90.0: Prepare klog release for Kubernetes v1.27 (Take 1)

Compare Source

What's Changed

Full Changelog: kubernetes/klog@v2.80.1...v2.90.0

There are some API differences from previous version
k8s.io/klog/v2/klogr contains incompatible changes:
 - klogger.Enabled: removed
 - klogger.Error: removed
 - klogger.Info: removed

k8s.io/klog/v2/test contains incompatible changes:
 - InitKlog: changed from func() to func(testing.TB) *flag.FlagSet

v2.80.1: Prepare klog release for Kubernetes v1.26 (Take 2)

Compare Source

What's Changed

Full Changelog: kubernetes/klog@v2.80.0...v2.80.1

v2.80.0: Prepare klog release for Kubernetes v1.26 (Take 1)

Compare Source

What's Changed

Full Changelog: kubernetes/klog@v2.70.1...v2.80.0

v2.70.1: Prepare klog release for Kubernetes v1.25 (Take 2)

Compare Source

What's Changed

Full Changelog: kubernetes/klog@v2.70.0...v2.70.1

v2.70.0: Prepare klog release for Kubernetes v1.25 (Take 1)

Compare Source

What's Changed

New Contributors

Full Changelog: kubernetes/klog@v2.60.1...v2.70.0

v2.60.1: Prepare klog release for Kubernetes v1.24 (Take 6)

Compare Source

What's Changed

Full Changelog: kubernetes/klog@v2.60.0...v2.60.1

v2.60.0: Prepare klog release for Kubernetes v1.24 (Take 5)

Compare Source

What's Changed

Full Changelog: kubernetes/klog@v2.50.2...v2.60.0

v2.50.2

Compare Source

v2.50.1: Prepare klog release for Kubernetes v1.24 (Take 4)

Compare Source

What's Changed

Full Changelog: kubernetes/klog@v2.50.0...v2.50.1

v2.50.0: Prepare klog release for Kubernetes v1.24 (Take 3)

Compare Source

What's Changed

New Contributors

Full Changelog: kubernetes/klog@v2.40.1...v2.50.0

v2.40.1: Prepare klog release for Kubernetes v1.24 (Take 2)

Compare Source

What's Changed

New Contributors

Full Changelog: kubernetes/klog@v2.40.0...v2.40.1

v2.40.0: Prepare klog release for Kubernetes v1.24

Compare Source

What's Changed

Known Issues

New Contributors

Full Changelog: kubernetes/klog@v2.30.0...v2.40.0

v2.30.0: Prepare klog release for Kubernetes v1.23 (take 2)

Compare Source

What's Changed

New Contributors

Full Changelog: kubernetes/klog@v2.20.0...v2.30.0

v2.20.0: Prepare klog release for Kubernetes v1.23

Compare Source

Changes are here : kubernetes/klog@v2.10.0...v2.20.0

since we moved to logr v1.0.0, there are incompatible changes:

- klogger.Enabled: changed from func() bool to func(int) bool
- klogger.Info: changed from func(string, ...interface{}) to func(int, string, ...interface{})
- klogger.V: removed
- klogger.WithCallDepth: changed from func(int) github.com/go-logr/logr.Logger to func(int) github.com/go-logr/logr.LogSink
- klogger.WithName: changed from func(string) github.com/go-logr/logr.Logger to func(string) github.com/go-logr/logr.LogSink
- klogger.WithValues: changed from func(...interface{}) github.com/go-logr/logr.Logger to func(...interface{}) github.com/go-logr/logr.LogSink

83653a6 Update to newest versions of golang 1.17.x
d648c2e fix file-based filtering symbolization
8ee3d65 export ClearLogger
4171f3c Switching to logr tag v1.0.0
9ab3c2b add serathius as approvers of klog

v2.10.0: One more change to support 1.22 release

Compare Source

Changes are here : kubernetes/klog@v2.9.0...v2.10.0

new function added:

func KObjs(arg interface{}) []ObjectRef

v2.9.0: Prepare release for Kubernetes v1.22

Compare Source

Changes are here : kubernetes/klog@v2.8.0...v2.9.0

6a9ef3f fix typo
59f7cb5 fix byte array display in InfoS and ErrorS
cf22f1e Call logr with call depth
e95c7e3 make SetLogger thread-safe
2728fe1 check usage of format specifier in structured log func
a18bc97 Fix by pr suggestions
4e4135c Add check for InfoS & ErrorS parameters

v2.8.0: Bug fixes for structured logging for Kubernetes v1.21

Compare Source

v2.7.0: Miscellaneous fixes for structured logging for Kubernetes v1.21

Compare Source

Changes are here : kubernetes/klog@v2.6.0...v2.7.0

v2.6.0: Adding a linter for Kubernetes v1.21

Compare Source

Changes are here : kubernetes/klog@v2.5.0...v2.6.0

please see https://github.com/kubernetes/klog/tree/master/hack/tools/logcheck

v2.5.0: Prepare release for Kubernetes v1.21

Compare Source

Changes are here : kubernetes/klog@v2.4.0...v2.5.0

klog.go has new API:

+func ErrorSDepth(depth int, err error, msg string, keysAndValues ...interface{}) {
+func InfoSDepth(depth int, msg string, keysAndValues ...interface{}) {

klogr/klogr.go has new API:

func (l klogger) WithCallDepth(depth int) logr.Logger {
func NewWithOptions(options ...Option) logr.Logger {
func WithFormat(format Format) Option {

v2.4.0: Prepare release for Kubernetes v1.20

Compare Source

Changes are here : kubernetes/klog@v2.3.0...v2.4.0

v2.3.0: Fix Typo-ed Method Error -> ErrorS

Compare Source

Changes are here : kubernetes/klog@v2.2.0...v2.3.0

v2.2.0: Dependency update and bugfix for InfoS

Compare Source

  • 2e691eb Fix missing fields in verbose InfoS
  • 966c986 feat use go-logr v0.2.0

Changes are here : kubernetes/klog@v2.1.0...v2.2.0

v2.1.0: Better support for Structured Logging

Compare Source

We are now enforcing API compatibility, added Windows based tests, and have tweaked the structured logging methods after some real world experience updating kubernetes main repo.

  • bbd9ca1 Add tests for error in InfoS
  • 1ccc0e1 fix imported bug time encode format form kvlistFormat
  • dd4d1a6 fix typo in README.md
  • 49123d4 ErrorS(nil, ...) should call loggr.Error(nil, ...)
  • 5b199cd Fix documentation for V(level)
  • d1eb30f Add apidiff script to check go signature changes
  • dc505bf Switch slack channel to #klog
  • a47ebb9 Add example for co-existence of klog v1 and v2
  • 134f148 logName(): lazily lookup userName instead of on init()
  • db06a1b fix serialization of special html chars
  • 5727d2a Fix Windows integration tests
  • edbc1d3 test(*): TestRollover failed randomly on Windows
  • 6f99060 Add LogToStderr, a programatic way to log exclusively to stderr or not

v2.0.0: Release to support Kubernetes v1.19

Compare Source

Beware of type change: Verbose

New Methods:

  • SetLogger (override logger to set a custom implementation)
  • InfoS (structured logging)
  • ErrorS (structured logging)

Changes are here : kubernetes/klog@v2.0.0-rc.1...v2.0.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

forking-renovate bot commented Nov 11, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pre-sync/oci-image-verification/go.sum
Command failed: go get -d -t ./...
go: -d flag is deprecated. -d=true is a no-op
go: downloading github.com/google/go-containerregistry v0.20.2
go: downloading github.com/sigstore/cosign/v2 v2.4.1
go: downloading k8s.io/api v0.32.0
go: downloading k8s.io/apimachinery v0.32.0
go: downloading github.com/opencontainers/go-digest v1.0.0
go: downloading golang.org/x/oauth2 v0.23.0
go: downloading golang.org/x/sync v0.8.0
go: downloading github.com/cyberphone/json-canonicalization v0.0.0-20231011164504-785e29786b46
go: downloading github.com/digitorus/timestamp v0.0.0-20231217203849-220c5c2851b7
go: downloading github.com/go-openapi/runtime v0.28.0
go: downloading github.com/go-openapi/strfmt v0.23.0
go: downloading github.com/go-openapi/swag v0.23.0
go: downloading github.com/google/certificate-transparency-go v1.2.1
go: downloading github.com/in-toto/in-toto-golang v0.9.0
go: downloading github.com/nozzle/throttler v0.0.0-20180817012639-2ea982251481
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/secure-systems-lab/go-securesystemslib v0.8.0
go: downloading github.com/sigstore/rekor v1.3.6
go: downloading github.com/sigstore/sigstore v1.8.9
go: downloading github.com/sigstore/timestamp-authority v1.2.2
go: downloading github.com/transparency-dev/merkle v0.0.2
go: downloading golang.org/x/term v0.25.0
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading github.com/google/gofuzz v1.2.0
go: downloading k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738
go: downloading github.com/docker/cli v27.1.1+incompatible
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/docker/distribution v2.8.3+incompatible
go: downloading cloud.google.com/go/compute/metadata v0.5.0
go: downloading github.com/digitorus/pkcs7 v0.0.0-20230818184609-3a137a874352
go: downloading github.com/go-openapi/errors v0.22.0
go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2
go: downloading github.com/google/uuid v1.6.0
go: downloading github.com/mitchellh/mapstructure v1.5.0
go: downloading github.com/oklog/ulid v1.3.1
go: downloading go.mongodb.org/mongo-driver v1.14.0
go: downloading github.com/mailru/easyjson v0.7.7
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading golang.org/x/crypto v0.28.0
go: downloading k8s.io/klog/v2 v2.130.1
go: downloading github.com/shibumi/go-pathspec v1.3.0
go: downloading golang.org/x/sys v0.26.0
go: downloading github.com/sigstore/protobuf-specs v0.3.2
go: downloading github.com/go-openapi/validate v0.24.0
go: downloading github.com/blang/semver v3.5.1+incompatible
go: downloading golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8
go: downloading github.com/spf13/viper v1.19.0
go: downloading github.com/letsencrypt/boulder v0.0.0-20240620165639-de9c06129bec
go: downloading github.com/theupdateframework/go-tuf v0.7.0
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading github.com/xanzy/go-gitlab v0.109.0
go: downloading k8s.io/client-go v0.28.3
go: downloading github.com/ThalesIgnite/crypto11 v1.2.5
go: downloading github.com/miekg/pkcs11 v1.1.1
go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.4.2
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3
go: downloading github.com/sirupsen/logrus v1.9.3
go: downloading github.com/opencontainers/image-spec v1.1.0
go: downloading github.com/containerd/stargz-snapshotter/estargz v0.14.3
go: downloading github.com/klauspost/compress v1.17.9
go: downloading github.com/josharian/intern v1.0.0
go: downloading github.com/go-logr/logr v1.4.2
go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20240827150818-7e3bb234dfed
go: downloading google.golang.org/protobuf v1.35.1
go: downloading github.com/opentracing/opentracing-go v1.2.0
go: downloading go.opentelemetry.io/otel v1.29.0
go: downloading go.opentelemetry.io/otel/trace v1.29.0
go: downloading github.com/go-openapi/analysis v0.23.0
go: downloading github.com/go-openapi/jsonpointer v0.21.0
go: downloading github.com/go-openapi/loads v0.22.0
go: downloading github.com/go-openapi/spec v0.21.0
go: downloading github.com/go-chi/chi v4.1.2+incompatible
go: downloading go.uber.org/zap v1.27.0
go: downloading golang.org/x/mod v0.20.0
go: downloading github.com/fsnotify/fsnotify v1.7.0
go: downloading github.com/sagikazarmark/locafero v0.4.0
go: downloading github.com/sagikazarmark/slog-shim v0.1.0
go: downloading github.com/spf13/afero v1.11.0
go: downloading github.com/spf13/cast v1.6.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/jedisct1/go-minisign v0.0.0-20230811132847-661be99b8267
go: downloading github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399
go: downloading github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d
go: downloading github.com/google/go-github/v55 v55.0.0
go: downloading github.com/google/go-querystring v1.1.0
go: downloading github.com/hashicorp/go-cleanhttp v0.5.2
go: downloading github.com/hashicorp/go-retryablehttp v0.7.7
go: downloading golang.org/x/time v0.7.0
go: downloading golang.org/x/net v0.30.0
go: downloading github.com/imdario/mergo v0.3.16
go: downloading github.com/thales-e-security/pool v0.0.2
go: downloading github.com/json-iterator/go v1.1.12
go: downloading sigs.k8s.io/yaml v1.4.0
go: downloading github.com/fxamacker/cbor/v2 v2.7.0
go: downloading github.com/docker/docker-credential-helpers v0.8.0
go: downloading github.com/vbatts/tar-split v0.11.5
go: downloading go.opentelemetry.io/otel/metric v1.29.0
go: downloading github.com/go-openapi/jsonreference v0.21.0
go: downloading go.uber.org/multierr v1.11.0
go: downloading github.com/sassoftware/relic v7.2.1+incompatible
go: downloading github.com/sourcegraph/conc v0.3.0
go: downloading golang.org/x/text v0.19.0
go: downloading github.com/subosito/gotenv v1.6.0
go: downloading github.com/hashicorp/hcl v1.0.1-vault-5
go: downloading gopkg.in/ini.v1 v1.67.0
go: downloading github.com/magiconair/properties v1.8.7
go: downloading github.com/pelletier/go-toml/v2 v2.2.2
go: downloading github.com/go-jose/go-jose/v4 v4.0.4
go: downloading github.com/ProtonMail/go-crypto v0.0.0-20230923063757-afb1ddc0824c
go: downloading github.com/golang/protobuf v1.5.4
go: downloading github.com/google/gnostic-models v0.6.9-0.20230804172637-c7be7c783f49
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/modern-go/reflect2 v1.0.2
go: downloading github.com/x448/float16 v0.8.4
go: downloading github.com/go-logr/stdr v1.2.2
go: downloading github.com/golang/snappy v0.0.4
go: downloading k8s.io/kube-openapi v0.0.0-20241105132330-32ad38e42d3f
go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
go: downloading github.com/spf13/cobra v1.8.1
go: downloading github.com/cloudflare/circl v1.3.7
go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822
go: downloading github.com/inconshreveable/mousetrap v1.1.0
go: downloading github.com/emicklei/go-restful/v3 v3.11.0
go: downloading k8s.io/klog v1.0.0
go: admission-webhook imports
	github.com/sigstore/cosign/v2/pkg/signature imports
	github.com/sigstore/cosign/v2/pkg/cosign/kubernetes imports
	k8s.io/client-go/kubernetes imports
	k8s.io/client-go/kubernetes/typed/flowcontrol/v1alpha1 imports
	k8s.io/api/flowcontrol/v1alpha1: cannot find module providing package k8s.io/api/flowcontrol/v1alpha1
go: admission-webhook imports
	github.com/sigstore/cosign/v2/pkg/signature imports
	github.com/sigstore/cosign/v2/pkg/cosign/kubernetes imports
	k8s.io/client-go/kubernetes imports
	k8s.io/client-go/kubernetes/typed/resource/v1alpha2 imports
	k8s.io/api/resource/v1alpha2: cannot find module providing package k8s.io/api/resource/v1alpha2

@renovate-bot renovate-bot requested review from janetkuo, nan-yu and a team as code owners November 11, 2024 15:00
@@ -7,7 +7,7 @@ require (
github.com/sigstore/cosign/v2 v2.4.1
k8s.io/api v0.31.2
k8s.io/apimachinery v0.31.2
k8s.io/klog v1.0.0
k8s.io/klog/v2 v2.130.1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tiffanny29631 Can you take a look whether we need both k8s.io/klog and k8s.io/klog/v2?

@renovate-bot renovate-bot force-pushed the renovate/k8s.io-klog-2.x branch from 12950c9 to 0590434 Compare December 17, 2024 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants