crossplane-contrib / provider-upjet-aws

Official AWS Provider for Crossplane by Upbound.
https://marketplace.upbound.io/providers/upbound/provider-aws
Apache License 2.0
137 stars 112 forks source link

Bump upjet to v1.4.0 #1325

Closed ulucinar closed 1 month ago

ulucinar commented 1 month ago

Description of your changes

Related with: #1311

This PR bumps the upjet dependency to v1.4.0 and generates the secret references under spec.initProvider API trees for the sensitive MR parameters.

spec.forProvider.user of the Broker.mq dependency is moved to spec.initProvider.user in the User.mq example manifest to ignore the desired set of broker users declared via the Broker.mq MR and to prevent a race between the Broker.mq & User.mq controllers on the (external) broker users. We now also do a late-initialization configuration for spec.forProvider.user of Broker.mq so that it will be late-initialized iff the spec.initProvider.user is not set. This configuration is done to prevent an "unintended" race condition between the aforementioned controllers in cases where the client of the Broker.mq API deliberately disables broker user lifecycle management by only setting spec.initProvider.user and leaving spec.forProvider.user unset.

I have:

How has this code been tested

ulucinar commented 1 month ago

/test-examples="examples/mq/v1alpha1/user.yaml"

ulucinar commented 1 month ago

/test-examples="examples/eks/v1beta1/clusterauth.yaml"

turkenf commented 1 month ago

/test-examples="examples/budgets/v1beta1/budget.yaml"

turkenf commented 1 month ago

/test-examples="examples/iot/v1beta1/policy.yaml"