Repository navigation
Update module github.com/crossplane/crossplane/apis/v2 to v2.5.0 - #395
Merged
bobh66 merged 1 commit intoNov 25, 2026
Merged
Conversation
bobh66
approved these changes
Nov 25, 2026
renovate
Bot
deleted the
renovate/github.com-crossplane-crossplane-apis-v2-2.x
branch
November 25, 2026 18:11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
v2.5.0-rc.0.0.20261029180807-76a72bee8a19→v2.5.0Release Notes
crossplane/crossplane (github.com/crossplane/crossplane/apis/v2)
v2.5.0Compare Source
The
v2.5.0release is a regular quarterly Crossplane release that is focused on maturing a number of key areas of functionality across the project, as Crossplane continues to become more capable, more reliable, and more performant for your production workloads. This release includes function-controlled deletion, referencing functions by OCI digest, garbage collection of unusedCompositionRevisions, lower memory usage, security hardening, and a wide range of fixes and reliability improvements. It also includes security fixes in Crossplane's Go toolchain and dependencies.🚨 v1.20 end-of-life (EOL)
With the release of v2.5, v1.20 has reached its EOL and will no longer receive any support or maintenance by the Crossplane project.
v1.20.15is the final release of v1.20.Is your control plane ready for v2?
Upgrading to Crossplane v2 does not require any migration as part of the upgrade process, with the exception of the minimal breaking changes explicitly called out in the v2 documentation. If your control plane is not affected by those changes, you can simply upgrade to v2 right away.
To better assist Crossplane users in determining if their control planes are affected by any of the breaking changes in v2, we have released a v2 readiness checker tool in the v1.20 Crossplane CLI that can be invoked via
crossplane beta upgrade check. You can read all about this tool in the following resources:Crossplane Downstream Distributions
Downstream distributions are eligible to continue their extended support and maintenance for their releases that are based on upstream Crossplane's v1.20. Check with your vendor for more details if you are using a downstream distribution of Crossplane.
v2.4It is strongly advised to upgrade to
v2.5from the previous minor version, which isv2.4. 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 as described in the upgrade docs.🚨 v2.5 Notable and Breaking Changes
status.crossplaneis now reserved for Crossplane on modern XRs, the same wayspec.crossplanealready is.status.crossplane.deletionPolicy, and replaces anystatus.crossplanean XRD's schema declares.status.crossplane, move them to a different status field before upgrading.🎉 Highlights
Compositionfieldspec.deletionPolicylets you specify the deletion behavior:Background(the default) keeps today's behaviorForegroundkeeps the XR alive until all composed resources are deleted completelyPipelinekeeps running your functions during deletion so they decide how/when to delete their composed resourcescrossplane internal rendercan also render an XR's deletion so you can see it play out locally.--enable-function-controlled-deletion. See the design, #8000 and #8012.CompositionorOperationcan now reference a function package directly by digest with the newfunctionfield, instead of afunctionRefby name to an installedFunction.CompositionRevisionpins the exact function versions it calls, so a function upgrade no longer changes the behavior of every XR at once and can be rolled out progressively like any other composition change.--enable-pipeline-oci-references. See the design and #7840, fixing #6139.CompositionRevisions(alpha): Crossplane can now garbage collectCompositionRevisionsthat are no longer in use, instead of that list continuing to grow forever.--enable-composition-revision-gc, Crossplane deletes unused revisions beyond the newspec.unusedRevisionHistoryLimitfield onComposition(default1, and0keeps every revision).PackageRevisioncontrollers stopped rewriting unchanged status on every sync (#7851), andUsagesno longer rewrite the in-use label on every reconcile (#7860).resolvePolicy: Optionalon a pipeline step's credential and the function runs without it when theSecretdoesn't exist, instead of simply failing the pipeline completely. If your function can work with or without credentials, then use this setting to ensure your function is run either way. #6994metadata.namespaceon it. #8050ClusterRolesonly from CRDs actually owned by theProviderRevisionor XRD, and removes stale grants on every reconcile. #8054ServiceAccountwhen its runtimeDeploymentis in Crossplane's namespace and is controlled by the exactProviderRevision. #8055enforcedCompositionRef. #7789webhooks.usage.failurePolicy(FailorIgnore) andusages.enabledlet you relax or remove theUsagewebhook, which previously blocked Azure AKS cluster stop on clusters running Crossplane. #7784crossplane-editandcrossplane-adminusers can nowkubectl scaleXRs and claims whose XRD serves the scale subresource. #7922packagePullPolicy: Alwaysno longer download the package again every minute when its tag still points to the same digest. Previously a slow registry could mark healthy ProvidersUnhealthy. crossplane/crossplane-runtime#1242, fixing #7984.ImageConfigthat only sets a runtime config is now applied right away instead of on the next resync. #7970DeploymentRuntimeConfighas adrcshort name. #8006Operationsnow record how many resources they applied instatus.appliedResources, shown in theAPPLIEDcolumn ofkubectl get operations. #7885, backported in #8075.🏅 Release MVP
For the v2.5 release cycle, we'd like to recognize @sarankumar1325 as the release MVP!
They fixed a frustrating problem for anyone using
packagePullPolicy: Always: Crossplane downloaded the package again every minute even when nothing had changed, so a slow registry could mark perfectly healthy Providers asUnhealthy. Their fix in crossplane/crossplane-runtime#1242 serves the package from the cache whenever the tag still resolves to the same digest. They also contributed fixes inprovider-gitlabthat stop approval rules from being updated on every poll (crossplane-contrib/provider-gitlab#482) and stop projects pending deletion from being renamed back (crossplane-contrib/provider-gitlab#483).Thank you for your impact on the Crossplane ecosystem @sarankumar1325! 🙇♂️
What's Changed
ProviderConfigdeletion protection under foreground deletion by @ezgidemirel in #759413d8dd5(main) by @crossplane-renovate[bot] in #77391c5b675(main) by @crossplane-renovate[bot] in #77102892aa5(main) by @crossplane-renovate[bot] in #788138b0826(main) by @crossplane-renovate[bot] in #7806303a32d(main) by @crossplane-renovate[bot] in #78536f2ac81(main) by @crossplane-renovate[bot] in #7932448cde7(main) by @crossplane-renovate[bot] in #793164ab729(main) by @crossplane-renovate[bot] in #7929cf430e0(main) by @crossplane-renovate[bot] in #793033d7b85(main) by @crossplane-renovate[bot] in #79918aa5831(main) by @crossplane-renovate[bot] in #799075c75c3(main) by @crossplane-renovate[bot] in #7985e27b872(main) by @crossplane-renovate[bot] in #802337ac33d(main) by @crossplane-renovate[bot] in #8022New Contributors
Full Changelog: crossplane/crossplane@v2.4.0...v2.5.0
Configuration
📅 Schedule: (UTC)
🚦 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 was generated by Mend Renovate. View the repository job log.