fix(deps): update module github.com/crossplane/crossplane to v2 #116
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:
v1.20.1->v2.0.2Release Notes
crossplane/crossplane (github.com/crossplane/crossplane)
v2.0.2Compare Source
This is a patch release scoped to fixing issues reported by users of Crossplane v2.0.
What's Changed
Full Changelog: crossplane/crossplane@v2.0.1...v2.0.2
v2.0.1Compare Source
This is a patch release scoped to fixing issues reported by users of Crossplane v2.0.
v2.0patch releasev2.0.1has some blocking issues that were discovered after extended post-release testing and feedback. It is not the most recentv2patch release. We strongly advise installing the latest patch (v2.0.2as of this writing) to have the highest quality experience in your control plane.The most recent patch has been promoted to the
stablechannel, so if you simply install or upgrade using thestablechannel, you don't need to take any further action.What's Changed
Full Changelog: crossplane/crossplane@v2.0.0...v2.0.1
v2.0.0Compare Source
The
v2.0.0release is the first major version update in years for the Crossplane project. It takes all the feedback and lessons from our amazing community of adopters ofv1.xreleases over the last 5 years and incorporates them into an improved, more capable, and streamlined experience. There are so many exciting enhancements that we are happy to share with the community today, as well as important changes to understand and consider when upgrading fromv1.20.v2.0patch releasev2.0.0has some blocking issues that were discovered after extended post-release testing and feedback. It is not the most recentv2patch release. We strongly advise installing the latest patch (v2.0.2as of this writing) to have the highest quality experience in your control plane.The most recent patch has been promoted to the
stablechannel, so if you simply install or upgrade using thestablechannel, you don't need to take any further action.Upgrade from
v1It is strongly advised to upgrade to
v2.0from the most recentv1minor version, which isv1.20. Upon upgrade for each minor release, Crossplane performs any necessary migrations of its CRDs to ensure the latest versions are stored in the Kubernetes API server. Therefore, it is important to upgrade sequentially through one minor version at a time.For example, if you are currently on
v1.18, then you should first upgrade tov1.19, thenv1.20, before finally upgrading tov2.0. The upgrade path in this example looks likev1.18-->v1.19-->v1.20-->v2.0. To reiterate, you should be running av1.20version before you upgrade tov2.0.🎉 Highlights
The v2 release is chock full of awesome new features that focus on making Crossplane easier to use, operate, and understand as well as be a better fit for application level resources in addition to infrastructure.
Deployment,Configmap,Secret, custom resources - anything from the Kubernetes API, not just Crossplane-defined resources. This enables full-stack abstractions of both applications and infrastructure and makes Crossplane a great fit for your entire tech stack.Operationtype supports one-off, scheduled, and event-driven workflows for operational tasks like backups, rolling upgrades, configuration validation, and scheduled maintenance.observedGeneration, i.e. the version of the resource, for which they were reconciled. You no longer need to wonder if Crossplane has seen and reconciled your latest changes.🚨 Warnings and breaking changes
Backwards Compatibility with
v1The Crossplane maintainers have taken thoughtful consideration to make major improvements and changes in
v2while maintaining backwards compatibility for the vast majority ofv1workloads. We expect most users to be able to upgrade tov2without any changes to their control plane. However, there is a set of 4 breaking changes that we have made, mostly to long deprecated features and features that have remained stuck in alpha for a long time.If you are not using any of these 4 features, you can upgrade to
v2without any issues and your existing workload should continue operating as usual.The following features have been removed:
mode: Resources)crossplane beta convert pipeline-compositioncommand available in thev1crossplaneCLI. See the Crossplane docs for details.ControllerConfigDeploymentRuntimeConfig. You can migrate your existingControllerConfigtoDeploymentRuntimeConfigwith thecrossplane beta convert deployment-runtimecommand available in thev1crossplaneCLI. See the Crossplane docs for details.Secretwithin the control plane usingspec.writeConnectionSecretToRefavailable on managed resources.spec.packageand indirectly as dependencies. For example, it is no longer valid to simply usecrossplane-contrib/provider-family-azure:v1.13.0which does not specify the host registry. You must supply the fully qualified package, including the host registry, likexpkg.crossplane.io/crossplane-contrib/provider-family-azure:v1.13.0. If a registry is not specified, then an error will be returned for the package.Go module path is now
github.com/crossplane/crossplane/v2As this release is a major version bump that has breaking changes, the rules for Go modules required the Crossplane module path to be updated to include the
v2version suffix.If you import
crossplaneandcrossplane-runtimeinto yourgo.mod, when you update tov2+you will also need to update the module path. All import statements in your code base need to be updated to also include this v2 module path, as it is effectively a module change.See this commit as an example of this type of update:
d6c489cThe module paths for v2 versions of
crossplaneandcrossplane-runtimeare:github.com/crossplane/crossplane/v2github.com/crossplane/crossplane-runtime/v2Metrics name changes
The Prometheus metrics that Crossplane exposes for the controller engine and function response caches have been updated with the addition of Operations that expands the functionality of function pipelines. The names of these metrics have been updated as follows:
crossplane_composition_controllers_*-->crossplane_engine_controllers_*crossplane_composition_watches_*-->crossplane_engine_watches_*crossplane_composition_run_function_*-->crossplane_function_run_function_*login/logoutremoved from Crossplane CLIThe
crossplane xpkg loginandcrossplane xpkg logoutcommands have been removed from the Crossplane CLI. To login to a registry before pushing a package, consider usingdocker loginlocally, or thedocker/login-actionfrom CI.An example of this pattern can be seen in many Community Extension Projects, for example
function-auto-ready.deletionPolicyremoved for namespaced managed resourcesNamespaced managed resources, that are net new in v2, no longer have the
deletionPolicyfield. This behavior can be recreated using a ManagementPolicy without the"Delete"option. For example:Existing cluster scoped managed resources are not affected.
🏅 Release MVP
Since
v2.0is such a massive release with many months of effort across many contributors in the community, it was impossible to pick a single release MVP this time - so we're going big with 3 MVPs! 📈mainbranch. He was often the quickest to spot any new regressions creeping in that e2e tests did not catch, so he contributed significantly to the overall quality of the release.function-hclas a Community Extension Project, which provides function users with a familiar HCL syntax and functionality.Thank you very much release MVPs! 🙇♂️
What's Changed
TestDowngradeE2E failures by @negz in #6415mainby @negz in #6489fca7ace(main) by @crossplane-renovate[bot] in #62045bef64f(main) by @crossplane-renovate[bot] in #6518d72941d(main) by @crossplane-renovate[bot] in #6517c231a1a(main) by @crossplane-renovate[bot] in #652474a5d14(main) by @crossplane-renovate[bot] in #6532ce28f5b(main) by @crossplane-renovate[bot] in #6536spec.controllerConfigReffrom package types by @negz in #6520writeConnectionSecretToReffrom v2 XRs by @negz in #647346d2ca1(main) by @crossplane-renovate[bot] in #6540b7b9a69(main) by @crossplane-renovate[bot] in #6542ea165f8(main) by @crossplane-renovate[bot] in #6523internal/xresource- move back topkg/resourcefrom crossplane-runtime by @negz in #6553TestCrossplaneLifecycleE2E pass (sometimes?) by @negz in #6604181d5ee(main) by @crossplane-renovate[bot] in #6608ce71cc2(main) by @crossplane-renovate[bot] in #6616CronOperationandWatchOperationby @negz in #6632WatchOperation(and add more E2Es) by @negz in #6641.status.crossplane.connectionDetailsfrom modern XR schema by @jbw976 in #6655earthly +reviewableby @ulucinar in #6688New Contributors
Full Changelog: crossplane/crossplane@v1.20.1...v2.0.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.