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

Fix AccessKey.iam reconciliation #1344

Merged
merged 3 commits into from
Jun 6, 2024

Conversation

ulucinar
Copy link
Collaborator

@ulucinar ulucinar commented Jun 6, 2024

Description of your changes

Related issue: crossplane/upjet#416
Depends on: crossplane/upjet#417

If the MR API has a spec.forProvider.status field and there are sensitive attributes, then fieldpath.Paved.ExpandWildcards complains instead of expanding as an empty slice, which breaks the reconciliation.
Please refer to crossplane/upjet#417 for more context on the issue.

This PR bumps upjet to v1.4.1.

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

- If the MR API has a spec.forProvider.status field and there are sensitive attributes, then
  fieldpath.Paved.ExpandWildcards complains instead of expanding as an empty slice, which
  breaks the reconciliation.
- This PR consumes the upjet fix that restores the old behavior.

Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
@ulucinar ulucinar marked this pull request as draft June 6, 2024 09:45
@ulucinar ulucinar changed the title Fix UserAccess.iam reconciliation Fix AccessKey.iam reconciliation Jun 6, 2024
Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
@ulucinar
Copy link
Collaborator Author

ulucinar commented Jun 6, 2024

/test-examples="examples/iam/v1beta1/accesskey.yaml"

@ulucinar
Copy link
Collaborator Author

ulucinar commented Jun 6, 2024

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

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

ulucinar commented Jun 6, 2024

/test-examples="examples/iam/v1beta1/accesskey.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.

@ulucinar ulucinar merged commit cde0ffc into crossplane-contrib:main Jun 6, 2024
12 checks passed
@ulucinar ulucinar deleted the fix-upjet-416 branch June 6, 2024 12:06
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