Skip to content

Conversation

@solmonk
Copy link
Contributor

@solmonk solmonk commented Nov 14, 2023

What type of PR is this?

enhancement

Which issue does this PR fix:

What does this PR do / Why do we need it:

Removes unnecessary updatetargetgroup calls when health check config is the same.

Why not default value in CRD? I would say health check config behavior is pretty complex and dynamic. If you see getDefaultHealthCheckConfig() function there are a few conditionals on determining the default value, which is not easy to implement on kubebuilder annotations.

If an issue # is not available please add repro steps and logs from aws-gateway-controller showing the issue:

Testing done on this change:

Automation added to e2e:

Will this PR introduce any new dependencies?:

Will this break upgrades or downgrades. Has updating a running cluster been tested?:

Does this PR introduce any user-facing change?:


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

@solmonk solmonk requested a review from mikhail-aws November 14, 2023 23:57
Copy link
Contributor

@zijun726911 zijun726911 left a comment

Choose a reason for hiding this comment

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

LGTM

@solmonk solmonk merged commit ff24127 into aws:main Nov 15, 2023
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