Skip to content

Commit 7ba809d

Browse files
chore(deps): bump k8s.io/klog/v2 from 2.90.1 to 2.110.1 (#53)
Bumps [k8s.io/klog/v2](https://github.com/kubernetes/klog) from 2.90.1 to 2.110.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/kubernetes/klog/releases">k8s.io/klog/v2's releases</a>.</em></p> <blockquote> <h2>Prepare klog release for Kubernetes v1.29 (Take 1)</h2> <h2>What's Changed</h2> <ul> <li>fix: SetLogger via klog.SetLogger will output an unexpected newline by <a href="https://github.com/aimuz"><code>@​aimuz</code></a> in <a href="https://redirect.github.com/kubernetes/klog/pull/378">kubernetes/klog#378</a></li> <li>resolve comments warning by <a href="https://github.com/lowang-bh"><code>@​lowang-bh</code></a> in <a href="https://redirect.github.com/kubernetes/klog/pull/379">kubernetes/klog#379</a></li> <li>stderrthreshold: fix flag comment by <a href="https://github.com/pohly"><code>@​pohly</code></a> in <a href="https://redirect.github.com/kubernetes/klog/pull/376">kubernetes/klog#376</a></li> <li>enable &quot;go vet&quot; checks for parameters by <a href="https://github.com/pohly"><code>@​pohly</code></a> in <a href="https://redirect.github.com/kubernetes/klog/pull/390">kubernetes/klog#390</a></li> <li>promote experimental code to stable by <a href="https://github.com/pohly"><code>@​pohly</code></a> in <a href="https://redirect.github.com/kubernetes/klog/pull/392">kubernetes/klog#392</a></li> <li>golangci-lint action by <a href="https://github.com/pohly"><code>@​pohly</code></a> in <a href="https://redirect.github.com/kubernetes/klog/pull/380">kubernetes/klog#380</a></li> <li>output: handle WithName like zapr does by <a href="https://github.com/pohly"><code>@​pohly</code></a> in <a href="https://redirect.github.com/kubernetes/klog/pull/391">kubernetes/klog#391</a></li> <li>slog support + logr 1.3.0 update by <a href="https://github.com/pohly"><code>@​pohly</code></a> in <a href="https://redirect.github.com/kubernetes/klog/pull/384">kubernetes/klog#384</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/aimuz"><code>@​aimuz</code></a> made their first contribution in <a href="https://redirect.github.com/kubernetes/klog/pull/378">kubernetes/klog#378</a></li> <li><a href="https://github.com/lowang-bh"><code>@​lowang-bh</code></a> made their first contribution in <a href="https://redirect.github.com/kubernetes/klog/pull/379">kubernetes/klog#379</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/kubernetes/klog/compare/v2.100.1...v2.110.1">https://github.com/kubernetes/klog/compare/v2.100.1...v2.110.1</a></p> <h2>Prepare klog release for Kubernetes v1.28 (Take 1)</h2> <h2>What's Changed</h2> <ul> <li>expose logBridge via NewStandardLog() by <a href="https://github.com/mikedanese"><code>@​mikedanese</code></a> in <a href="https://redirect.github.com/kubernetes/klog/pull/369">kubernetes/klog#369</a></li> <li>add Format wrapper by <a href="https://github.com/pohly"><code>@​pohly</code></a> in <a href="https://redirect.github.com/kubernetes/klog/pull/374">kubernetes/klog#374</a></li> <li>JSON as fallback encoding by <a href="https://github.com/pohly"><code>@​pohly</code></a> in <a href="https://redirect.github.com/kubernetes/klog/pull/375">kubernetes/klog#375</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/mikedanese"><code>@​mikedanese</code></a> made their first contribution in <a href="https://redirect.github.com/kubernetes/klog/pull/369">kubernetes/klog#369</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/kubernetes/klog/compare/v2.90.1...v2.100.1">https://github.com/kubernetes/klog/compare/v2.90.1...v2.100.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/kubernetes/klog/commit/e3f75b8af2707d64b5dd4c440ae8384ed2f2c386"><code>e3f75b8</code></a> Merge pull request <a href="https://redirect.github.com/kubernetes/klog/issues/384">#384</a> from pohly/slog</li> <li><a href="https://github.com/kubernetes/klog/commit/44eadc3e71f44b0c1d05d418f56b9ad2a26dbb22"><code>44eadc3</code></a> add slog support</li> <li><a href="https://github.com/kubernetes/klog/commit/cc856bbc4c50f2f46025ce2eb9aafaca1348be92"><code>cc856bb</code></a> update to logr 1.3.0</li> <li><a href="https://github.com/kubernetes/klog/commit/02e7b690e1843f6cd2ff2798c078c590f4fc2d41"><code>02e7b69</code></a> Merge pull request <a href="https://redirect.github.com/kubernetes/klog/issues/391">#391</a> from pohly/with-name-output</li> <li><a href="https://github.com/kubernetes/klog/commit/009a04a3c02d8e53d467c07af1d1450688e9489f"><code>009a04a</code></a> output: handle WithName like zapr does</li> <li><a href="https://github.com/kubernetes/klog/commit/b588475177a181857ce8803b244820d9e17fc14f"><code>b588475</code></a> Merge pull request <a href="https://redirect.github.com/kubernetes/klog/issues/380">#380</a> from pohly/golangci-lint-action</li> <li><a href="https://github.com/kubernetes/klog/commit/1a0dfc5c09bcc50ec451a9254c81b7cabfe8ca8d"><code>1a0dfc5</code></a> github: run golangci-lint via action</li> <li><a href="https://github.com/kubernetes/klog/commit/ef25537ae5d41941682b835688b2e46fd2ec4c1f"><code>ef25537</code></a> fix revive issues</li> <li><a href="https://github.com/kubernetes/klog/commit/edee20c93dac65751e33157bac50429f38a65bff"><code>edee20c</code></a> Merge pull request <a href="https://redirect.github.com/kubernetes/klog/issues/392">#392</a> from pohly/promote-experimental</li> <li><a href="https://github.com/kubernetes/klog/commit/18cdd3ac11ed6fd58998bf83e171b3282a01f2bb"><code>18cdd3a</code></a> promote experimental code to stable</li> <li>Additional commits viewable in <a href="https://github.com/kubernetes/klog/compare/v2.90.1...v2.110.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=k8s.io/klog/v2&package-manager=go_modules&previous-version=2.90.1&new-version=2.110.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 2a6c09e commit 7ba809d

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

cmd/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
1313
clientgoscheme "k8s.io/client-go/kubernetes/scheme"
1414
_ "k8s.io/client-go/plugin/pkg/client/auth"
15-
"k8s.io/klog/v2/klogr"
15+
"k8s.io/klog/v2/textlogger"
1616
ctrl "sigs.k8s.io/controller-runtime"
1717
"sigs.k8s.io/controller-runtime/pkg/cache"
1818
"sigs.k8s.io/controller-runtime/pkg/event"
@@ -44,7 +44,7 @@ func main() {
4444
}
4545

4646
func run() error {
47-
ctrl.SetLogger(klogr.New())
47+
ctrl.SetLogger(textlogger.NewLogger(textlogger.NewConfig()))
4848

4949
// initiate flags
5050
f := flags.InitiateFlags()

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ require (
2323
k8s.io/api v0.27.2
2424
k8s.io/apimachinery v0.27.2
2525
k8s.io/client-go v0.27.2
26-
k8s.io/klog/v2 v2.90.1
26+
k8s.io/klog/v2 v2.110.1
2727
k8s.io/utils v0.0.0-20230726121419-3b25d923346b
2828
sigs.k8s.io/controller-runtime v0.15.0
2929
)

go.sum

+2-3
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4
3939
github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw=
4040
github.com/gabriel-vasile/mimetype v1.4.2 h1:w5qFW6JKBz9Y393Y4q372O9A7cUSequkh1Q7OhCmWKU=
4141
github.com/gabriel-vasile/mimetype v1.4.2/go.mod h1:zApsH/mKG4w07erKIaJPFiX0Tsq9BFQgN3qGY5GnNgA=
42-
github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
4342
github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
4443
github.com/go-logr/logr v1.3.0 h1:2y3SDp0ZXuc6/cjLSZ+Q3ir+QB9T/iG5yYRXqsagWSY=
4544
github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
@@ -406,8 +405,8 @@ k8s.io/client-go v0.27.2 h1:vDLSeuYvCHKeoQRhCXjxXO45nHVv2Ip4Fe0MfioMrhE=
406405
k8s.io/client-go v0.27.2/go.mod h1:tY0gVmUsHrAmjzHX9zs7eCjxcBsf8IiNe7KQ52biTcQ=
407406
k8s.io/component-base v0.27.2 h1:neju+7s/r5O4x4/txeUONNTS9r1HsPbyoPBAtHsDCpo=
408407
k8s.io/component-base v0.27.2/go.mod h1:5UPk7EjfgrfgRIuDBFtsEFAe4DAvP3U+M8RTzoSJkpo=
409-
k8s.io/klog/v2 v2.90.1 h1:m4bYOKall2MmOiRaR1J+We67Do7vm9KiQVlT96lnHUw=
410-
k8s.io/klog/v2 v2.90.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0=
408+
k8s.io/klog/v2 v2.110.1 h1:U/Af64HJf7FcwMcXyKm2RPM22WZzyR7OSpYj5tg3cL0=
409+
k8s.io/klog/v2 v2.110.1/go.mod h1:YGtd1984u+GgbuZ7e08/yBuAfKLSO0+uR1Fhi6ExXjo=
411410
k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f h1:2kWPakN3i/k81b0gvD5C5FJ2kxm1WrQFanWchyKuqGg=
412411
k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f/go.mod h1:byini6yhqGC14c3ebc/QwanvYwhuMWF6yz2F8uwW8eg=
413412
k8s.io/utils v0.0.0-20230726121419-3b25d923346b h1:sgn3ZU783SCgtaSJjpcVVlRqd6GSnlTLKgpAAttJvpI=

0 commit comments

Comments
 (0)