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(kms): Parse key policies before compare #1894

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

MisterMX
Copy link
Collaborator

@MisterMX MisterMX commented Oct 10, 2023

Description of your changes

Avoid unnecessary JSON diffs for KMS key policies by parsing them into a resource policy struct before comparing them, similar to #1757.

Fixes #1892

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Unit tests

@MisterMX MisterMX requested a review from chlunde October 10, 2023 15:36
Signed-off-by: Maximilian Blatt (external expert on behalf of DB Netz) <maximilian.blatt-extern@deutschebahn.com>
@MisterMX MisterMX merged commit bc5c888 into crossplane-contrib:master Oct 12, 2023
11 checks passed
@github-actions
Copy link

Successfully created backport PR #1904 for release-0.44.

@MisterMX MisterMX deleted the fix/kms-policy-compare branch October 19, 2023 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kms.Key policy format update-loop
2 participants