Skip to content

Conversation

@ricCap
Copy link
Owner

@ricCap ricCap commented Nov 14, 2025

This PR is equivalent to #3 but publishes the changes to Githhub Packages

- 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>
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.

2 participants