Skip to content
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

Bump upjet to v1.4.0 #1325

Merged
merged 2 commits into from
May 24, 2024
Merged

Conversation

ulucinar
Copy link
Collaborator

@ulucinar ulucinar commented May 24, 2024

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:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

ulucinar added 2 commits May 24, 2024 14:08
- Generate secret references for the sensitive fields under the
  spec.initProdier API trees.

Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
…der.user is not specified

- Move spec.forProvider.user of the Broker.mq dependency to spec.initProvider.user in the
  User.mq example manifest.

Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
@ulucinar
Copy link
Collaborator Author

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

@ulucinar
Copy link
Collaborator Author

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

@turkenf
Copy link
Collaborator

turkenf commented May 24, 2024

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

@turkenf
Copy link
Collaborator

turkenf commented May 24, 2024

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

Copy link
Collaborator

@turkenf turkenf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @ulucinar, LGTM.

Copy link
Collaborator

@sergenyalcin sergenyalcin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ulucinar LGTM!

@ulucinar ulucinar merged commit 0bc985c into crossplane-contrib:main May 24, 2024
15 checks passed
@ulucinar ulucinar deleted the bump-upjet-1.4.0 branch May 24, 2024 13:10
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.

3 participants