Upgrade crossplane runtime and add namespaced resources#147
Closed
ricCap wants to merge 13 commits intocrossplane-contrib:mainfrom
Closed
Upgrade crossplane runtime and add namespaced resources#147ricCap wants to merge 13 commits intocrossplane-contrib:mainfrom
ricCap wants to merge 13 commits intocrossplane-contrib:mainfrom
Conversation
- Update crossplane-runtime from v1.20.0 to v2.0.0 - Implement missing interface methods for crossplane-runtime v2 compatibility: - Add GetUsers/SetUsers for UserCounter interface on ProviderConfig - Add GetItems for ProviderConfigUsageList interface - Add SetResourceReference/GetResourceReference for ProviderConfigUsage - Add compile-time interface validation with var _ assignments - Fix JQ expression syntax in e2e test examples: - Remove problematic outer parentheses from URL expressions - Fix Authorization header secret injection syntax - Add interface casting tests to prevent runtime panics - Update go.mod and go.sum for crossplane-runtime v2 dependencies - Use chainsaw for e2e tests Signed-off-by: Riccardo Capraro <capraroriccardo@gmail.com>
Key changes include: - Complete API reorganization with cluster/ and namespaced/ separation - Enhanced controller architecture with dual registration - Comprehensive examples and documentation for both scopes - Updated build configuration and CRD generation All changes are backwards compatible Signed-off-by: Riccardo Capraro <capraroriccardo@gmail.com>
…sues - Fix DisposableRequest deletion logic to skip secret injection during deletion - Fix cross-namespace owner reference validation in data-patcher to prevent errors - Add unit tests for DisposableRequest namespaced controller - Update example configuration to remove invalid setOwnerReference for cross-namespace secrets - Add data-patcher tests for cross-namespace scenarios - Fix secret name mismatch in request-with-clusterproviderconfig.yaml example Signed-off-by: Riccardo Capraro <capraroriccardo@gmail.com>
…me-and-add-namespaced-resources
This was referenced Nov 17, 2025
Contributor
Author
|
Closing in favour of #148, which adds also tls support and fixes the commit history |
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.
Description of your changes
This PR contains the changes from #139 and #141, and implements namespaced MRs #128.
This PR includes:
http.m.crossplane.ioThe aim of this PR is to avoid any breaking changes to the existing resources
The changes are based on the following examples:
Warning Not sure how to modify the hack folder, I left it as it was
Fixes #128
I have:
make reviewable testto ensure this PR is ready for review.How has this code been tested
Test in ArgoCD
Install using helm and use this application