Update module sigs.k8s.io/controller-runtime to v0.9.0 #94
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.8.3
->v0.9.0
Release Notes
kubernetes-sigs/controller-runtime
v0.9.0
Compare Source
Changes since v0.8.3
🚨 Significant Changes 🚨
Envtest Refactor & Support for 1.20+ Clusters (#1486)
This adds support for newer Kubernetes clusters, particularly those that require the use of authentication & the secure port, as well as some refactors & deprecation.
By and large, these changes should be transparent for most users.
As a result of the removal of the insecure port in newer k8s versions, authentication & authorization are now on by default in
envtest
(and the secure port is used by default). The built-in REST config now returns an admin account, meaning perceived impact should be minimal in most cases -- if you're using the built-inEnvironment.Config
, things should just work.However, if you manually construct new REST configs from raw URLs, things will break. You'll need to migrate to using
Environment.AddUser
instead.Additionally, a number of options on
ControlPlane
&APIServer
around the secure & insecure ports are deprecated -- see the docs for more details.Envtest Setup Tool (#1488)
A new tool has been introduced for setting up envtest binaries at
sigs.k8s.io/controller-runtime/tools/setup-envtest
. This replaces the existinghack/setup-envtest.sh
script, so if you were depending on that, you should switch. See the docs for more information.Kubernetes Dependencies
Now at v1.21.1.
moderate impact: if you're on an old Go version, it's time to upgrade 😉
minimal impact: one of the methods on WebhookInstallOptions had a signature change. Mostly internal, expected that this method is unlikely to be called directly.
moderate impact: If you're constructing a custom client, this'll change how you do so, but should make it easier in the long run.
minimal impact: adds new method to Manager interface, generally only implemented by CR)
minimal impact: exposed piece of internals was changed)
✨ New Features
Environment.KubeAPIServerFlags
) is now deprecated -- useGetAPIServer().Configure()
instead.🐛 Bug Fixes
UseExistingCluster
comment (#1434)🌱 Others
Thanks to all our contributors! 😊
Configuration
📅 Schedule: 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.
This PR has been generated by WhiteSource Renovate. View repository job log here.