Skip to content

Add Destination Field to Service-Defaults for Tproxy Egress#1352

Merged
DanStough merged 3 commits intomainfrom
dstough/CSLC-136/tproxy-destinations
Jul 28, 2022
Merged

Add Destination Field to Service-Defaults for Tproxy Egress#1352
DanStough merged 3 commits intomainfrom
dstough/CSLC-136/tproxy-destinations

Conversation

@DanStough
Copy link
Copy Markdown
Contributor

Changes proposed in this PR:

  • Adds the "Destination" field to the "ServiceDefaults" CRD spec to be consistent with the consul core API. This enables external mesh traffic to be routed through terminating gateways in transparent mode.
  • Minor CONTRIBUTING update based on first-time contributor experience.

How I've tested this PR:

Short version (detailed test plan available upon request)

  • Build control-plane
  • Deploy through Helm chart to local cluster w/ transparent proxy enabled and dev image override.
  • Add static-client application
  • Add service-default CRD w/ destination to "httpbin.org:443"
  • Add mesh CRD with "meshDestinationsOnly" enabled
  • Add terminating gateway CRD w/ link to "httpbin" service default
  • Exec into client pod and "curl https://httpbin.org/uuid"

Acceptance Tests(?): TBD

How I expect reviewers to test this PR:

  • Something similar to the above process.

Checklist:
TBD Below

  • Tests added
  • CHANGELOG entry added

@DanStough
Copy link
Copy Markdown
Contributor Author

Looks like there is some weirdness w/ the new SDK update. Will investigate.

@DanStough DanStough marked this pull request as ready for review July 19, 2022 18:45
Copy link
Copy Markdown
Contributor

@thisisnotashwin thisisnotashwin left a comment

Choose a reason for hiding this comment

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

This is excellent!! Have a comment that should be straightforward to address, but excellent work!!

@DanStough DanStough force-pushed the dstough/CSLC-136/tproxy-destinations branch from de21e88 to c7376e6 Compare July 26, 2022 14:14
@DanStough DanStough requested review from a team and ishustava and removed request for a team July 26, 2022 14:42
Copy link
Copy Markdown
Contributor

@ishustava ishustava left a comment

Choose a reason for hiding this comment

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

Great work, Dan!! This looks fantastic! Just a few minor comments.

@DanStough DanStough force-pushed the dstough/CSLC-136/tproxy-destinations branch from c7376e6 to 3a5660a Compare July 27, 2022 16:21
@DanStough DanStough merged commit d3b38de into main Jul 28, 2022
@DanStough DanStough deleted the dstough/CSLC-136/tproxy-destinations branch July 28, 2022 13:49
@DanStough DanStough mentioned this pull request Jul 28, 2022
2 tasks
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.

3 participants