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

feat(destination): add resource metadata to responses #396

Merged
merged 2 commits into from
Nov 5, 2024
Merged

Conversation

olix0r
Copy link
Member

@olix0r olix0r commented Nov 5, 2024

The destination service does no include resource coordinates, so the proxy must "guess" them by parsing hostnames, which is not particularly reliable or efficient.

This change updates the destination API so that profile responses may include resource reference to (1) parent Services, (2) ServiceProfile resources and (3) backend Services. Furthermore, the WeightedAddr type is updated to include a resource reference so that Pod coordinates may be referenced.

This metadata is not required to be set (for backwards compatibility).

The destination service does no include resource coordinates, so the proxy must
"guess" them by parsing hostnames, which is not particularly reliable or
efficient.

This change updates the destination API so that profile responses may include
resource reference to (1) parent Services, (2) ServiceProfile resources and (3)
backend Services. Furthermore, the WeightedAddr type is updated to include a
resource reference so that Pod coordinates may be referenced.

This metadata is not required to be set (for backwards compatibility).
@olix0r olix0r merged commit 2a2290c into main Nov 5, 2024
8 checks passed
@olix0r olix0r deleted the ver/profile-meta branch November 5, 2024 18:42
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