Skip to content

Releases: kubernetes-sigs/controller-runtime

v0.14.0

15 Dec 05:30
ddcb99d
Compare
Choose a tag to compare

Changes since v0.13.1

⚠️ Breaking Changes

  • Add Get functionality to SubResourceClient (#2094)
  • Allow configuring RecoverPanic for controllers globally (#2093)
  • Add client.SubResourceWriter (#2072)
  • Support registration and removal of event handler (#2046)
  • Update Kubernetes dependencies to v0.26 (#2043, #2087)
  • Zap log: Default to RFC3339 time encoding (#2029)
  • cache.BuilderWithOptions inherit options from caller (#1980)
  • Migrate to ginkgo v2 (#1977), this removes the pkg/envtest/printer package

✨ New Features

  • Builder: Do not require For (#2091)
  • support disable deepcopy on list funcion (#2076)
  • Add cluster.NewClientFunc with options (#2054)
  • Tidy up startup logging of kindWithCache source (#2057)
  • Add function to get reconcileID from context (#2056)
  • feat: add NOT predicate (#2031)
  • Allow to provide a custom lock interface to manager (#2027)
  • Add tls options to manager.Options (#2023)
  • Update Go version to 1.19 (#1986)

🐛 Bug Fixes

  • Prevent manager from getting started a second time (#2090)
  • Missing error log for in-cluster config (#2051)
  • Skip custom mutation handler when delete a CR (#2049)
  • fix: improve semantics of combining cache selectorsByObject (#2039)
  • Conversion webhook should not panic when conversion request is nil (#1970)

🌱 Others

  • Prepare for release 0.14 (#2100)
  • Generate files and update modules (#2096)
  • Bump github.com/onsi/ginkgo/v2 from 2.5.1 to 2.6.0 (#2097)
  • Bump golang.org/x/time (#2089)
  • Update OWNERS: remove inactive members, promote fillzpp sbueringer (#2088, #2092)
  • Default ENVTEST version to a working one (1.24.2) (#2081)
  • Update golangci-lint to v1.50.1 (#2080)
  • Bump go.uber.org/zap from 1.23.0 to 1.24.0 (#2077)
  • Bump golang.org/x/sys from 0.2.0 to 0.3.0 (#2078)
  • Ignore Kubernetes Dependencies in Dependabot (#2071)
  • Bump github.com/prometheus/client_golang from 1.13.0 to 1.14.0 (#2070)
  • Bump github.com/onsi/ginkgo/v2 from 2.5.0 to 2.5.1 (#2066)
  • seedling to dependabot (#2065)
  • Bump github.com/onsi/gomega from 1.23.0 to 1.24.1 (#2062)
  • Bump go.uber.org/zap from 1.21.0 to 1.23.0 (#2060)
  • Bump actions/checkout from 2 to 3 (#2059)
  • Bump golangci/golangci-lint-action from 2 to 3 (#2058)
  • Add Dependabot for dependency management (#2050)
  • Deprecate Webhook Server TLSMinVersion (#2041)
  • Bump kubebuilder-release-tools to v0.2.0 (#2012)
  • grammar: removed doubles of the word "the" (#2006)
  • Refactor typed_client and unstructured_client to be consistent (#1795)

📖 Additionally, there have been 4 contributions to our documentation and book. (#2034, #2030, #2017, #1992)

Thanks to all our contributors! 😊

New Contributors

Full Changelog: v0.13.1...v0.14.0

v0.13.1

03 Nov 15:51
44c5d50
Compare
Choose a tag to compare

What's Changed

  • ✨ Add tls options to manager.Options in #2028

Full Changelog: v0.13.0...v0.13.1

v0.13.0

02 Sep 18:03
d242fe2
Compare
Choose a tag to compare

changes since v0.12.3

⚠️ Breaking Changes

  • Do not mutate the global warning handler (#1944)
  • Add GetOptions as optional argument of client.Reader and all its implementation (#1917)

✨ New Features

  • Bump golangci lint to v1.49.0 (#1988)
  • Update k8s API to v1.25 (#1985)
  • Implement IgnoreAlreadyExists (#1965)
  • Bump k8s v0.25.0-alpha.3 (#1967)
  • webhook: add an option to recover from panics in handler (#1900)
  • Provide access to admission.Request in custom validator/defaulter (#1950)
  • komega: add EqualObject matcher (#1833)
  • fix some typos (#1924)
  • Allow TLS to be entirely configured on webhook server (#1897)

🐛 Bug Fixes

  • Rearange EventBroadcaster log statement. (#1974)
  • Fix log depth for DelegatingLogSink (#1975)
  • Remove no-op clientgo reflector metrics (#1946)
  • Fix webhook write response error for broken HTTP connection (#1930)
  • Fix issue with starting multiple test envs (#1910)
  • don't override global log in builder (#1907)
  • skip mutation handler when received deletion verb (#1765)
  • fix loading CRDs from multiple directories in envtests (#1904)

Thanks to all our contributors!

v0.12.3

06 Jul 17:36
cd0058a
Compare
Choose a tag to compare

What's Changed

  • ✨ Provide access to admission.Request in custom validator/defaulter in #1952

Full Changelog: v0.12.2...v0.12.3

v0.12.2

23 Jun 14:35
f561596
Compare
Choose a tag to compare

changes since v0.12.1

✨ New Features

  • Allow TLS to be entirely configured on webhook server (#1914)

🐛 Bug Fixes

  • Fix webhook write response error for broken HTTP connection (#1931)
  • Fix issue with starting multiple test envs (#1913)
  • don't override global log in builder (#1911)

Thanks to all our contributors!

v0.12.1

17 May 13:57
3966c67
Compare
Choose a tag to compare

changes since v0.12.0

🐛 Bug Fixes

  • fix loading CRDs from multiple directories in envtests (#1905)

Thanks to all our contributors!

v0.12.0

11 May 19:20
2f77235
Compare
Choose a tag to compare

changes since v0.11.2

⚠️ Breaking Changes

  • make fake client delete operations honor dry run opt (#1873)
  • logging: align to Kubernetes structured logging, add reconcileID (#1827)
  • leaderelection: use 'leases' as default resource lock object (#1773)

✨ New Features

  • certwatcher: add metrics to monitor certificate reads (#1877)
  • Bump to k8s.io v1.24.0 (#1885)
  • Bump to k8s.io v1.24.0-rc.1 (#1879)
  • return a bool from AddFinalizer and RemoveFinalizer (#1636)
  • update client-go to 1.24-beta (#1864)
  • Add BaseContext to manager Options for use with Runnables (#1846)
  • Upgrade k8s dependencies from 1.23.0 to 1.23.5 (#1843)
  • Add Kubernetes Gomega extension with to make testing controllers easier (#1767)
  • manager.go: Fix a few Options fields' go-docs (#1818)
  • Bump go in setup-envtest (#1777)

🐛 Bug Fixes

  • Fix panic for lazy dynamicRESTMapper (#1891)
  • pkg: envtest: komega: fix UpdateStatus & typos in godoc (#1862)
  • zap-time-encoding test should allow negative tz offset (#1856)
  • returned objects of reference type should be unchangeable (#1851)
  • prometheus/client_golang 0.11.0 -> 0.11.1 - fix DoS (#1813)
  • Cache sync cancelled should not error with timeout (#1808)
  • Use leader config for election events (#1803)
  • Inject func in predicate.{And,Or} (#1781)
  • Trim List if List GVK is provided (#1775)
  • Cleanup if envtest controlplane fails to start (#1750)
  • Try a temporary directory if the user cache fails (#1800)

Thanks to all our contributors!

v0.11.2

30 Mar 18:11
bf71fc5
Compare
Choose a tag to compare

changes since v0.11.1

✨ New Features

  • Upgrade k8s dependencies from 1.23.0 to 1.23.5 (#1853)

Thanks to all our contributors!

v0.11.1

15 Feb 15:29
6627ea2
Compare
Choose a tag to compare

changes since v0.11.0

🐛 Bug Fixes

  • Fixed a bug in newGVKFixupWatcher which caused the metadata informer to hang (#1801)

Thanks to all our contributors!

v0.11.0

14 Dec 16:44
f236f03
Compare
Choose a tag to compare

Changes since v0.10.3

⚠️ Breaking Changes

  • Update k8s.io/* dependencies to v0.23.0 (#1738, #1709, #1741)
  • Refactor manager to avoid race conditions and provide clean shutdown (#1695)
  • Avoid shallow copies of webhooks and CRDs in testenv (#1667)

✨ New Features

  • Allow configuring a default cache selector (#1710)
  • Fix SetupSignalHandler godoc (#1716)
  • Bump to Go 1.17, k8s.io v1.23-alpha4, gomega v1.17.0, bump setup-envtest deps (#1731, #1714)
  • Improve startup logs (#1687)
  • Allow webhooks to register custom validators/defaulter types (#1676)
  • Switch from rsa to ecdsa in tinyca (#1674)

🐛 Bug Fixes

  • Correctly pass cache options on (#1743)
  • Avoid panic in envtest by checking before dereferencing (#1724)
  • Fix the internal cache object selector (#1703)
  • client/config: use filepath.Join for loadingRules.Precedence (#1677)

🌱 Others

  • Bump golang.org/x/text to v0.3.7 (#1736)
  • Allow Specification of the Log Timestamp Format (#1688)
  • Fake Client: extend builder with an option to set a RESTMapper (#1683)
  • Source should retry to get informers until timeout expires (#1678)

📖 Additionally, there have been 2 contributions to our documentation and book. (#1722, #1698)

Thanks to all our contributors! 😊