aws / aws-application-networking-k8s

A Kubernetes controller for Amazon VPC Lattice
https://www.gateway-api-controller.eks.aws.dev/
Apache License 2.0
157 stars 48 forks source link

Allow targetgroup policy attached to serviceExport #622

Closed liwenwu-amazon closed 2 months ago

liwenwu-amazon commented 2 months ago

What type of PR is this?

feature

Which issue does this PR fix:

What does this PR do / Why do we need it: Allow targetgroup policy being attached to a serviceExport object.

If an issue # is not available please add repro steps and logs from aws-gateway-controller showing the issue: Today, there is no way to configure target group policy for target group reconciled from serviceExport CRD.

Testing done on this change:

make presubmit pass

Automation added to e2e:

Will this PR introduce any new dependencies?:

no

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

no

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.