-
Notifications
You must be signed in to change notification settings - Fork 4.6k
xds: generate listeners directly from API gateway snapshot #17398
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
Merged
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
af41a67
API Gateway XDS Primitives, endpoints and clusters (#17002)
sarahalsmiller bdae6b2
Routes for API Gateway (#17158)
sarahalsmiller 36c0d63
checkpoint, skeleton, tests not passing
sarahalsmiller c7d6f79
checkpoint
sarahalsmiller 463c5fe
endpoints xds cluster configuration
sarahalsmiller 94188ea
resources test fix
sarahalsmiller ed82d8c
fix reversion in resources_test
sarahalsmiller e3f1e85
checkpoint
sarahalsmiller 8f5ea9e
Update agent/proxycfg/api_gateway.go
sarahalsmiller 890aaed
unit tests passing
sarahalsmiller 8728cac
gofmt
sarahalsmiller 562c789
add deterministic sorting to appease the unit test gods
sarahalsmiller 077741d
remove panic
sarahalsmiller 029ae91
Find ready upstream matching listener instead of first in list
nathancoleman 3204325
Clean up, improve TODO
nathancoleman a13a37d
Modify getReadyUpstreams to filter upstreams by listener (#17410)
nathancoleman b302597
clean up todos, references to api gateway in listeners_ingress
sarahalsmiller 6cdd69a
Merge branch 'NET-3673-endpointsFromSnapshotAPIGateway' into NET-3671…
sarahalsmiller 61e78ee
merge in Nathan's fix
sarahalsmiller 2f794e6
Update agent/consul/discoverychain/gateway.go
sarahalsmiller c22a4a3
cleanup current todos, remove snapshot manipulation from generation code
sarahalsmiller 554ac6f
Update agent/structs/config_entry_gateways.go
sarahalsmiller ba3ef70
Update agent/consul/discoverychain/gateway.go
sarahalsmiller d1bf338
Update agent/consul/discoverychain/gateway.go
sarahalsmiller 257ac0e
Update agent/proxycfg/snapshot.go
sarahalsmiller b73a1ce
clarified header comment for FlattenHTTPRoute, changed RebuildHTTPRou…
sarahalsmiller 0d3454c
Merge branch 'NET-3671-makeAPIGatewayListeners' of github.com:hashico…
sarahalsmiller 606afa2
Merge branch 'main' into NET-3671-makeAPIGatewayListeners
sarahalsmiller b9b4e1c
simplify cert logic
sarahalsmiller 1b413e1
Delete scratch
sarahalsmiller c905897
revert route related changes in listener PR
sarahalsmiller ff3f6b3
Update agent/consul/discoverychain/gateway.go
sarahalsmiller 7180fbc
Update agent/proxycfg/snapshot.go
sarahalsmiller 1700631
clean up uneeded extra lines in endpoints
sarahalsmiller 9c30c40
Merge branch 'NET-3671-makeAPIGatewayListeners' of github.com:hashico…
sarahalsmiller c47dd2a
Merge branch 'main' into NET-3671-makeAPIGatewayListeners
sarahalsmiller c4c8e9d
Merge branch 'main' into NET-3671-makeAPIGatewayListeners
sarahalsmiller 967fe11
clean up extra function
sarahalsmiller 3826310
Replace TODO with FUTURE comment for removal
nathancoleman 92351d5
Remove inapplicable TODO
nathancoleman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the crux of the whole change that we're making: instead of converting to an ingress gateway snapshot and generating xDS resources from that, we generate xDS resources directly from our API gateway snapshot 🎉