Commit Graph

4370 Commits (2e4cb6f77d2be36b02e9be0b289b24e5b0afb794)

Author SHA1 Message Date
Chris S. Kim 73af9e9737
Fix KVSGet method to handle QueryOptions properly (#13344)
3 years ago
Freddy a09c776645 Update public listener with SPIFFE Validator
3 years ago
freddygv 647c57a416 Add agent cache-type for TrustBundleListByService
3 years ago
freddygv 8b58fa8afe Update assumptions around exported-service config
3 years ago
Freddy 74ca6406ea
Configure upstream TLS context with peer root certs (#13321)
3 years ago
R.B. Boyer 8e530701ce
test: regenerate golden files (#13336)
3 years ago
Chris S. Kim fcdd031911
Revert getPathSuffixUnescaped (#13256)
3 years ago
Dan Upton adeabed126
proxycfg: replace direct agent cache usage with interfaces (#13320)
3 years ago
Chris S. Kim 67860bd248
Reimplement fs.FileInfo interface (#13315)
3 years ago
Dhia Ayachi 1b779240ae
update gateway-services table with endpoints (#13217)
3 years ago
Chris S. Kim f0a9b30174
Update repo to use go:embed (#10996)
3 years ago
Riddhi Shah 1a901953e2
[OSS] Fix merge central config tests (#13309)
3 years ago
freddygv 364758ef2f Use embedded SpiffeID for peered upstreams
3 years ago
freddygv c8edec0ab6 Remove intermediate representation of SPIFFE IDs
3 years ago
freddygv 870e7c72d7 Return SPIFFE ID for connect proxies in PeerMeta
3 years ago
Freddy 9427700270
[OSS] Add grpc endpoint to fetch a specific trust bundle (#13292)
3 years ago
Matt Keeler 3795769729
Fix a flaky test (#13282)
3 years ago
Dan Upton 2427e38839
Enable servers to configure arbitrary proxies from the catalog (#13244)
3 years ago
alex fd7a403e11
monitor leadership in peering service (#13257)
3 years ago
Riddhi Shah b6a4271c02
Termporarily disable validation of merge central config response (#13266)
3 years ago
Chris S. Kim 6d3bea7129
Add support for streaming CA roots to peers (#13260)
3 years ago
Riddhi Shah c78ee7d48f
Remove tests failing on ent (#13255)
3 years ago
John Cowen 09c5bac102
Export top-level HCP Enabled go-template variable for UI (#13165)
3 years ago
DanStough 2e2c71d2f2 fix: multiple grpc/http2 services for ingress listeners
3 years ago
Riddhi Shah d8d8c8603e
Add support for merge-central-config query param (#13001)
3 years ago
R.B. Boyer 31526139fd
remove a source of test panics (#13227)
3 years ago
R.B. Boyer a85b8a4705
api: ensure peering API endpoints do not use protobufs (#13204)
3 years ago
R.B. Boyer 1a8834e1c8
peering: replicate expected SNI, SPIFFE, and service protocol to peers (#13218)
3 years ago
R.B. Boyer be631ebdce
peering: disable requirement for mesh gateways initially (#13213)
3 years ago
Kyle Havlovitz 0ed9ff8ef7
Merge pull request #13143 from hashicorp/envoy-connection-limit
3 years ago
Kyle Havlovitz f2fbe8aec9 Fix proto lint errors after version bump
3 years ago
Kyle Havlovitz dbed8ae10b Specify go_package explicitly
3 years ago
cskh 8712a088b1
fix: non-leader agents return 404 on Get Intention exact api (#13179)
3 years ago
Kyle Havlovitz 4bc6c23357 Add connection limit setting to service defaults
3 years ago
DanStough 817449041d chore(test): Update bats version
3 years ago
DanStough 147fd96d97 feat: add endpoint struct to ServiceConfigEntry
3 years ago
alex 876f3bb971
peering: expose IsLeader, hung up on dialer if follower (#13164)
3 years ago
Matt Keeler 26f4ea3f01
Migrate from `protoc` to `buf` (#12841)
3 years ago
cskh c986940fda
Upgrade golangci-lint for go v1.18 (#13176)
3 years ago
R.B. Boyer 21bb0eef4a
test: fix flaky test TestEventBufferFuzz (#13175)
3 years ago
Matt Keeler d0fdf22f83
Fix tests broken in #13173 (#13178)
3 years ago
Matt Keeler 3c1e17cbd5
Fix flaky tests in the agent/grpc/public/services/serverdiscovery package (#13173)
3 years ago
R.B. Boyer bbcb1fa805
agent: allow for service discovery queries involving peer name to use streaming (#13168)
3 years ago
Dan Upton d7f8a8e4ef
proxycfg: remove dependency on `cache.UpdateEvent` (#13144)
3 years ago
R.B. Boyer 2e72f44fda
peering: accept replication stream of discovery chain information at the importing side (#13151)
3 years ago
R.B. Boyer c27e186334
test: TestServer_RPC_MetricsIntercept should use a concurrency-safe metrics store (#13157)
3 years ago
cskh 364d4f5efe
Retry on bad dogstatsd connection (#13091)
3 years ago
R.B. Boyer 3e4a522882 peering: replicate discovery chains information to importing peers
3 years ago
R.B. Boyer 5a03536040 prefactor some functions out of the monolithic file
3 years ago
R.B. Boyer 1e31dc891a
test: fix incorrect use of t instead of r in retry test (#13146)
3 years ago
Dan Upton a76f63a695
config: prevent top-level `verify_incoming` enabling mTLS on gRPC port (#13118)
3 years ago
Freddy b38be4c0ed
Patches to peering initiation for POC demo (#13076)
3 years ago
Dhia Ayachi a0455774c0
When a host header is defined override `req.Host` in the metrics ui (#13071)
3 years ago
Freddy e874b860c0
Actually block when syncing subscriptions (#13066)
3 years ago
Evan Culver 0fa5e7be5a
peering: add TrustBundleListByService endpoint (#13048)
3 years ago
Freddy 4e215dc411
[OSS] Add upsert handling for receiving CheckServiceNode (#13061)
3 years ago
Matt Keeler b788691fa6
Watch the singular service resolver instead of the list + filtering to 1 (#13012)
3 years ago
R.B. Boyer 93b164aac3
structs: add convenience methods to sort slices of ServiceName values (#13038)
3 years ago
R.B. Boyer cc15a11f9c
test: ensure this package uses freeport for port allocation (#13036)
3 years ago
R.B. Boyer 901fd4dd68
remove remaining shim runStep functions (#13015)
3 years ago
R.B. Boyer 0d6d16ddfb
add general runstep test helper instead of copying it all over the place (#13013)
3 years ago
Jared Kirschner f4e1ade46a
Merge pull request #12463 from hashicorp/docs/consistency-mode-improvements
3 years ago
Jared Kirschner 05a648f530 docs: clarify consistency mode operation
3 years ago
FFMMM b8ce8e36fb
add err msg on PeeringRead not found (#12986)
3 years ago
FFMMM 37a1e33834
expose meta tags for peering (#12964)
3 years ago
Mark Anderson 4364e440db Add oss test
3 years ago
Mark Anderson 346b68a441 Fix up enterprise version tag.
3 years ago
Evan Culver 9c8606e138
peering: add store.PeeringsForService implementation (#12957)
3 years ago
Eric Haberkorn e7b9d025a4
Merge pull request #12956 from hashicorp/suport-lambda-connect-proxy
3 years ago
Eric 21c3134575 Support making requests to lambda from connect proxies.
3 years ago
FFMMM 745bd15b15
api: add PeeeringList, polish (#12934)
3 years ago
Riddhi Shah 0c855fab98
Validate port on mesh service registration (#12881)
3 years ago
Mark Anderson c6ff4ba7d8
Support vault namespaces in connect CA (#12904)
3 years ago
Chris S. Kim abc472f2a3
Default discovery chain when upstream targets a DestinationPeer (#12942)
3 years ago
Mark Anderson 2fcac5224e
Merge pull request #12878 from hashicorp/ma/x-forwarded-client-cert
3 years ago
Dan Upton a668c36930
acl: gRPC login and logout endpoints (#12935)
3 years ago
Mark Anderson 97f19a6ec1 Fix tests for APPEND_FORWARD change
3 years ago
Mark Anderson 863bc16530 Change to use APPEND_FORWARD for terminating gateway
3 years ago
Mark Anderson 6430af1c0e Update mesh config tests
3 years ago
Mark Anderson 05dc5a26b7 Docs and changelog edits
3 years ago
Mark Anderson fee6c7a7b6 Fixup missed config entry
3 years ago
Mark Anderson 28b4b3a85d Add x-forwarded-client-cert headers
3 years ago
Kyle Havlovitz 0696ed24c8
Merge pull request #12885 from hashicorp/acl-err-cache
3 years ago
Kyle Havlovitz 76d62a14f5 Return ACLRemoteError from cache and test it correctly
3 years ago
FFMMM 3b3f001580
[sync oss] api: add peering api module (#12911)
3 years ago
Chris S. Kim 9791bad136
peering: Make Upstream peer-aware (#12900)
3 years ago
Chris S. Kim 0d66301ea7
Cleanup peering files that used error types that were removed (#12892)
3 years ago
Mathew Estafanous 474385d153
Unify various status errors into one HTTP error type. (#12594)
3 years ago
Kyle Havlovitz 0d8b187ea1 Store and return rpc error in acl cache entries
3 years ago
R.B. Boyer 11213ae180
health: ensure /v1/health/service/:service endpoint returns the most recent results when a filter is used with streaming (#12640)
3 years ago
R.B. Boyer 1a491886fa
structs: ensure exported-services PeerName field can be addressed as peer_name (#12862)
3 years ago
Dhia Ayachi b83a790927
update raft to v1.3.8 (#12844)
3 years ago
R.B. Boyer f507f62f3c
peering: initial sync (#12842)
3 years ago
Will Jordan c48120d005
Add timeout to Client RPC calls (#11500)
3 years ago
Matt Keeler 7ce2b48cb7
Implement the ServerDiscovery.WatchServers gRPC endpoint (#12819)
3 years ago
Blake Covarrubias c786c49282
acl: Clarify node/service identities must be lowercase (#12807)
3 years ago
R.B. Boyer 4274e67b47
chore: upgrade mockery to v2 and regenerate (#12836)
3 years ago
R.B. Boyer f3ce353a87
ca: fix a bug that caused a non blocking leaf cert query after a blocking leaf cert query to block (#12820)
3 years ago
Riddhi Shah a1eb774407
[OSS] gRPC call to get envoy bootstrap params (#12825)
3 years ago
Matt Keeler cdad79bfc7
Add event generation for autopilot state updates (#12626)
3 years ago