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

add default Crossplane tags to iam.Policy #1207

Merged

Conversation

cebernardi
Copy link
Contributor

@cebernardi cebernardi commented Mar 14, 2022

Signed-off-by: Cecilia Bernardi [email protected]

Description of your changes

Fixes #1206

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
  • Manual tests on a kind cluster configured with an AWS account:
    • Create resource scenario: a new iam.policy crossplane resource was created and the default tags were added in the kubernetes cluster; the policy was successfully created in the configured AWS account with the default tags
    • Add custom tags scenario: custom tags were added to the crossplane resources, and the AWS policy was successfully tagged with the new tags
    • Modify custom tags scenario: custom tags were modified on the kubernetes resource, and the modification was successfully reconciled with the AWS resource (could observe tags values being modified)
    • Remove custom tags scenario: custom tags were removed from the kubernetes resource, and after the reconciliation, the tags were removed also from the AWS resource
    • Modify / Remove default tags: default tags were removed and changed, and they were immediately restored. No modification was observed on the AWS resource

@cebernardi cebernardi changed the title added default Crossplane tags to iam.Policy add default Crossplane tags to iam.Policy Mar 14, 2022
@cebernardi cebernardi force-pushed the add-default-tags-to-iam-policy branch from 4834bb0 to dc91682 Compare March 14, 2022 12:22
@haarchri
Copy link
Member

@cebernardi can you please rebase ? we had an issue in master branch

@cebernardi cebernardi force-pushed the add-default-tags-to-iam-policy branch from dc91682 to 3324643 Compare March 14, 2022 18:43
@cebernardi
Copy link
Contributor Author

@cebernardi can you please rebase ? we had an issue in master branch

sure, done!

Copy link
Member

@haarchri haarchri left a comment

Choose a reason for hiding this comment

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

LGTM - tested thanks for contribution

@haarchri haarchri merged commit a32b7d3 into crossplane-contrib:master Mar 18, 2022
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.

Missing crossplane default tags from iam.Policy
2 participants