Commit Graph

114 Commits (b6f10bc58f04cd8ebcf264bc69a30225155554fd)

Author SHA1 Message Date
Hans Hasselberg 33a7df3330
tls: auto_encrypt enables automatic RPC cert provisioning for consul clients (#5597)
5 years ago
Pierre Souchay 4a4c63bda0 Ensure Consul is IPv6 compliant (#5468)
6 years ago
Matt Keeler 222afeae4c
Move the watch package into the api module (#5664)
6 years ago
Alvin Huang 8ceca2ace3
Add fmt and vet (#5671)
6 years ago
Jeff Mitchell 4243c3ae42
Move internal/ to sdk/ (#5568)
6 years ago
Jeff Mitchell 47c390025b
Convert to Go Modules (#5517)
6 years ago
R.B. Boyer f4a3b9d518
fix typos reported by golangci-lint:misspell (#5434)
6 years ago
Matt Keeler 766d771017
Pass a testing.T into NewTestAgent and TestAgent.Start (#5342)
6 years ago
Saurabh Deoras 2eca399d4c fix for arm32 (#5130)
6 years ago
Paul Banks 54c2ff6aca
connect: remove additional trust-domain validation (#4934)
6 years ago
Paul Banks c9217c958e merge feedback: fix typos; actually use deliverLatest added previously but not plumbed in
6 years ago
Paul Banks e812f5516a Add -sidecar-for and new /agent/service/:service_id endpoint (#4691)
6 years ago
Paul Banks b83bbf248c Add Proxy Upstreams to Service Definition (#4639)
6 years ago
Matt Keeler 89ba649252
Connect: Verify the leaf cert to determine its readiness. (#4540)
6 years ago
Pierre Souchay 92acdaa94c Fixed flaky tests (#4626)
6 years ago
Pierre Souchay 3101086a27 Fixed unstable test TestProxy_public (#4587)
6 years ago
Freddy e21f554923
Improve flaky connect/proxy Listener tests (#4498)
6 years ago
Paul Banks af2901130d
Implement missing HTTP host to ConsulResolver func for Connect SDK.
6 years ago
Paul Banks b5f24a21cb Fix test broken by final telemetry PR change!
7 years ago
Paul Banks 3a6024e1b0 Fix merge error
7 years ago
Paul Banks 280f14d64c Make proxy only listen after initial certs are fetched
7 years ago
Paul Banks c6ef6a61c9 Refactor to use embedded struct.
7 years ago
Paul Banks 32f362bad9 StartupTelemetry => InitTelemetry
7 years ago
Paul Banks 96c416012e Misc rebase and test fixes
7 years ago
Paul Banks dc260f42fa Basic proxy active conns and bandwidth telemetry
7 years ago
Paul Banks c08b6f6fec Add accessor and helpers to SDK for fetching self-name and client service ID
7 years ago
Paul Banks 7649d630c6 Basic proxy telemetry working; not sure if it's too ugly; need to instrument things we care about
7 years ago
Paul Banks d83f2e8e21 Expose telemetry config from RuntimeConfig to proxy config endpoint
7 years ago
Paul Banks 01fefd3d92 Return defensive error if API response is jank
7 years ago
Paul Banks e7a345cb9a Refactor resolver logic to be clearer
7 years ago
Paul Banks 41a29a469e Fix roots race with CA setup hammering bug and defensive nil check hit during obscure upgrade scenario
7 years ago
Paul Banks 541cbae5f5 More misc comment cleanup
7 years ago
Paul Banks 0824d1df5f Misc comment cleanups
7 years ago
Mitchell Hashimoto 77a8003475 api: change Connect to a query option
7 years ago
Mitchell Hashimoto 8d66d1045a connect: remove old unused code
7 years ago
Mitchell Hashimoto e587b7c161 connect: support prepared query resolution
7 years ago
Mitchell Hashimoto 7a4463013d connect: resolver works with native services
7 years ago
Mitchell Hashimoto 11f57ed4f4
connect/proxy: remove dev CA settings
7 years ago
Mitchell Hashimoto ec4e600aeb
connect/proxy: add a full proxy test, parallel
7 years ago
Mitchell Hashimoto baa551355e
connect/proxy: don't start public listener if 0 port
7 years ago
Mitchell Hashimoto 0487cacd10
connect/proxy: use the right variable for loading the new service
7 years ago
Mitchell Hashimoto 8c713e6104
connect/proxy: don't require proxy ID
7 years ago
Paul Banks f6673ce164
Make Service logger log to right place again
7 years ago
Paul Banks 0bfffc92f2
Make connect client resolver resolve trust domain properly
7 years ago
Paul Banks 4aeab3897c
Fixed many tests after rebase. Some still failing and seem unrelated to any connect changes.
7 years ago
Mitchell Hashimoto 867db89303
command/connect/proxy: set proxy ID from env var if set
7 years ago
Paul Banks e0e12e165b
TLS watching integrated into Service with some basic tests.
7 years ago
Paul Banks d1f4ad3d8a
Fix build error introduced in bad merge of TLS stuff
7 years ago
Paul Banks 67af5c740b
Add TODO for false-sharing
7 years ago
Paul Banks e112386426
Add support for measuring tx/rx packets through proxied connections.
7 years ago
Paul Banks 946e872f2f
Fix tests and listeners to work with Config changes (splitting host and port fields)
7 years ago
Paul Banks e8c510332c
Support legacy watch.HandlerFunc type for backward compat reduces impact of change
7 years ago
Paul Banks ab3df3d4a6
Working proxy config reload tests
7 years ago
Paul Banks cd88b2a351
Basic `watch` support for connect proxy config and certificate endpoints.
7 years ago
Paul Banks 5310561c11
Refactor reloadableTLSConfig and verifyier shenanigans into simpler dynamicTLSConfig
7 years ago
Paul Banks e00ca9a7b7
Connect verification and AuthZ
7 years ago
Paul Banks 18a34c6836
Fix racy connect network tests that always fail in Docker due to listen races
7 years ago
Paul Banks 730da74369
Fix various test failures and vet warnings.
7 years ago
Paul Banks 10db79c8ae
Rework connect/proxy and command/connect/proxy. End to end demo working again
7 years ago
Paul Banks aa19be4651
Remove old connect client and proxy implementation
7 years ago
Paul Banks 26e65f6bfd
connect.Service based implementation after review feedback.
7 years ago
Paul Banks 69d5efdbbd
Original proxy and connect.Client implementation. Working end to end.
7 years ago
Mitchell Hashimoto f4ec28bfe3
agent/consul: basic sign endpoint not tested yet
7 years ago
Mitchell Hashimoto 7349c94c23
connect: create connect package for helpers
7 years ago