Commit Graph

59 Commits

Author SHA1 Message Date
Menghan Li afded7231d
xds/federation: update xdsclient to support multi authority (#5042) 2022-01-04 15:50:50 -08:00
Menghan Li a32d2778f3
xds/client: send connection errors to all watchers (#5054) 2021-12-13 13:56:30 -08:00
Zach Reyes fd4e3bdc3a
xds: Added env var for RLS in xDS (#5050)
* xds: Added env var for RLS in xDS
2021-12-09 03:28:58 -05:00
Menghan Li d35aff3c83
xds/federation: resource name parsing (#4991) 2021-12-08 12:07:10 -08:00
Menghan Li 62f73ecd84
xds/client: move xdsclient.New tests to controller.New (#5037) 2021-12-08 10:53:49 -08:00
Menghan Li 1ec7a89333
xds/client: send NewStream errors to the watchers (#5032) 2021-12-08 10:04:20 -08:00
Menghan Li f3bbd12084
xds/bootstrap_config: add a string function to server config (#5031) 2021-12-02 13:54:15 -08:00
Menghan Li bdf8336f2a
xds/client: cleanup Dump to remove unnecessary version field (#4978) 2021-11-16 10:45:02 -08:00
Zach Reyes 6e79bc8afe
xdsclient: add Cluster Specifier Name to Route (#4972)
* xdsclient: add Cluster Specifier Name to Route
2021-11-12 15:50:27 -05:00
Doug Fawley d61c7ae86d
internal: merge xds/envconfig into env package (#4923) 2021-11-10 17:05:08 -08:00
Menghan Li 52d9416739
xds/client: move transport_helper from xdsclient to a separate struct (#4968) 2021-11-10 15:03:10 -08:00
Zach Reyes 6603e730b5
xds: Added validation and construction of RBAC matcher engine to ParseConfig (#4964)
* xds: Added validation and construction of RBAC matcher engine to ParseConfig
2021-11-09 19:21:32 -05:00
Zach Reyes d57363ab5d
xds: Add Cluster Specifier Plugin to xdsclient (#4967)
* xds: Add Cluster Specifier Plugin to xdsclient
2021-11-09 19:03:39 -05:00
Doug Fawley c25a52b769
config: remove retry disable via environment variable (#4922) 2021-11-09 13:06:38 -08:00
Menghan Li 59e024e4c7
xds/client: move watchers from xdsclient to a separate struct (#4963) 2021-11-09 10:32:16 -08:00
Menghan Li 82c2825168
xds/federation: support new bootstrap fields and protect them by an env var (#4936) 2021-11-08 14:18:52 -08:00
Menghan Li c53203c581
xds/federation: support populating resource template in xds-resolver (#4900) 2021-11-08 14:17:48 -08:00
Menghan Li 79e9c9571a
xds/client: move unmarshal functions and types to a separate package (#4904) 2021-11-08 11:11:24 -08:00
Zach Reyes c105005da2
xds: NACK missing route specifier server side (#4925)
* xds: NACK missing route specifier server side
2021-11-03 13:25:05 -04:00
Menghan Li 29deb6bfa1
xds/bootstrap: refactor to support top level and per-authority server config (#4892) 2021-11-02 10:26:08 -07:00
Zach Reyes d47437c91e
xds: Fix invert functionality for header matcher (#4902)
* Fix invert functionality for header matcher
2021-10-28 12:16:33 -04:00
Zach Reyes 4757d0249e
xds: Make regex matchers match on full string, not just partial match (#4875)
* xds: Make regex matchers match on full string, not just partial match
2021-10-15 16:14:49 -04:00
Doug Fawley 36d87572db
attributes: add Equal method; resolver: add AddressMap and State.BalancerAttributes (#4855) 2021-10-15 10:39:56 -07:00
Easwar Swaminathan 3bae5f5b65
xds: use protos from cncf/xds instead of cncf/udpa (#4866) 2021-10-14 16:51:55 -07:00
Easwar Swaminathan aaff9e7ab9
grpc: better RFC 3986 compliant target parsing (#4817) 2021-10-14 14:54:02 -07:00
Easwar Swaminathan 4bd9995351
xds: suppress redundant resource updates using proto.Equal (#4831) 2021-10-05 16:55:25 -07:00
Easwar Swaminathan 2ae5ac1637
xds: nack if certprovider instance name is missing in bootstrap config (#4799) 2021-09-30 10:04:19 -07:00
Menghan Li 08927214a4
xds/rds: NACK unknown route action cluster specifier (#4788) 2021-09-28 10:11:52 -07:00
Zach Reyes 458ea7640a
xds: Added validations for HCM to support xDS RBAC Filter (#4786)
* xds: Added validations for HCM to support xDS RBAC Filter
2021-09-22 15:08:44 -04:00
Menghan Li 5417cf8091
xds/test: delete use of removed types (#4784)
They were deprecated, and removed later.
2021-09-20 13:27:27 -07:00
Zach Reyes e469f0d5f5
xds: Add env var protection for RBAC HTTP Filter (#4765)
* xds: Add env var protection for RBAC HTTP Filter
2021-09-17 01:01:07 -04:00
Easwar Swaminathan 7cf9689be2
xds: validations for security config, as specified in A29 (#4762)
* xds: validations for security config, as specified in A29

* make vet happy

* fix error log

* fix error msg in test
2021-09-15 15:38:01 -07:00
Menghan Li 16cf65612e
xds: update xdsclient NACK to keep valid resources (#4743) 2021-09-10 11:24:25 -07:00
Easwar Swaminathan 43e8fd4f69
xds: don't remove env var protection for security on the client yet (#4752)
Set the value to true by default, and remove it one release later.
2021-09-10 10:59:25 -07:00
Easwar Swaminathan 0a99ae2d03
xds: support new fields to fetch security configuration (#4747) 2021-09-10 09:04:59 -07:00
Zach Reyes 2608e38e63
xds: Added server side routing (#4726)
* Added server side routing
2021-09-09 13:35:41 -04:00
Doug Fawley a6a63177ae
xds: add retry support (#4738) 2021-09-08 10:00:44 -07:00
Easwar Swaminathan 00a7dc8901
xds: remove env var protection for security on client (#4735) 2021-09-07 10:28:56 -07:00
Zach Reyes c93e472777
Fixed race in Filter Chain (#4728) 2021-09-02 14:43:26 -04:00
Zach Reyes 198d951db5
xds: Instantiated HTTP Filters on Server Side (#4669)
* Instantiated HTTP Filters on Server Side
2021-08-31 09:27:06 -04:00
Zach Reyes ef66d13abb
xds: Required Router Filter for both Client and Server side (#4676)
* Added isTerminal() to FilterAPI and required router filter on Client and Server side
2021-08-30 16:49:46 -04:00
Menghan Li 0b372df5f4
xds/client: NACK ringhash lb policy if env var is not set (#4707) 2021-08-26 10:21:09 -07:00
Easwar Swaminathan 712e8d4f57
Remove support for Go 1.13 and older (cont) (#4706) 2021-08-25 14:51:41 -07:00
Easwar Swaminathan bfd964bba6
xds: use the defaultTestTimeout instead of the short one (#4684) 2021-08-24 11:19:04 -07:00
Menghan Li a42567fe92
xds: support picking ringhash in xds client and cds policy (#4657) 2021-08-12 11:12:02 -07:00
Zach Reyes ad87ad0098
xds: Add support for Dynamic RDS in listener wrapper (#4655)
* Add support for Dynamic RDS in listener wrapper
2021-08-11 18:48:24 -04:00
Aliaksandr Mianzhynski 9c668aeab8
all: preallocate slices where possible (#4609) 2021-08-11 09:17:59 -07:00
Zach Reyes 74370577fa
xds: Add route to filterchain (#4610)
* Added RDS Information from LDS in filter chain
2021-08-05 17:28:06 -04:00
Zach Reyes a0bed723f1
xds: add http filters to FilterChain matching (#4595)
* Add HTTP Filters to FilterChain
2021-07-21 21:58:19 -04:00
Menghan Li b586e92158
xds/client: notify the resource watchers of xDS errors (#4564) 2021-07-14 13:10:19 -07:00