Skip to content

crossplane v2: namespaced MRs#198

Merged
sergenyalcin merged 6 commits intocrossplane-contrib:mainfrom
sergenyalcin:crossplane-v2-migration
Aug 28, 2025
Merged

crossplane v2: namespaced MRs#198
sergenyalcin merged 6 commits intocrossplane-contrib:mainfrom
sergenyalcin:crossplane-v2-migration

Conversation

@sergenyalcin
Copy link
Copy Markdown
Collaborator

Description of your changes

Introduce namespaced MRs for crossplane v2 support.

notable changes:

  • New APIs are under tf.m.upbound.io group
  • Introduced the cluster-scoped ClusterProviderConfig.tf.m.crossplane.io for new APIs to refer to a cluster-scoped provider config.
  • crossplane-runtime is bumped to v2
  • spec.providerConfigRef is now accepts kind parameter, ProviderConfig or ClusterProviderConfig for new MRs.
  • spec.providerConfigRef now defaults to ClusterProviderConfig with name default when omitted.
  • External Secret Store support is removed from MRs (spec.publishConnectionDetailsTo is removed)
  • Legacy cluster-scoped MRs are left as is. Provider will serve both new and legacy APIs. Upgrading is backward-compatible.
  • Added examples for namespaced MRs.

Note for reviewers

this PR duplicates most of the controller logic and apis for namespaced MRs with several namespace-specific code modified. A refactoring of types and controllers should follow-up.

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

Tested locally.

Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
@sergenyalcin sergenyalcin marked this pull request as ready for review August 28, 2025 11:11
Copy link
Copy Markdown
Collaborator

@turkenf turkenf left a comment

Choose a reason for hiding this comment

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

Thank you @sergenyalcin, LGTM

@sergenyalcin sergenyalcin merged commit b59b205 into crossplane-contrib:main Aug 28, 2025
8 checks passed
@sergenyalcin sergenyalcin deleted the crossplane-v2-migration branch August 28, 2025 11: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