Skip to content

v0.4.0

Compare
Choose a tag to compare
@DirectXMan12 DirectXMan12 released this 15 Nov 20:43
198197f

v0.4.0

⚠️ Breaking Changes

  • Soft-bump to Go 1.13 (#685) -- this will not break anyone at the moment, but Go 1.13 features (particularly errors) may be adopted in a future feature release.

  • Bump to kube-1.16.0 (#618) -- this is breaking due to a change in metav1.ObjectMeta. It's the removal of a deprecated field, and thus unlikely to affect many people, but technically shows up in our API

  • Minor change in home directory resolution: when resolving home directories, we now use $HOME instead of user.Current(). This change was not entirely intended, but does appear to bring us in line with tooling like kubectl. See #748 for ongoing details. Thanks to @edwardecook for reporting.

  • Semantic change: don't error on missing watched types in controller.New (#643): due to changes in when controllers start their watches, you will no longer receive errors if your watch types aren't registered with the API server when calling controller.New (and consequently Builder.Complete). These errors will now occur at controller (generally manager) start time instead, and will cause manager termination. See #840 for more details.

✨ New Features

  • envtest set service-cluster-ip-range if user not set (#659)
  • Add helpers for remaining Zap options (#639)
  • fakeClient: bump ResourceVersion on write (#620)
  • Update sigs.k8s.io/testing_frameworks to v0.1.2 (#672)
  • Add support for multi-value KUBECONFIG (#642)
  • Improve webhook loggings (#439)
  • implement helpers for add/remove finalizer (#545)
  • Add helpers for common Zap options (#646)
  • added health probes (#419)
  • handle unstructured objects correctly in fake client (#682)

🐛 Bug Fixes

  • InformerCache: Do not require leader lease (#678)
  • cross-namespace owner references should be disallowed (#675)
  • Fix delete example not setting metadata properly for CRDs (#674)
  • go.mod,go.sum: revert prometheus/client_golang to v0.9.x (#679)
  • pkg/metrics/workqueue.go: remove deprecated metrics (#662)
  • Allow kube-apiserver to start without a default route (#670)
  • pkg/log/zap: use enabled in UseDevMode, add tests (#653)
  • prevent controller.New and manager's errChan from leaking goroutines (#651)
  • Fix comments for option in zap (#643)

Thanks to all our contributors!