-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patches of nested attribute for some parameters are not being generated #31
Comments
the patches are fine for arrays like we can use the following generator:
lets use the following example:
use crossplane beta render:
so you can see scalingConfiguration is patched correctly |
please use provider-aws 1.7.0 and if its possible v1beta2 for DBCluster - check release notes for cross-reference: https://github.com/crossplane-contrib/provider-upjet-aws/releases/tag/v1.7.0 i highly recommend to use a generator config like:
lets use the following example:
use crossplane beta render:
|
What happened?
After migrating RDS dbcluster to Upbound official provider and update the
generate.yaml
file accordingly, the generated composition had only the object/array name patch for therestoreToPointInTime
field and ignored any nested fields underneathrestoreToPointInTime
. Similar behaviour happened with:s3Import
,scalingConfiguration
, andserverlessv2ScalingConfiguration
. Unlike the normal behaviour with the old provider where there're patches for all nested attribute of similar nested fields.Except for
scalingConfiguration
, the other three are new parameters, or let's say they got restructured with the Upbound provider.How can we reproduce it?
generate.yaml
ready for Upbound provider and runmake generate
:restoreToPointInTime
fieldwhereas we expects patches for the whole new structure
What environment did it happen in?
kubectl version
): v1.27.13-eks-3af4770The text was updated successfully, but these errors were encountered: