Migrate platform-ref-azure from Crossplane v1 to v2 with namespaced resources #172
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.
Description of your changes
XRD API version:
apiextensions.crossplane.io/v1→v2Resource kinds: Removed X-prefix (
XCluster→Cluster,XSQLInstance→SQLInstance, etc.)Scope: All XRs are now namespaced (
scope: Namespaced)File naming: Renamed examples from
*-claim.yamlto*-xr.yamlManagement:
deletionPolicy→managementPoliciesarrayDependencies: Updated all 6 dependent configurations to v2.0.0 (configuration-app to v2.1.0)
XRDs: Updated to v2 API with namespace scope, removed
claimNamesandconnectionSecretKeysFunctions: Updated to use namespaced provider APIs (
azurem,helmm) and v2 patternsTests: Updated composition and E2E tests to v2 conventions with proper namespace handling
Usage Resources: Migrated to
protection.crossplane.io/v1beta1API with namespace supportProvider Config: Added provider-family-azure to E2E test initResources for RBAC workaround
Fixed configuration-app label propagation to support Usage resource dependencies
Updated helm Release API to namespaced version in Usage resources
I have:
make reviewableto ensure this PR is ready for review.backport release-x.ylabels to auto-backport this PR, as appropriate.How has this code been tested
✅ All composition tests passing
✅ E2E test passing
skipDelete: Trueand Acceptance testing of ghost application