Skip to content

Conversation

@vijtrip2
Copy link
Contributor

Issue #1187

Description of changes:

  • Resolve References again after adding the finalizer to the resource. More details about the approach and alternate solution are mentioned in issue #1187
  • The kc.Patch call when adding a finalizer, updates the desired object with the etcd copy and resets all the resolved references.
  • Resolving the references again helps in constructing the complete CreateRequest
  • Added Unit test for the Create scenario in reconciler_test.go file

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@RedbackThomson
Copy link
Contributor

Just as per your proposal in the issue.
/approve

Copy link
Collaborator

@jaypipes jaypipes left a comment

Choose a reason for hiding this comment

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

👍 thanks for splitting these up, Vijay.

@jaypipes
Copy link
Collaborator

/lgtm

@ack-bot ack-bot added the lgtm Indicates that a PR is ready to be merged. label Feb 28, 2022
@ack-bot
Copy link
Collaborator

ack-bot commented Feb 28, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jaypipes, RedbackThomson, vijtrip2

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [RedbackThomson,jaypipes,vijtrip2]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ack-bot ack-bot merged commit 6d627c9 into aws-controllers-k8s:main Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants