Skip to content

Bump sigs.k8s.io/controller-runtime from 0.6.4 to 0.7.0 #525

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 14, 2020

Bumps sigs.k8s.io/controller-runtime from 0.6.4 to 0.7.0.

Release notes

Sourced from sigs.k8s.io/controller-runtime's releases.

v0.7.0

Changes since v0.6.4

⚠️ Breaking Changes

Use client.Object & client.ObjectList

A number of methods that previously took runtime.Object & internally type-asserted them to metav1.Object now take client.Object (for non-list objects) or client.ObjectList (for lists). The practical upshot of this is more type-safety and clarity around what's required for particular methods.

All concrete API types (anything that implements runtime.Object & has a metadata field) already implement client.Object or client.ObjectList, so practical impact should be limited to folks who pass around runtime.Object values instead of concrete types.

  • Introduce and use client.Object and client.ObjectList (#1195)
  • Use client.Object for event handlers (#1118)
  • Fakeclient: Allow to pass ObjectLists to constructors (#1259)
  • client.ObjectKeyFromObject now uses client.Object (#1224)
  • Handler: Remove MapObject type and use client.Object directly (#1207)
  • Use client.Object interface in envtest (#1200)

High-Impact

  • pkg/webhook/admission: upgrade v1beta1 admission types to v1 (#1284)

    Impact: construct v1 Go types instead of v1beta1. Both versions are supported on the wire.

  • Change leaderlock from ConfigMap to ConfigMapsLeasesResourceLock (#1144)

    Impact: New RBAC permissions are needed by default for leaderelection (for the coordination/v1 API). The new lock will automatically deal with existing configmap locks (e.g. during upgrades). The can be set to its previous value ("configmaps") in manager.Options.

  • Propagate context.Context throughout the codebase (#1116)

    Impact: update various methods to accept a context.Context object, which can be used to structure timeouts and stopping loops/operations in lieu of channels

  • Change default webhook port to 9443 (#1076)

    Impact: update your deployment configuration to use port 9443, or manually configure the webhook port in manager Options.

  • Remove logs from internal controller (#1096)

    Impact: automatic logs for "succesful reconcile" no longer exist (it tended to duplicate manual logs that folks had in place).

  • Remove deprecated "--master" flag (#1039)

... (truncated)

Commits
  • f7a3dc6 Merge pull request #1293 from estroz/bugfix/webhook-admissionreview-version
  • 27ef229 pkg/webhook/admission: set GVK on AdmissionReview responses
  • 3410e75 Merge pull request #1289 from timebertt/fix/inject-manager-logger
  • b9197ef 🐛 Inject manager's logger instead of internal one
  • 43331a6 Merge pull request #1288 from vincepri/add-test-unstrucutred-list
  • 52ba546 Add test that checks List works on UnstructuredList not in Scheme
  • 758d268 Merge pull request #1284 from estroz/feature/wh-admissionreview-v1
  • 8161d1c pkg/webhook/admission: upgrade v1beta1 admission types to v1
  • f349d96 Merge pull request #1281 from vincepri/fake-client-builder
  • d915eb1 ✨ Add fake.NewClientBuilder to build new fake clients
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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 dependabot bot added the dependencies Pull requests that update a dependency file label Dec 14, 2020
@dependabot dependabot bot force-pushed the dependabot/go_modules/sigs.k8s.io/controller-runtime-0.7.0 branch from d762c78 to 3a4d254 Compare December 21, 2020 16:48
@dependabot dependabot bot force-pushed the dependabot/go_modules/sigs.k8s.io/controller-runtime-0.7.0 branch from 3a4d254 to 3f5f69a Compare January 4, 2021 13:31
Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from 0.6.4 to 0.7.0.
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
- [Commits](kubernetes-sigs/controller-runtime@v0.6.4...v0.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/sigs.k8s.io/controller-runtime-0.7.0 branch from 3f5f69a to c5108aa Compare January 5, 2021 12:27
@ChunyiLyu
Copy link
Contributor

Contains breaking changes. Closing in favor of: #542

@ChunyiLyu ChunyiLyu closed this Jan 5, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 5, 2021

OK, I won't notify you again about this release, but will get in touch when a new version is available.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/go_modules/sigs.k8s.io/controller-runtime-0.7.0 branch January 5, 2021 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant