Commit Graph

1449 Commits (69f902608ceb7b5eec620ad2b70fb2102ca42643)

Author SHA1 Message Date
Kyle Havlovitz 3f5e20452e http: use the correct check duration fields when converting txn ops
6 years ago
Paul Banks 89fa5ec3ba
Connect: Fix Envoy getting stuck during load (#5499)
6 years ago
Kyle Havlovitz e199c37ee4
Add some basic normalize/validation logic for config entries
6 years ago
Paul Banks d2e68a900a
Connect: Make Connect health queries unblock correctly (#5508)
6 years ago
Kyle Havlovitz d92577c16b Fix fsm serialization and add snapshot/restore
6 years ago
Hans Hasselberg ea5210a30e
Release v1.4.4
6 years ago
Kyle Havlovitz 17aa6a5a34 Fill out state store/FSM functions and add tests
6 years ago
R.B. Boyer 02b2cb1d15 agent: ensure the TLS hostname verification knows about the currently configured domain (#5513)
6 years ago
Kyle Havlovitz 9d07add047 Add config types and state store table
6 years ago
Hans Hasselberg e7134a0dab
agent: only use TestAgent when appropriate (#5502)
6 years ago
Paul Banks 0b5a078b95
Optimize health watching to single chan/goroutine. (#5449)
6 years ago
Pierre Souchay 88d4383410 Ensure we remove Connect proxy before deregistering the service itself (#5482)
6 years ago
Valentin Fritz 21f149de8b Fix checks removal when removing service (#5457)
6 years ago
R.B. Boyer cd96af4fc0
acl: reduce complexity of token resolution process with alternative singleflighting (#5480)
6 years ago
Hans Hasselberg 7e11dd82aa
agent: enable reloading of tls config (#5419)
6 years ago
R.B. Boyer 2e175be41b
acl: correctly extend the cache for acl identities during resolution (#5475)
6 years ago
Aestek 4bea29f15a [catalog] Update the node's services indexes on update (#5458)
6 years ago
Alvin Huang 8cb8108b1b fix typos
6 years ago
R.B. Boyer f4a3b9d518
fix typos reported by golangci-lint:misspell (#5434)
6 years ago
R.B. Boyer 2ffbea41c8 improve flaky LANReap tests by expliciting configuring the tombstone timeout
6 years ago
R.B. Boyer 5bea49ecb0 tests: avoid leaking child processes from agent/proxyprocess package
6 years ago
Matt Keeler 567e41ff6b
Release v1.4.3
6 years ago
Matt Keeler 90040f8bff Fixes for CVE-2019-8336
6 years ago
Hans Hasselberg d35824b1fa default to tls 1.2 as promised. (#5340)
6 years ago
Aestek 2aac4d5168 Register and deregisters services and their checks atomically in the local state (#5012)
6 years ago
Matt Keeler 6e6910ea11
Dont modify memdb owned token data for get/list requests of tokens (#5412)
6 years ago
Aestek 02f991843f Fix race condition in DNS when using cache (#5398)
6 years ago
Matt Keeler 200c0fb3e9
Call RemoveServer for reap events (#5317)
6 years ago
R.B. Boyer 409c901f8e test: fix concurrent map access when setting up test vault
6 years ago
R.B. Boyer 6955186239 fix ignored errors in state store internals as reported by errcheck
6 years ago
R.B. Boyer c7067645dd fix a few leap-year related clock math inaccuracies and failing tests
6 years ago
Matt Keeler 118adbb123
ACL Token Persistence and Reloading (#5328)
6 years ago
Kyle Havlovitz f07e928afc
Merge pull request #5325 from hashicorp/consul-ca-panic
6 years ago
Hans Hasselberg 80e7d63fc2
Centralise tls configuration part 2 (#5374)
6 years ago
Hans Hasselberg 786b3b1095
Centralise tls configuration part 1 (#5366)
6 years ago
Aestek f1cdfbe40e Allow DNS interface to use agent cache (#5300)
6 years ago
Alvin Huang 77eecf1046 add wait to TestClient_JoinLAN
6 years ago
Alvin Huang 136df63e2c add retry to TestResetSessionTimerLocked
6 years ago
Alvin Huang a7180f715a add serf check to testDNSServiceLookupResponseLimits, checkDNSService
6 years ago
Alvin Huang d10b5a396b add wait to TestOperator_AutopilotCASConfiguration
6 years ago
Alvin Huang dc200daf21 add wait to TestSnapshot
6 years ago
Alvin Huang c2a19e5090 add wait to TestAgent_RPCPing
6 years ago
Alvin Huang c23eb91262 fix TestAgent_CheckCriticalTime and better error output
6 years ago
Alvin Huang 6c9b516a29 skip TestCheckTCPPassing on CircleCI
6 years ago
R.B. Boyer c2a30c5fdd fix incorrect body of TestACLEndpoint_PolicyBatchRead
6 years ago
R.B. Boyer b569f222f9 update agent/agent_endpoint_test.go to use V2 tokens with attached policies
6 years ago
Nicholas Jackson 99fe9dabce Envoy config cluster (#5308)
6 years ago
Kainoa Seto b2af8862c7 Deferred updating response meta with consul headers (#5355)
6 years ago
R.B. Boyer ef8258cd4e test: switch test file from assert -> require for consistency
6 years ago
Matt Keeler 766d771017
Pass a testing.T into NewTestAgent and TestAgent.Start (#5342)
6 years ago
R.B. Boyer adbe8ed370 correct some typos
6 years ago
R.B. Boyer 88bb53d001 ensure that we plumb our configured logger into all parts of the raft library
6 years ago
R.B. Boyer 2c983902be reduce the local scope of variable
6 years ago
R.B. Boyer de0f585583
agent: only enable TLS on gRPC if the HTTPS API port is enabled (#5287)
6 years ago
R.B. Boyer f2ed3a3777
clarify the ACL.PolicyDelete endpoint (#5337)
6 years ago
R.B. Boyer 324ba5df17
update TestStateStore_ACLBootstrap to not rely upon request mutation (#5335)
6 years ago
Matt Keeler 7073ba4ed2
Move autopilot initialization to prevent race (#5322)
6 years ago
Kyle Havlovitz 29e4c17b07
connect/ca: fix a potential panic in the Consul provider
6 years ago
Matt Keeler acfd87c673
Improve Connect with Prepared Queries (#5291)
6 years ago
R.B. Boyer e1e4249e90
testutil: redirect some test agent logs to testing.T.Logf (#5304)
6 years ago
R.B. Boyer db8a871309
Merge pull request #5237 from hashicorp/term-grpc-stream-on-token-failure
6 years ago
mkeeler c97c712e96
Release v1.4.2
6 years ago
Kyle Havlovitz 7118f42950
Fix failing TestAgent_PurgeCheckOnDuplicate after merge
6 years ago
Matt Keeler 1736e24fb3
Don't generate TXT records just to discard them (#5272)
6 years ago
Kyle Havlovitz 928b7ec60d
Merge branch 'healthcheck-duration-fix'
6 years ago
Kyle Havlovitz 1a4978fb94
Re-add ReadableDuration types to health check definition
6 years ago
R.B. Boyer e9a2eab316
speed up TestHTTPAPI_MethodNotAllowed_OSS from 11s -> 0.5s (#5268)
6 years ago
Hans Hasselberg 552e150536 correct name
6 years ago
Hans Hasselberg aebb50d47d simpler fix
6 years ago
Hans Hasselberg 5db185a7e4 do not export that type
6 years ago
Hans Hasselberg 7f44100101 fix marshalling
6 years ago
Hans Hasselberg d4790b2827 demo nomad problem
6 years ago
banks 65d2c9b51d
Release v1.4.1
6 years ago
Matt Keeler d5a3ba6cda
Disregard rules when set on a management token (#5261)
6 years ago
Kyle Havlovitz 88c044759f
connect: Forward intention RPCs if this isn't the primary
6 years ago
Kyle Havlovitz 6b28434f8a
Merge pull request #5249 from hashicorp/ca-fixes-oss
6 years ago
Kyle Havlovitz 5bdf130767
Merge pull request #4869 from hashicorp/txn-checks
6 years ago
Kyle Havlovitz a28ba4687d
connect/ca: return a better error message if the CA isn't fully initialized when signing
6 years ago
Matt Keeler 579a8b32ed
Fix several ACL token/policy resolution issues. (#5246)
6 years ago
Paul Banks ef9f27cbc8
connect: tame thundering herd of CSRs on CA rotation (#5228)
6 years ago
R.B. Boyer d3eb781384 Check ACLs more often for xDS endpoints.
6 years ago
Kyle Havlovitz ddc4a8d848
oss: add the enterprise server stub for intention replication check
6 years ago
R.B. Boyer 2dea3e2bd7 Fix some test typos.
6 years ago
Matt Keeler 7e6b3e6a0c
Implement prepared query upstreams watching for envoy (#5224)
6 years ago
Kyle Havlovitz 21380021af txn: update existing txn api docs with new operations
6 years ago
Matt Keeler 1ec5f2a27f
Store leaf cert indexes in raft and use for the ModifyIndex on the returned certs (#5211)
6 years ago
Aestek 4afbe792df Improve blocking queries on services that do not exist (#4810)
6 years ago
Matt Keeler baa8946ea6
cache: Pass through wait query param to the cache.Get (#5203)
6 years ago
Aestek c043de5381 [Security] Allow blocking Write endpoints on Agent using Network Addresses (#4719)
6 years ago
Matt Keeler 1048f3d5e7
acl: Prevent tokens from deleting themselves (#5210)
6 years ago
Paul Banks 0638e09b6e
connect: agent leaf cert caching improvements (#5091)
6 years ago
Kyle Havlovitz c07c5446a8 txn: clean up some state store/acl code
6 years ago
Hans Hasselberg 067027230b
connect: add tls config for vault connect ca provider (#5125)
6 years ago
Alejandro Guirao Rodríguez 9f33353c14 agent/config: Fix typo in comment (#5202)
6 years ago
Paul Banks bb7145f27d
agent: add default weights to service in local state to prevent AE churn (#5126)
6 years ago
Paul Banks 0589525ae9
agent: Don't leave old errors around in cache (#5094)
6 years ago
Pierre Souchay ae7f88f995 Avoid to have infinite recursion in DNS lookups when resolving CNAMEs (#4918)
6 years ago
Paul Banks b29bc906ee
bugfix: use ServiceTags to generate cache key hash (#4987)
6 years ago
Aestek 8709213d6e Prevent status flap when re-registering a check (#4904)
6 years ago
Mitchell Hashimoto f76022fa63 CA Provider Plugins (#4751)
6 years ago