Skip to content

Conversation

@ytsarev
Copy link
Member

@ytsarev ytsarev commented Dec 18, 2025

Integrates comprehensive Crossplane v2 migration guides.

Two new migration guides in docs/getstarted/upgrade-to-upbound/:

  1. migrate-configurations-v2.md - Technical guide for migrating XRDs, compositions, and KCL functions from v1 to v2

    • Covers all breaking changes (namespaced resources, deletionPolicy → managementPolicies, connection secrets redesign)
    • Includes migration checklist, common errors, and solutions
  2. migrate-live-clusters-v2.md - Operational guide for migrating live clusters without recreating resources

    • Step-by-step zero-downtime migration using function-external-name-backup-restore
    • E2E-validated procedures

Description

Type of change

  • Bug fix (typo, broken link, incorrect info)
  • Content update (new info, clarification, reorganization)
  • New content (new page, section, or guide)

Checklist

  • I ran make lint locally (or will fix Vale suggestions in review)
  • Links work and point to the right places
  • If this adds new content, I tested the examples/instructions

Additional notes

image

Integrates comprehensive Crossplane v2 migration guides.

Two new migration guides in `docs/getstarted/upgrade-to-upbound/`:

1. **migrate-configurations-v2.md** - Technical guide for migrating XRDs, compositions, and KCL functions from v1 to v2
   - Covers all breaking changes (namespaced resources, deletionPolicy → managementPolicies, connection secrets redesign)
   - Includes migration checklist, common errors, and solutions

2. **migrate-live-clusters-v2.md** - Operational guide for migrating live clusters without recreating resources
   - Step-by-step zero-downtime migration using function-external-name-backup-restore
   - E2E-validated procedures

Signed-off-by: Yury Tsarev <[email protected]>
@vercel
Copy link

vercel bot commented Dec 18, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
docs Ready Ready Preview, Comment Dec 22, 2025 3:42pm

- Though not strongly required, this guide assumes you are using Crossplane
configuration packages to manage your XRDs and compositions
- v1 and v2 version of configuration package
- Both versions need to have `function-external-name-backup-restore` deployed
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we link a marketplace url ?

```yaml
- apiVersion: pkg.crossplane.io/v1
kind: Function
package: xpkg.upbound.io/solutions/function-external-name-backup-restore
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this image public ?

```

:::warning
A current limitation exists where function-credentials can't be optional.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: with an Input which store you want to use, its possible to have a CEL Rule and relax required ?

Copy link
Member

@jbw976 jbw976 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I took a closer look at the connection details section today since I just finished the upstream guide today and it was top of mind for me. Added a few comments to consider, thank you!


#### Migration path: Manually compose secrets

The official guidance from the Crossplane maintainers:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have more official guidance than this now in https://docs.crossplane.io/latest/guides/connection-details-composition, feel free to reference that instead of a offhand quote from an issue 🤓

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, great to see the guide emerged upstream!

applications can reference.
:::

#### Architecture comparison
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this section doesn't feel like it adds a lot of value that hasn't already been said, and it feels a bit too LLM-y IMHO :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch :)

- endpoint
- port

# In openAPIV3Schema
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think spec.writeConnectionSecretToRef would have ever been in the XRD schema, users would never have added it there. Crossplane would have automatically added it to the CRD that it generates from the XRD, but I don't think they'd actually ever be in the XRD schema. Are you sure about this one?

Signed-off-by: Yury Tsarev <[email protected]>
@ytsarev
Copy link
Member Author

ytsarev commented Dec 19, 2025

@haarchri @ytsarev thanks a ton, folks! I amended PR following your suggestions

@ytsarev ytsarev merged commit 3a09286 into upbound:main Dec 22, 2025
4 checks passed
@ytsarev ytsarev deleted the v2 branch December 22, 2025 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants