Commit Graph

224 Commits (main)

Author SHA1 Message Date
Eric Haberkorn 1099665473
Update the structs and discovery chain for service resolver redirects to cluster peers. (#14366)
2 years ago
Alessandro De Blasis f3437eaf05 Merge remote-tracking branch 'hashicorp/main' into feature/health-checks_windows_service
2 years ago
Chris S. Kim 1c43a1a7b4 Merge branch 'main' into NET-638-push-server-address-updates-to-the-peer
2 years ago
Chris S. Kim 6ddcc04613
Replace ring buffer with async version (#14314)
2 years ago
Chris S. Kim 584d3409c4 Send server addresses on update from server
2 years ago
Chris S. Kim 09c0fe22f2 Add PeeringServerAddresses proto
2 years ago
Eric Haberkorn 1a73b0ca20
Add `Targets` field to service resolver failovers. (#14162)
2 years ago
Alessandro De Blasis 5dee555888 Merge remote-tracking branch 'hashicorp/main' into feature/health-checks_windows_service
2 years ago
Alessandro De Blasis ab611eabc3 Merge remote-tracking branch 'hashicorp/main' into feature/health-checks_windows_service
2 years ago
freddygv 1031ffc3c7 Re-validate existing secrets at state store
2 years ago
freddygv 0ea4bfae94 Test fixes
2 years ago
freddygv c04515a844 Use proto message for each secrets write op
2 years ago
freddygv 60d6e28c97 Pass explicit signal with op for secrets write
2 years ago
Matt Keeler f74d0cef7a
Implement/Utilize secrets for Peering Replication Stream (#13977)
2 years ago
freddygv b544ce6485 Add ACL enforcement to peering endpoints
2 years ago
Nitya Dhanushkodi f47319b7c6
update generate token endpoint to take external addresses (#13844)
2 years ago
Luke Kysow 741c906b0d
Add heartbeat proto to peer stream (#13804)
2 years ago
R.B. Boyer cd513aeead
peerstream: require a resource subscription to receive updates of that type (#13767)
2 years ago
alex b7043f7150
peering: add warning about AllowStaleRead (#13768)
2 years ago
Matt Keeler 05b5e7e2ca
Enable partition support for peering establishment (#13772)
2 years ago
Daniel Upton 3c533ceea8 proxycfg-glue: server-local implementation of `ServiceList`
2 years ago
R.B. Boyer f1cc185335
proto: add package prefixes for all proto files where it is safe (#13735)
2 years ago
R.B. Boyer 30fffd0c90
peerstream: some cosmetic refactors to make this easier to follow (#13732)
2 years ago
R.B. Boyer 9a56eed86c
proto: ensure buf formatter has been applied to protobufs (#13709)
2 years ago
R.B. Boyer af04851637
peering: move peer replication to the external gRPC port (#13698)
2 years ago
Chris S. Kim f07132dacc
Revise possible states for a peering. (#13661)
2 years ago
Daniel Upton 37ccbd2826 proxycfg: server-local intentions data source
2 years ago
Daniel Upton 653b8c4f9d proxycfg: server-local config entry data sources
2 years ago
alex cd9ca4290a
peering: add imported/exported counts to peering (#13644)
2 years ago
R.B. Boyer 201d1458c3
xds: mesh gateways now have their own leaf certificate when involved in a peering (#13460)
2 years ago
freddygv 6c8ab1bbac Fixup stream tear-down steps.
2 years ago
freddygv cc921a9c78 Update peering state and RPC for deferred deletion
2 years ago
Freddy 71b254522e
Clean up imported nodes/services/checks as needed (#13367)
2 years ago
Chris S. Kim a02e9abcc1
Update RBAC to handle imported services (#13404)
2 years ago
R.B. Boyer 7001e1151c
peering: rename initiate to establish in the context of the APIs (#13419)
2 years ago
R.B. Boyer edb2e55335
peering: avoid a race between peering establishment and termination (#13389)
3 years ago
Alessandro De Blasis b59c19bb06 feat: windows service health checks
3 years ago
Fulvio d457d8b6ce
UDP check for service stanza #12221 (#12722)
3 years ago
alex bbbc50815a
peering: send leader addr (#13342)
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
Freddy 74ca6406ea
Configure upstream TLS context with peer root certs (#13321)
3 years ago
Freddy 9427700270
[OSS] Add grpc endpoint to fetch a specific trust bundle (#13292)
3 years ago
Chris S. Kim 6d3bea7129
Add support for streaming CA roots to peers (#13260)
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
Kyle Havlovitz dbed8ae10b Specify go_package explicitly
3 years ago
Matt Keeler 26f4ea3f01
Migrate from `protoc` to `buf` (#12841)
3 years ago
R.B. Boyer bbcb1fa805
agent: allow for service discovery queries involving peer name to use streaming (#13168)
3 years ago
R.B. Boyer 2e72f44fda
peering: accept replication stream of discovery chain information at the importing side (#13151)
3 years ago
Freddy b38be4c0ed
Patches to peering initiation for POC demo (#13076)
3 years ago
Evan Culver 0fa5e7be5a
peering: add TrustBundleListByService endpoint (#13048)
3 years ago
Evan Culver 88449b1f1b
internal: port RPC glue changes from Enterprise (#13034)
3 years ago
FFMMM 37a1e33834
expose meta tags for peering (#12964)
3 years ago
Chris S. Kim 9791bad136
peering: Make Upstream peer-aware (#12900)
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
Kyle Havlovitz 9780b672da
Merge pull request #12685 from hashicorp/http-check-redirect-option
3 years ago
Kyle Havlovitz 3b44343276 Add a field to disable following redirects on http checks
3 years ago
Mark Anderson 98a2e282be Fixup acl.EnterpriseMeta
3 years ago
Eric e4b4f175ed Bump go-control-plane
3 years ago
R.B. Boyer 64e1501bda
add missing line from prototest.AssertDeepEqual (#12645)
3 years ago
Eric 5f050614e5 remove the rest of gogo
3 years ago
Eric 02d8a11ff0 remove gogo from acl protobufs
3 years ago
Eric 5cab213e81 assorted changes required to remove gogo
3 years ago
Eric 776f5843d0 remove gogo from pbservice
3 years ago
Eric 14530c7caa remove gogo pbconnect, pbconfig and pbautoconf
3 years ago
Dhia Ayachi 72a997242b
split `pbcommon` to `pbcommon` and `pbcommongogo` (#12587)
3 years ago
Dan Upton b36d4e16b6
Support per-listener TLS configuration ⚙️ (#12504)
3 years ago
Eric eea8300187 Remove the stdduration gogo extension
3 years ago
Eric Haberkorn fc3c0f312c
Merge pull request #12557 from hashicorp/remove-healthcheck-gogo-stdduration
3 years ago
Eric 4e6b34725d Remove gogo stdduration from the healthcheck protobufs
3 years ago
Eric 0d34390656 Remove the gogo getters
3 years ago
Dan Upton fdfe079674
streaming: split event buffer by key (#12080)
3 years ago
Dan Upton 7efab269c0
Rename `Master` and `AgentMaster` fields in config protobuf (#11764)
3 years ago
Dan Upton 1e47e3c82b
Groundwork for exposing when queries are filtered by ACLs (#11569)
3 years ago
R.B. Boyer db91cbf484
auto-config: ensure the feature works properly with partitions (#11699)
3 years ago
R.B. Boyer 1e02460bd1
re-run gofmt on 1.17 (#11579)
3 years ago
tarat44 02dda536f9 fix protos
3 years ago
tarat44 3b1ad2be97 fix protos
3 years ago
tarat44 c1ed3a9a94 change config option to H2PingUseTLS
3 years ago
tarat44 3c9f5a73d9 add support for h2c in h2 ping health checks
3 years ago
R.B. Boyer 706fc8bcd0
grpc: strip local ACL tokens from RPCs during forwarding if crossing datacenters (#11099)
3 years ago
Daniel Nephin 1f9479603c
Add failures_before_warning to checks (#10969)
3 years ago
Dhia Ayachi 1950ebbe1f
oss portion of ent #1069 (#10883)
3 years ago
Daniel Nephin 00a592bb72 proto: mark the DisabledTTL field as deprecated
3 years ago
Daniel Nephin d5498770fa acl: make ACLDisabledTTL a constant
3 years ago
Mike Morris 3bae53a989
deps: upgrade gogo-protobuf to v1.3.2 (#10813)
3 years ago
Evan Culver 710bd90ef7
checks: Add Interval and Timeout to API response (#10717)
3 years ago
R.B. Boyer 96b97d6554
replumbing a bunch of api and agent structs for partitions (#10681)
3 years ago
R.B. Boyer fc9b1a277d
sync changes to oss files made in enterprise (#10670)
3 years ago
Daniel Nephin 16b21b0864 http: add an X-Consul-Query-Backend header to responses
3 years ago
Freddy 429f9d8bb8
Add flag for transparent proxies to dial individual instances (#10329)
4 years ago
Dhia Ayachi f785c5b332
RPC Timeout/Retries account for blocking requests (#8978)
4 years ago
Iryna Shustava d7d44f6ae7
Save exposed ports in agent's store and expose them via API (#10173)
4 years ago
R.B. Boyer c8af6741d7 fix protobufs for socketpath and re-mogrify
4 years ago
Mark Anderson 8040f91a43 Add support for downstreams
4 years ago
Mark Anderson 8b1217417a First changes for unix domain sockets upstreams
4 years ago
R.B. Boyer 4db8b78854
connect: update centralized upstreams representation in service-defaults (#10015)
4 years ago
freddygv 7bd51ff536 Replace TransparentProxy bool with ProxyMode
4 years ago
Tara Tufano 9deb52e868
add http2 ping health checks (#8431)
4 years ago
Kyle Havlovitz a2869b280b Backport enterprise changes to prevent merge conflicts
4 years ago
Freddy 8207b832df
Add TransparentProxy option to proxy definitions
4 years ago
Christopher Broglie f0307c73e5 Add support for configuring TLS ServerName for health checks
4 years ago
freddygv 756ab4c546 Fixup protobufs and tests
4 years ago
Daniel Nephin 44ed7910a3 proto: convert enterprise meta
4 years ago
Daniel Nephin c42fe5ae43 subscribe: set the request namespace
4 years ago
Daniel Nephin 68342a0cb5 proto: remove Event.Key field
4 years ago
Daniel Nephin 9a1e845be8 proto: remove Event.Namespace field
4 years ago
Daniel Nephin 74b7325839 proto: Add SubscribeRequest.Namespace
4 years ago
Daniel Nephin 8b887af0d3 streaming: store services with a unique ID that includes namespace
4 years ago
Daniel Nephin bbc6d07c38 proto: add Namespace to EnterpriseMeta
4 years ago
Daniel Nephin 364f6589c8
Merge pull request #8799 from hashicorp/streaming/rename-framing-events
4 years ago
Daniel Nephin 3fe95f17d5
proto: fix RoundTrip test for enterprise (#8826)
4 years ago
Daniel Nephin b88f817bc5 Update proto for change to stream framing events
4 years ago
Daniel Nephin 20236e9b6e proto: Add a round trip test for converting types
4 years ago
Daniel Nephin 79f70181d8 proto: add code to convert between protobuf types and structs types
4 years ago
Daniel Nephin 98207e8524 proto: add convert function for protobuf/types.Struct
4 years ago
Daniel Nephin f7f9879dab proto: split pbservice into multiple files
4 years ago
Daniel Nephin 225a91ae3c proto: Add protos for subscribing to service health events.
4 years ago
Matt Keeler 91d680b830
Merge of auto-config and auto-encrypt code (#8523)
4 years ago
Daniel Nephin b34be1a877 Generate Go files using protobuf 3.12.3
4 years ago
Matt Keeler 34034b76f5
Agent Auto Config: Implement Certificate Generation (#8360)
4 years ago
Matt Keeler 2713c0e682
Refactor the agentpb package (#8362)
4 years ago