Commit Graph

5183 Commits (698165858505eab8b0df029a9c2b551d891b9c92)

Author SHA1 Message Date
Derek Menteer 4f6da20fe5
Fix multiple issues related to proxycfg health queries. (#17241)
2 years ago
Dan Upton 972998203e
controller: deduplicate items in queue (#17168)
2 years ago
Dan Upton 6e1bc57469
Controller Runtime
2 years ago
Matt Keeler 34915670f2
Register new catalog & mesh protobuf types with the resource registry (#17225)
2 years ago
Derek Menteer 50ef6a697e
Fix issue with peer stream node cleanup. (#17235)
2 years ago
Semir Patel 991a002fcc
resource: List resources by owner (#17190)
2 years ago
Dan Upton 917afcf3c6
controller: make the `WorkQueue` generic (#16982)
2 years ago
John Eikenberry bd76fdeaeb
enable auto-tidy expired issuers in vault (as CA)
2 years ago
Nathan Coleman bdef22354b
Use auth context when evaluating service read permissions (#17207)
2 years ago
Poonam Jadhav ef5d54fd4c
feat: add no-op reporting background routine (#17178)
2 years ago
Eric Haberkorn 2c0da88ce7
fix panic in `injectSANMatcher` when `tlsContext` is `nil` (#17185)
2 years ago
Paul Glass e4a341c88a
Permissive mTLS: Config entry filtering and CLI warnings (#17183)
2 years ago
R.B. Boyer 6b4986907d
peering: ensure that merged central configs of peered upstreams for partitioned downstreams work (#17179)
2 years ago
Semir Patel 1037bf7f69
Sync .golangci.yml from ENT (#17180)
2 years ago
John Landa eded58b62a
Remove artificial ACLTokenMaxTTL limit for configuring acl token expiry (#17066)
2 years ago
Semir Patel 9fef1c7f17
Create tombstone on resource `Delete` (#17108)
2 years ago
Dan Upton eff5dd1812
resource: owner references must include a uid (#17169)
2 years ago
Freddy e02ef16f02
Update HCP bootstrapping to support existing clusters (#16916)
2 years ago
John Maguire 391ed069c4
APIGW: Update how status conditions for certificates are handled (#17115)
2 years ago
Semir Patel 5eaeb7b8e5
Support Envoy's MaxEjectionPercent and BaseEjectionTime config entries for passive health checks (#15979)
2 years ago
Michael Wilkerson 80b1dbcc7d
fixed aliases for sameness group (sameness_group) (#17161)
2 years ago
Eric Haberkorn a87115c598
add acl filter logs (#17143)
2 years ago
Dan Upton faae7bb5f2
testing: `RunResourceService` helper (#17068)
2 years ago
Semir Patel e7bb8fdf15
Fix or disable pipeline breaking changes that made it into main in last day or so (#17130)
2 years ago
Dan Upton b9c485dcb8
Controller Supervision (#17016)
2 years ago
John Maguire e47f3216e5
APIGW Normalize Status Conditions (#16994)
2 years ago
Michael Wilkerson 001d540afc
Add sameness group field to prepared queries (#17089)
2 years ago
Derek Menteer a33b224a55
Fix virtual services being included in intention topology as downstreams. (#17099)
2 years ago
Semir Patel 46816071df
De-scope tenenacy requirements to OSS only for now. (#17087)
2 years ago
Kyle Havlovitz 6d01d07cf8
Include virtual services from discovery chain in intention topology (#16862)
2 years ago
Kyle Havlovitz d5277af70d
Add manual virtual IP support to state store (#16815)
2 years ago
Eric Haberkorn 53cdda8d17
Fix a bug with disco chain config entry fetching (#17078)
2 years ago
Semir Patel 53f49b2fa1
Enforce operator:write acl on `WriteStatus` endpoint (#17019)
2 years ago
Eric Haberkorn b1fae05983
Add sameness groups to service intentions. (#17064)
2 years ago
hashicorp-copywrite[bot] 9f81fc01e9
[COMPLIANCE] Add Copyright and License Headers (#16854)
2 years ago
Paul Glass f4406e69b9
[NET-3091] Update service intentions to support jwt provider references (#17037)
2 years ago
Paul Glass ac200cfec8
[NET-3090] Add new JWT provider config entry (#17036)
2 years ago
Paul Glass 77ecff3209
Permissive mTLS (#17035)
2 years ago
R.B. Boyer d07aac8d7e
Revert "cache: refactor agent cache fetching to prevent unnecessary f… (#16818) (#17046)
2 years ago
John Murret 2cefa8d9bd
ci: remove test-integrations CircleCI workflow (#16928)
2 years ago
Luke Kysow 46212cc570
Don't send updates twice (#16999)
2 years ago
Poonam Jadhav 5d7a7ff041
feat: set up reporting agent (#16991)
2 years ago
Dan Upton a37a441991
server: wire up in-process Resource Service (#16978)
2 years ago
Semir Patel 2f7d591702
Tenancy wildcard validaton for `Write`, `Read`, and `Delete` endpoints (#17004)
2 years ago
Derek Menteer 87324c9ec8
Add PrioritizeByLocality to config entries. (#17007)
2 years ago
Michael Wilkerson 0dd4ea2033
* added Sameness Group to proto files (#16998)
2 years ago
Dhia Ayachi 79d4040b6c
add IP rate limiting config update (#16997)
2 years ago
Semir Patel 79b30476e0
Enforce Owner rules in `Write` endpoint (#16983)
2 years ago
Semir Patel 8611ec56f3
Fix delete when uid not provided (#16996)
2 years ago
Eric Haberkorn 44b39240a8
move enterprise test cases out of open source (#16985)
2 years ago
Semir Patel b8c9e133be
Add mutate hook to `Write` endpoint (#16958)
2 years ago
Semir Patel 3b83c7ee9a
Enforce ACLs on resource `Write` and `Delete` endpoints (#16956)
2 years ago
Dhia Ayachi b85a149eaf
Memdb Txn Commit race condition fix (#16871)
2 years ago
Poonam Jadhav 8255cc97f5
feat: add reporting config with reload (#16890)
2 years ago
Dan Upton d595e6ade9
resource: `WriteStatus` endpoint (#16886)
2 years ago
Derek Menteer 1bcaeabfc3
Remove deprecated service-defaults upstream behavior. (#16957)
2 years ago
Semir Patel 317240fca7
Resource validation hook for `Write` endpoint (#16950)
2 years ago
Semir Patel 686f49346c
Check acls on resource `Read`, `List`, and `WatchList` (#16842)
2 years ago
John Maguire 92be8bd762
APIGW: Routes with duplicate parents should be invalid (#16926)
2 years ago
John Eikenberry 97173725b7
log warning about certificate expiring sooner and with more details
2 years ago
Chris Thain 175bb1a303
Wasm Envoy HTTP extension (#16877)
2 years ago
Semir Patel 1794484298
Resource `Delete` endpoint (#16756)
2 years ago
Dan Upton 4fa2537b3b
Resource `Write` endpoint (#16786)
2 years ago
Dan Upton 671d5825ca
Raft storage backend (#16619)
2 years ago
cskh a319953576
docs: add envoy to the proxycfg diagram (#16834)
2 years ago
Freddy f6de5ff635
Allow dialer to re-establish terminated peering (#16776)
2 years ago
Chris S. Kim a5397b1f23
Connect CA Primary Provider refactor (#16749)
2 years ago
Eric Haberkorn a6d69adcf5
Add default resolvers to disco chains based on the default sameness group (#16837)
2 years ago
Derek Menteer 8d40cf9858
Add sameness-group to exported-services config entries (#16836)
2 years ago
Dan Upton 651549c97d
storage: fix resource leak in Watch (#16817)
2 years ago
Eric Haberkorn 0d1d2fc4c9
add order by locality failover to Consul enterprise (#16791)
2 years ago
Ronald b64674623e
Copyright headers for missing files/folders (#16708)
2 years ago
Ronald 94ec4eb2f4
copyright headers for agent folder (#16704)
2 years ago
John Maguire c833464daf
Update normalization of route refs (#16789)
2 years ago
Michael Wilkerson e5d58c59c9
changes to support new PQ enterprise fields (#16793)
2 years ago
Semir Patel 440f11203f
Resource service List(..) endpoint (#16753)
2 years ago
Dhia Ayachi 10df4d83aa
add ip rate limiter controller OSS parts (#16790)
2 years ago
Kyle Havlovitz 42c5b29713
Allocate virtual ip for resolver/router/splitter config entries (#16760)
2 years ago
Semir Patel 032aba3175
WatchList(..) endpoint for the resource service (#16726)
2 years ago
John Maguire 351bdc3c0d
Fix struct tags for TCPService enterprise meta (#16781)
2 years ago
Semir Patel 3415689eb6
Read(...) endpoint for the resource service (#16655)
2 years ago
Derek Menteer 2236975011
Change partition for peers in discovery chain targets (#16769)
2 years ago
John Eikenberry 0b1dc4ec36
tests instantiating clients w/o shutting down (#16755)
2 years ago
Poonam Jadhav 3df271959c
fix: remove unused tenancy category from rate limit spec (#16740)
2 years ago
Dhia Ayachi 3ba0eb5074
delete config when nil (#16690)
2 years ago
Eric Haberkorn 495ad4c7ef
add enterprise xds tests (#16738)
2 years ago
Eric Haberkorn 3c5c53aa80
fix bug where pqs that failover to a cluster peer dont un-fail over (#16729)
2 years ago
cskh 7f6f6891f7
fix: gracefully fail on invalid port number (#16721)
2 years ago
John Maguire 8dd1d73874
Remove unused are hosts set check (#16691)
2 years ago
Nitya Dhanushkodi b9bd2c3780
peering: peering partition failover fixes (#16673)
2 years ago
John Maguire 1ef9f4dade
Fix route subscription when using namespaces (#16677)
2 years ago
Melisa Griffin 606f8fbbab
Adds check to verify that the API Gateway is being created with at least one listener
2 years ago
Poonam Jadhav 9c64731a56
feat: add category annotation to RPC and gRPC methods (#16646)
2 years ago
Eric Haberkorn 7477f52a16
add sameness groups to discovery chains (#16671)
2 years ago
Andrew Stucki 501b87fd31
[API Gateway] Fix invalid cluster causing gateway programming delay (#16661)
2 years ago
Eric Haberkorn eaa39f4ef5
add sameness group support to service resolver failover and redirects (#16664)
2 years ago
Eric Haberkorn 57e034b746
fix confusing spiffe ids in golden tests (#16643)
2 years ago
wangxinyi7 152c75349e
net 2731 ip config entry OSS version (#16642)
2 years ago
John Maguire ff5887a99e
Update e2e tests for namespaces (#16627)
2 years ago
Freddy 724b752ca7
Backport ENT-4704 (#16612)
2 years ago
Derek Menteer 8f75d99299
Fix issue with trust bundle read ACL check. (#16630)
2 years ago
Chris S. Kim d5677e5680
Preserve CARoots when updating Vault CA configuration (#16592)
2 years ago
Derek Menteer f2902e6608
Add sameness-group configuration entry. (#16608)
2 years ago
Ashvitha f95ffe0355
Allow HCP metrics collection for Envoy proxies
2 years ago
Eric Haberkorn e298f506a5
Add Peer Locality to Discovery Chains (#16588)
2 years ago
Eric Haberkorn 57e2493415
allow setting locality on services and nodes (#16581)
2 years ago
Semir Patel 176945aa86
GRPC stub for the ResourceService (#16528)
2 years ago
Andrew Stucki 040647e0ba
auto-updated agent/uiserver/dist/ from commit 63204b518 (#16587)
2 years ago
Eric Haberkorn 89de91b263
fix bug that can lead to peering service deletes impacting the state of local services (#16570)
2 years ago
Eric Haberkorn dbaf8bf49c
add agent locality and replicate it across peer streams (#16522)
2 years ago
John Eikenberry f5641ffccc
support vault auth config for alicloud ca provider
2 years ago
Melisa Griffin fc232326a0
NET-2904 Fixes API Gateway Route Service Weight Division Error
2 years ago
Melisa Griffin 129eca8fdb
NET-2903 Normalize weight for http routes (#16512)
2 years ago
R.B. Boyer 9a485cdb49
proxycfg: ensure that an irrecoverable error in proxycfg closes the xds session and triggers a replacement proxycfg watcher (#16497)
2 years ago
John Eikenberry 56ffee6d42
add provider ca support for approle auth-method
2 years ago
Andrew Stucki cc0765b87d
Fix resolution of service resolvers with subsets for external upstreams (#16499)
2 years ago
Eric Haberkorn 5f81662066
Add support for failover policies (#16505)
2 years ago
Andrew Stucki 5deffbd95b
Fix issue where terminating gateway service resolvers weren't properly cleaned up (#16498)
2 years ago
Andrew Stucki 4b661d1e0c
Add ServiceResolver RequestTimeout for route timeouts to make TerminatingGateway upstream timeouts configurable (#16495)
2 years ago
John Eikenberry e8eec1fa80
add provider ca auth support for kubernetes
2 years ago
John Eikenberry 4211069080
add provider ca support for jwt file base auth
2 years ago
Chris S. Kim 321439f5a7
Speed up test by registering services concurrently (#16509)
2 years ago
John Eikenberry 4f2d9a91e5
add provider ca auth-method support for azure
2 years ago
Dan Upton 73b9b407ba
grpc: fix data race in balancer registration (#16229)
2 years ago
Andrew Stucki 801a17329e
Fix attempt for test fail panics in xDS (#16319)
2 years ago
Chris S. Kim a518893685
Fix various flaky tests (#16396)
2 years ago
Eric Haberkorn 595131fca9
Refactor the disco chain -> xds logic (#16392)
2 years ago
Paul Banks 8ac211b427
Correct WAL metrics registrations (#16388)
2 years ago
Dhia Ayachi ae9c228967
Rate limiter/add ip prefix (#16342)
2 years ago
Andrew Stucki 641737f32b
[API Gateway] Fix infinite loop in controller and binding non-accepted routes and gateways (#16377)
2 years ago
Andrew Stucki 0972697661
[API Gateway] Various fixes for Config Entry fields (#16347)
2 years ago
Andrew Stucki 18e2ee77ca
[API Gateway] Fix targeting service splitters in HTTPRoutes (#16350)
2 years ago
Andrew Stucki 823fc821fa
[API Gateway] Turn down controller log levels (#16348)
2 years ago
Derek Menteer ad865f549b
Fix issue with peer services incorrectly appearing as connect-enabled. (#16339)
2 years ago
Andrew Stucki 7f9ec78932
[API Gateway] Validate listener name is not empty (#16340)
2 years ago
cskh 8e5942f5ca
fix: add tls config to unix socket when https is used (#16301)
2 years ago
Andrew Stucki 4607b535be
Fix HTTPRoute and TCPRoute expectation for enterprise metadata (#16322)
2 years ago
Andrew Stucki 15d2684ecc
Normalize all API Gateway references (#16316)
2 years ago
Matt Keeler 085c0addc0
Protobuf Refactoring for Multi-Module Cleanliness (#16302)
2 years ago
Dan Stough f1436109ea
[OSS] security: update go to 1.20.1 (#16263)
2 years ago
Andrew Stucki 58801cc8aa
Add stricter validation and some normalization code for API Gateway ConfigEntries (#16304)
2 years ago
Andrew Stucki ee99d5c3a0
Fix panicky xDS test flakes (#16305)
2 years ago
Andrew Stucki e4a992c581
Fix hostname alignment checks for HTTPRoutes (#16300)
2 years ago
Andrew Stucki b3ddd4d24e
Inline API Gateway TLS cert code (#16295)
2 years ago
Nitya Dhanushkodi 8dab825c36
troubleshoot: fixes and updated messages (#16294)
2 years ago
Thomas Eckert 2460ac99c9
API Gateway Envoy Golden Listener Tests (#16221)
2 years ago
Derek Menteer 30112288c8
Fix mesh gateways incorrectly matching peer locality. (#16257)
2 years ago
Nathan Coleman 514fb25a6f
Fix infinite recursion in inline-certificate config entry (#16276)
2 years ago
Derek Menteer 6599a9be1d
Fix nil-pointer panics from proxycfg package. (#16277)
2 years ago
Andrew Stucki 9bb0ecfc18
[API Gateway] Add integration test for HTTP routes (#16236)
2 years ago
Semir Patel 8979e64a94
Bump x/time to 0.3.0 and fix related breakage linked to RPCRateLimit (#16241)
2 years ago
Andrew Stucki 8ff2974dbe
[API Gateway] Update simple test to leverage intentions and multiple listeners (#16228)
2 years ago
Andrew Stucki 4c848a554d
Fix missing references to enterprise metadata (#16237)
2 years ago
Andrew Stucki 318ba215ab
[API Gateway] Add integration test for conflicted TCP listeners (#16225)
2 years ago
Derek Menteer 4f2ce60654
Fix peering acceptors in secondary datacenters. (#16230)
2 years ago
Andrew Stucki 3b9c569561
Simple API Gateway e2e test for tcp routes (#16222)
2 years ago
skpratt db2bd404bf
Synthesize anonymous token pre-bootstrap when needed (#16200)
2 years ago
Thomas Eckert e81a0c2855
API Gateway to Ingress Gateway Snapshot Translation and Routes to Virtual Routers and Splitters (#16127)
2 years ago
Andrew Stucki f4210d47dd
Add basic smoke test to make sure an APIGateway runs (#16217)
2 years ago
Andrew Stucki 0891b4554d
Clean-up Gateway Controller Binding Logic (#16214)
2 years ago
skpratt 6f0b226b0d
ACL error improvements: incomplete bootstrapping and non-existent token (#16105)
2 years ago
Nathan Coleman 72a73661c9
Implement APIGateway proxycfg snapshot (#16194)
2 years ago
Nitya Dhanushkodi 1f25289048
troubleshoot: output messages for the troubleshoot proxy command (#16208)
2 years ago
Kyle Havlovitz 898e59b13c
Add the `operator usage instances` command and api endpoint (#16205)
2 years ago
Andrew Stucki df03b45bbc
Add additional controller implementations (#16188)
2 years ago
Paul Banks 5397e9ee7f
Adding experimental support for a more efficient LogStore implementation (#16176)
2 years ago
cskh e91bc9c058
feat: envoy extension - http local rate limit (#16196)
2 years ago
John Eikenberry ed7367b6f4
remove redundant vault api retry logic (#16143)
2 years ago
skpratt 1e7e52e3ef
revert method name change in xds server protocol for version compatibility (#16195)
2 years ago
skpratt 9199e99e21
Update token language to distinguish Accessor and Secret ID usage (#16044)
2 years ago
wangxinyi7 906ebb97f6
change log level (#16128)
2 years ago
Dhia Ayachi c680a35b36
Net 2229/rpc reduce max retries 2 (#16165)
2 years ago
Nitya Dhanushkodi b8b37c2357
refactor: remove troubleshoot module dependency on consul top level module (#16162)
2 years ago
Poonam Jadhav 24c431270c
feat: client RPC is retries on ErrRetryElsewhere error and forwardRequestToLeader method retries ErrRetryLater error (#16099)
2 years ago
skpratt a010902978
Remove legacy acl policies (#15922)
2 years ago
John Eikenberry 5c836f2aa9
fix goroutine leak in renew testing (#16142)
2 years ago
sarahalsmiller 143b2bc1f0
API Gateway Controller Logic (#16058)
2 years ago
Derek Menteer 2f149d60cc
[OSS] Add Peer field to service-defaults upstream overrides (#15956)
2 years ago
Paul Glass a884d0d7c7
Use agent token for service/check deregistration during anti-entropy (#16097)
2 years ago
Dan Upton e40b731a52
rate: add prometheus definitions, docs, and clearer names (#15945)
2 years ago
Nitya Dhanushkodi 8d4c3aa42c
refactor: move service to service validation to troubleshoot package (#16132)
2 years ago
Derek Menteer 06338c8ee7
Add unit test and update golden files. (#16115)
2 years ago
Andrew Stucki 1fbfb5905b
APIGateway HTTPRoute scaffolding (#15859)
2 years ago
Derek Menteer b19c5a94c7
Add Envoy extension metrics. (#16114)
2 years ago
cskh f6da81c9d0
improvement: prevent filter being added twice from any enovy extension (#16112)
2 years ago
Poonam Jadhav 9db5b7d896
feat: apply retry policy to read only grpc endpoints (#16085)
2 years ago
Derek Menteer 1b02749375
Add extension validation on config save and refactor extensions. (#16110)
2 years ago
Nitya Dhanushkodi 8728a4496c
troubleshoot: service to service validation (#16096)
2 years ago
Andrew Stucki da99514ac8
Add a server-only method for updating ConfigEntry Statuses (#16053)
2 years ago
skpratt ad43846755
Remove legacy acl tokens (#15947)
2 years ago
Thomas Eckert 7814471159
Match route and listener protocols when binding (#16057)
2 years ago
Michael Wilkerson a1498b015d
Mw/lambda envoy extension parse region (#4107) (#16069)
2 years ago
Andrew Stucki 3febdbff39
Add trigger for doing reconciliation based on watch sets (#16052)
2 years ago
Poonam Jadhav f4f62b5da6
feat: panic handler in rpc rate limit interceptor (#16022)
2 years ago
Nathan Coleman e0f4f6c152
Run config entry controller routines on leader (#16054)
2 years ago
Ronald 6167aef641
Warn when the token query param is used for auth (#16009)
2 years ago
Thomas Eckert 20146f2916
Implement BindRoutesToGateways (#15950)
2 years ago
cskh 25396d81c9
Apply agent partition to load services and agent api (#16024)
2 years ago
Derek Menteer 5f5e6864ca
Fix proxy-defaults incorrectly merging config on upstreams. (#16021)
2 years ago
John Murret 794277371f
Integration test for server rate limiting (#15960)
2 years ago