Commit Graph

4195 Commits (b667c5fed80fc35f15ca9fd6e2d851485ffc72f7)

Author SHA1 Message Date
Daniel Nephin dc484ee09e rpc: set response to nil when not found
3 years ago
Daniel Nephin 6021105dfc ca: test that original certs from secondary still verify
3 years ago
Daniel Nephin 6b679aa9d4 Update TODOs to reference an issue with more details
3 years ago
Daniel Nephin 1853a32df6 ca: add test cases for rotating external trusted CA
3 years ago
Daniel Nephin 5e8ea2a039 ca: add a test for secondary with external CA
3 years ago
Daniel Nephin 42ec34d101 ca: examine the full chain in newCARoot
3 years ago
Daniel Nephin 71f3ae04e2 ca: small docs improvements
3 years ago
Daniel Nephin 86994812ed ca: cleanup validateSetIntermediate
3 years ago
Daniel Nephin c1c1580bf8 ca: only return the leaf cert from Sign in vault provider
3 years ago
Daniel Nephin 85ecbaf109
Merge pull request #12110 from hashicorp/dnephin/blocking-queries-not-found
3 years ago
Ashwin Venkatesh 6e6cd928a2
Parse datacenter from request (#12370)
3 years ago
Kyle Havlovitz 3fe358b831 xds: respect chain protocol on default discovery chain
3 years ago
Florian Apolloner f01f00fc84
Support for connect native services in topology view. (#12098)
3 years ago
Chris S. Kim 154b781bc8
Move IndexEntryName helpers to common files (#12365)
3 years ago
Daniel Nephin 8a6e75ac81 rpc: add errNotFound to all Get queries
3 years ago
Daniel Nephin 4b33bdf396 Make blockingQuery efficient with 'not found' results.
3 years ago
Daniel Nephin 897b953f66 Add a test for blocking query on non-existent entry
3 years ago
Daniel Nephin 3301f94004 rpc: improve docs for blockingQuery
3 years ago
R.B. Boyer 115946da99
server: conditionally avoid writing a config entry to raft if it was already the same (#12321)
3 years ago
FFMMM 78264a8030
Vendor in rpc mono repo for net/rpc fork, go-msgpack, msgpackrpc. (#12311)
3 years ago
R.B. Boyer 52009ae86a
missed this test adjustment (#12331)
3 years ago
R.B. Boyer fa4577d1a9
local: fixes a data race in anti-entropy sync (#12324)
3 years ago
Dao Thanh Tung add15e12f7
URL-encode/decode resource names for HTTP API part 5 (#12297)
3 years ago
Mark Anderson 1a16f7ee70 Refactor to make ACL errors more structured. (#12308)
3 years ago
Freddy 9580f79f86
Merge pull request #12223 from hashicorp/proxycfg/passthrough-cleanup
3 years ago
freddygv ceb52d649a Account for upstream targets in another DC.
3 years ago
freddygv cbea3d203c Fix race of upstreams with same passthrough ip
3 years ago
freddygv 659ebc05a9 Ensure passthrough addresses get cleaned up
3 years ago
Freddy 378a7258e3
Prevent xDS tight loop on cfg errors (#12195)
3 years ago
Dhia Ayachi 4f0a71d7b4
fix race when starting a service while the agent `serviceManager` is … (#12302)
3 years ago
Daniel Nephin 01784470f3
Merge pull request #12277 from hashicorp/dnephin/panic-in-service-register
3 years ago
Daniel Nephin 82c264b2b3 config-entry: fix a panic when registering a service or ingress gateway
3 years ago
R.B. Boyer 89bd1f57b5
xds: allow only one outstanding delta request at a time (#12236)
3 years ago
Daniel Nephin 7ec658b7ac
Merge pull request #12265 from hashicorp/dnephin/logging-in-tests
3 years ago
Daniel Nephin 437f769916 A test to reproduce the issue
3 years ago
Daniel Nephin 51b0f82d0e Make test more readable
3 years ago
Daniel Nephin 608597c7b6 ca: relax and move private key type/bit validation for vault
3 years ago
Daniel Nephin d707173253 ca: small cleanup of TestConnectCAConfig_Vault_TriggerRotation_Fails
3 years ago
Daniel Nephin 3f590bb8a1 testing: fix test failures caused by new log level
3 years ago
Daniel Nephin b058845110 sdk: add TestLogLevel for setting log level in tests
3 years ago
Daniel Nephin 7839b2d7e0 ca: add a test that uses an intermediate CA as the primary CA
3 years ago
Daniel Nephin ac732ce82b acl: un-embed ACLIdentity
3 years ago
Daniel Nephin 9d80c1886a
Merge pull request #12167 from hashicorp/dnephin/acl-resolve-token-3
3 years ago
Daniel Nephin 997bf1e5a4
Merge pull request #12166 from hashicorp/dnephin/acl-resolve-token-2
3 years ago
Daniel Nephin 343b6deb79 acl: rename ResolveTokenToIdentityAndAuthorizer to ResolveToken
3 years ago
Daniel Nephin d363cc0f07 acl: remove unused methods on fakes, and add changelog
3 years ago
Daniel Nephin b2b84e7fc6
Merge pull request #12165 from hashicorp/dnephin/acl-resolve-token
3 years ago
Mathew Estafanous c5d2bea92c
Change error-handling across handlers. (#12225)
3 years ago
Fulvio 66f0173355
URL-encode/decode resource names for HTTP API part 4 (#12190)
3 years ago
Dan Upton fdfe079674
streaming: split event buffer by key (#12080)
3 years ago
freddygv c31c1158a6 Add failing test
3 years ago
Daniel Nephin 9b7468f99e ca/provider: remove ActiveRoot from Provider
3 years ago
Daniel Nephin c2b9c81a55 ca: update MockProvider for new interface
3 years ago
Daniel Nephin f05bad4a1d ca: update GenerateRoot godoc
3 years ago
Daniel Nephin 9a59733b7d
Merge pull request #11663 from hashicorp/dnephin/ca-remove-one-call-to-active-root-2
3 years ago
Daniel Nephin db0478265b
Merge pull request #12109 from hashicorp/dnephin/blocking-query-1
3 years ago
Daniel Nephin 7a6e03c19b acl: Remove a call to aclAccessorID
3 years ago
Daniel Nephin 7125fec346
Merge pull request #11221 from hashicorp/dnephin/acl-resolver-5
3 years ago
Dao Thanh Tung 759dd93544
URL-encode/decode resource names for HTTP API part 3 (#12103)
3 years ago
Daniel Nephin f9aef8018b Apply suggestions from code review
3 years ago
Daniel Nephin 737c0097e0 acl: extract a backend type for the ACLResolverBackend
3 years ago
R.B. Boyer d2c0945f52
xds: fix for delta xDS reconnect bug in LDS/CDS (#12174)
3 years ago
Daniel Nephin e134e43da6 acl: remove calls to ResolveIdentityFromToken
3 years ago
Daniel Nephin edca8d61a3 acl: remove ResolveTokenToIdentity
3 years ago
Daniel Nephin a5e8af79c3 acl: return a resposne from ResolveToken that includes the ACLIdentity
3 years ago
Daniel Nephin 8c9c48e219 acl: remove duplicate methods
3 years ago
Daniel Nephin 241663a046 acl: embed ACLResolver in Client and Server
3 years ago
Chris S. Kim bee18f4a1d
Generate bindata_assetfs.go (#12146)
3 years ago
R.B. Boyer b60d89e7ef bulk rewrite using this script
3 years ago
R.B. Boyer 31f6f55bbe test: normalize require.New and assert.New syntax
3 years ago
R.B. Boyer 424f3cdd2c
proxycfg: introduce explicit UpstreamID in lieu of bare string (#12125)
3 years ago
Dan Upton ca3aca92c4
[OSS] Remove remaining references to master (#11827)
3 years ago
VictorBac 31a39c9528
Add GRPC and GRPCUseTLS to api.HealthCheckDefinition (#12108)
3 years ago
Evan Culver e35dd08a63
connect: Upgrade Envoy 1.20 to 1.20.1 (#11895)
3 years ago
Daniel Nephin 71767f1b3e rpc: cleanup exit and blocking condition logic in blockingQuery
3 years ago
Daniel Nephin 72a733bed8 rpc: extract rpcQueryTimeout method
3 years ago
Daniel Nephin fd0a9fd4f3 rpc: move the index defaulting to setQueryMeta.
3 years ago
Daniel Nephin 4b67d6c18b rpc: add subtests to blockingQuery test
3 years ago
Daniel Nephin f92dc11002 rpc: refactor blocking query
3 years ago
Daniel Nephin f31e0b8b1a
Merge pull request #11661 from hashicorp/dnephin/ca-remove-one-call-to-active-root
3 years ago
Kyle Havlovitz 0db874c38b Add virtual IP generation for term gateway backed services
3 years ago
Chris S. Kim 98ea6d1cf1
Fix race with tags (#12041)
3 years ago
Chris S. Kim a0acf9978f
Fix races in anti-entropy tests (#12028)
3 years ago
Mike Morris 1b1a97e8f9
ingress: allow setting TLS min version and cipher suites in ingress gateway config entries (#11576)
3 years ago
Dao Thanh Tung 88c7cfa578
URL-encode/decode resource names for HTTP API part 2 (#11957)
3 years ago
Daniel Nephin d57dec5878 ca: remove unnecessary var, and slightly reduce cyclo complexity
3 years ago
Daniel Nephin 0de7efb316 ca: remove unused provider.ActiveRoot call
3 years ago
Daniel Nephin d0578c6dfc ca: extract the lookup of the active primary CA
3 years ago
Daniel Nephin 7121c78d34 ca: update godoc
3 years ago
Daniel Nephin abac8baa5d ca: remove one call to provider.ActiveRoot
3 years ago
Daniel Nephin eaa084fd41 ca: remove redundant append of an intermediate cert
3 years ago
Daniel Nephin 11f4cdaa49 ca: only generate a single private key for the whole test case
3 years ago
Daniel Nephin b3ffe7ac72 ca: cleanup a test
3 years ago
Daniel Nephin 1fd6b16399 ca: use the new leaf signing lookup func in leader metrics
3 years ago
Blake Covarrubias 4bd92921f4
api: Return 404 when deregistering a non-existent check (#11950)
3 years ago
Dhia Ayachi 1eac39ae9c
clone the service under lock to avoid a data race (#11940)
3 years ago
Daniel Nephin 065f6f89fb
Merge pull request #11918 from hashicorp/dnephin/tob-followup
3 years ago
Daniel Nephin abfc1e4840 snapshot: return the error from replyFn
3 years ago
Daniel Nephin 0166b0839c config: correctly capture all errors.
3 years ago
Chris S. Kim 4cd2542a3e
Fix test for ENT (#11946)
3 years ago
Chris S. Kim e4bcaac08c
Fix test for ENT (#11941)
3 years ago
Dhia Ayachi e653f81919
reset `coalesceTimer` to nil as soon as the event is consumed (#11924)
3 years ago
Mathew Estafanous 0fdd1318e9
Ensure consistency with error-handling across all handlers. (#11599)
3 years ago
Jared Kirschner b393c90ce7 Clarify service and check error messages (use ID)
3 years ago
Jared Kirschner a36ddc31c7
Merge pull request #11335 from littlestar642/url-encoded-args
3 years ago
Chris S. Kim 30550f2c63
testing: Revert assertion for virtual IP flag (#11932)
3 years ago
Jared Kirschner e0ddb9e4c5
Merge pull request #11820 from hashicorp/improve-ui-disabled-api-response
3 years ago
littlestar642 634c72d22f add path escape and unescape to path params
3 years ago
Daniel Nephin 1683da66b0
Merge pull request #11796 from hashicorp/dnephin/cleanup-test-server
3 years ago
freddygv 21f2c2e68d Purge chain if it shouldn't be there
3 years ago
freddygv fe85138453 additional test fixes
3 years ago
freddygv d26b4860fd Account for new upstreams constraint in tests
3 years ago
freddygv 2fe27b748d Check ingress upstreams when gating chain watches
3 years ago
freddygv 6814e84459 Use ptr receiver in all Upstream methods
3 years ago
freddygv 6af9a0d8cf Avoid storing chain without an upstream
3 years ago
freddygv ba12dc215b Clean up chains separately from their watches
3 years ago
freddygv c5c290c503 Validate chains are associated with upstreams
3 years ago
freddygv 70d6358426 Store intention upstreams in snapshot
3 years ago
R.B. Boyer 81ea8129d7
proxycfg: ensure all of the watches are canceled if they are cancelable (#11824)
3 years ago
Jared Kirschner f81dd817ff
Merge pull request #11818 from hashicorp/improve-url-not-found-response
3 years ago
R.B. Boyer 4aabbe529c
proxycfg: use external addresses in tproxy when crossing partition boundaries (#11823)
3 years ago
Jared Kirschner 2de79abc00 http: improve 404 Not Found response message
3 years ago
Freddy 85fe875d07
Use anonymousToken when querying by secret ID (#11813)
3 years ago
R.B. Boyer 631c649291
various partition related todos (#11822)
3 years ago
Jared Kirschner 34ea9ae8c9 http: improve UI not enabled response message
3 years ago
Kyle Havlovitz b50ef696c6
Merge pull request #11812 from hashicorp/metrics-ui-acls
3 years ago
Kyle Havlovitz 9dcaf0539c
Merge pull request #11798 from hashicorp/vip-goroutine-check
3 years ago
Kyle Havlovitz 018693b6ee acl: use wildcard partition in metrics proxy ui endpoint
3 years ago
Kyle Havlovitz 80a4489844 state: fix freed VIP table id index
3 years ago
Kyle Havlovitz ecbd3eb2a6 Exit before starting the vip check routine if possible
3 years ago
Daniel Nephin 0a9cb62859 testing: Deprecate functions for creating a server.
3 years ago
Daniel Nephin c9a992f5e8 testing: remove old config.Build version
3 years ago
Kyle Havlovitz 04ef1c3fa0 leader: move the virtual IP version check into a goroutine
3 years ago
FFMMM 74eb257b1c
[sync ent] increase segment max limit to 4*64, make configurable (#1424) (#11795)
3 years ago
Daniel Nephin f9647ece05
Merge pull request #11780 from hashicorp/dnephin/ca-test-vault-in-secondary
3 years ago
R.B. Boyer bb75e63eb4
agent: ensure service maintenance checks for matching partitions ahead of other errors (#11788)
3 years ago
Daniel Nephin 4116a143e0 fix misleading errors on vault shutdown
3 years ago
Daniel Nephin 968aeff1bb ca: prune some unnecessary lookups in the tests
3 years ago
Daniel Nephin 305655a8b1 ca: remove duplicate WaitFor function
3 years ago
Daniel Nephin 1dec6bb815 ca: fix flakes in RenewIntermediate tests
3 years ago
Daniel Nephin 2e4e8bd791 ca: improve RenewIntermediate tests
3 years ago
Daniel Nephin a4ba1f348d ca: add a test for Vault in secondary DC
3 years ago
Daniel Nephin a5d9b1d322 ca: Add CARoots.Active method
3 years ago
R.B. Boyer 5f5720837b
acl: ensure that the agent recovery token is properly partitioned (#11782)
3 years ago
Daniel Nephin f72e285fe8
Merge pull request #11721 from hashicorp/dnephin/ca-export-fsm-operation
3 years ago
Daniel Nephin 214dcf8d0d ca: use the real FSM operation in tests
3 years ago
R.B. Boyer 592ac8f96a
test: test server should auto cleanup (#11779)
3 years ago
Evan Culver 7a365fa0da
rpc: Unset partition before forwarding to remote datacenter (#11758)
3 years ago
Daniel Nephin dccd3f5806 Merge remote-tracking branch 'origin/main' into serve-panic-recovery
3 years ago
Dan Upton 7efab269c0
Rename `Master` and `AgentMaster` fields in config protobuf (#11764)
3 years ago