Commit Graph

4455 Commits (eac9767c3d2fe8d91784638337f2226aa3f9995b)

Author SHA1 Message Date
Kyle Havlovitz 0d9c99b227 Clean up ent meta id usage in overview summary
3 years ago
Eric 776f5843d0 remove gogo from pbservice
3 years ago
Mark Anderson 5590da2732 Fixup dropped SecretID usage
3 years ago
Kyle Havlovitz e530fbfb33 oss: Add overview UI internal endpoint
3 years ago
Dhia Ayachi 72a997242b
split `pbcommon` to `pbcommon` and `pbcommongogo` (#12587)
3 years ago
Dan Upton f8e2e3c710
streaming: emit events when Connect CA Roots change (#12590)
3 years ago
FFMMM a7e5ee005a
factor out recording func, add unit tests (#12585)
3 years ago
Dan Upton 7298967070
Restructure gRPC server setup (#12586)
3 years ago
FFMMM e5ebc47a94
pre register new rpc metric, rename metric (#12582)
3 years ago
Mark Anderson fa63aed1fa
Add source of authority annotations to the PermissionDeniedError output. (#12567)
3 years ago
Dan Upton b36d4e16b6
Support per-listener TLS configuration ⚙️ (#12504)
3 years ago
Evan Culver e3e481022e
lib: add validation package + DNS label validation (#12535)
3 years ago
FFMMM db27ea3484
[sync oss] add net/rpc interceptor implementation (#12573)
3 years ago
Jared Kirschner 6c84083307
Merge pull request #11821 from hashicorp/error-if-get-request-has-body
3 years ago
Jared Kirschner c73267f318 http: WARN if GET request has non-empty body
3 years ago
Eric eea8300187 Remove the stdduration gogo extension
3 years ago
mrspanishviking 7180c99960
Revert "[Docs] Agent configuration hierarchy "
3 years ago
trujillo-adam 4151dc097a fixing merge conflicts part 3
3 years ago
Eric Haberkorn e92dd9dc9a
Merge pull request #12556 from hashicorp/wire-up-serverless-patcher
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 cf3e517d0e Create and wire up the serverless patcher
3 years ago
trujillo-adam 76d55ac2b4 merging new hierarchy for agent configuration
3 years ago
Mark Anderson 676ea58bc4
Refactor config checks oss (#12550)
3 years ago
Eric Haberkorn d59364fa7f
Merge pull request #12536 from hashicorp/add-serverless-config
3 years ago
Eric Haberkorn 44609c0ca5
Merge pull request #12539 from hashicorp/make-xds-lib
3 years ago
Eric 3302b2eec2 Add the `connect.enable_serverless_plugin` configuration option.
3 years ago
Mark Anderson aaefe15613
Bulk acl message fixup oss (#12470)
3 years ago
Eric f5c9fa6fa6 Make an xdscommon package that will be shared between Consul and Envoy plugins
3 years ago
Eric Haberkorn abfcde1bc6
Merge pull request #12529 from hashicorp/add-meta-to-service-config-response
3 years ago
Eric Haberkorn 9d0ec2eec2 Code review changes
3 years ago
R.B. Boyer 2a56e0055b
proxycfg: change how various proxycfg test helpers for making ConfigSnapshot copies works to be more correct and less error prone (#12531)
3 years ago
Eric f7cc7ff5cd Add `Meta` to `ServiceConfigResponse`
3 years ago
R.B. Boyer 8307e40f2b
reduce flakiness/raciness of errNotFound and errNotChanged blocking query tests (#12518)
3 years ago
R.B. Boyer 9268715697
server: fix spurious blocking query suppression for discovery chains (#12512)
3 years ago
Daniel Nephin 5ba994a73f
Merge pull request #12298 from jorgemarey/b-persistnewrootandconfig
3 years ago
Daniel Nephin 161206e24d ca: make sure the test fails without the fix
3 years ago
R.B. Boyer 58e053c336
raft: upgrade to v1.3.6 (#12496)
3 years ago
Daniel Nephin 73c91ed80f
Merge pull request #12467 from hashicorp/dnephin/ci-vault-test-safer
3 years ago
R.B. Boyer 6666832077
test: parallelize more of TestLeader_ReapOrLeftMember_IgnoreSelf (#12468)
3 years ago
Jorge Marey f429c1a5d9 Fix vault test with suggested changes
3 years ago
Jorge Marey 1a0baf4024 Add test case to verify #12298
3 years ago
Jorge Marey 4375dd2409 Avoid raft change when no config is provided on CAmanager
3 years ago
Daniel Nephin d669226784 ca: fix a test
3 years ago
Daniel Nephin 1f00ede559 ca: require that tests that use Vault are named correctly
3 years ago
R.B. Boyer 7b0548dd8d
server: suppress spurious blocking query returns where multiple config entries are involved (#12362)
3 years ago
Chris S. Kim 25f4a425d1
Merge pull request #12442 from danieleva/12422-keyring
3 years ago
Evan Culver 522676ed8d
connect: Update supported Envoy versions to include 1.19.3 and 1.18.6
3 years ago
Evan Culver b95f010ac0
connect: Upgrade Envoy 1.20 to 1.20.2 (#12443)
3 years ago
R.B. Boyer ca112f8721
fix flaky test panic (#12446)
3 years ago
R.B. Boyer 957146401e
catalog: compare node names case insensitively in more places (#12444)
3 years ago
Daniele Vazzola e76ca318dc Allows keyring operations on client agents
3 years ago
R.B. Boyer 64271289ec
server: partly fix config entry replication issue that prevents replication in some circumstances (#12307)
3 years ago
Chris S. Kim ea47f066d7
Merge pull request #12430 from hashicorp/ci/main-assetfs-build
3 years ago
Daniel Nephin 771df290d7
Merge pull request #11910 from hashicorp/dnephin/ca-provider-interface-for-ica-in-primary
3 years ago
R.B. Boyer 8b987a4d59
configentry: make a new package to hold shared config entry structs that aren't used for RPC or the FSM (#12384)
3 years ago
Dhia Ayachi cd9d8d44a5
file watcher to be used for configuration auto-reload feature (#12301)
3 years ago
hc-github-team-consul-core ad14a2bffd auto-updated agent/uiserver/bindata_assetfs.go from commit 73b6687c5
3 years ago
Evan Culver 602e08ada7
checks: populate interval and timeout when registering services (#11138)
3 years ago
Kyle Havlovitz 362753cad7
Merge pull request #12385 from hashicorp/tproxy-http-upstream-fix
3 years ago
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
Chris S. Kim f8f8580ab2
Godocs updates for catalog endpoints (#11716)
3 years ago
Mathew Estafanous 0a9621ec7a
Transition all endpoint tests in agent_endpoint_test.go to go through ServeHTTP (#11499)
3 years ago
Dan Upton 205ce9a69d
Remove references to "master" ACL tokens in tests (#11751)
3 years ago
Dan Upton 7fe81171d9
Rename `ACLMasterToken` => `ACLInitialManagementToken` (#11746)
3 years ago
Dan Upton 3a91815169
agent/token: rename `agent_master` to `agent_recovery` (internally) (#11744)
3 years ago
R.B. Boyer 9315a9812f return the max
3 years ago
freddygv 60fe5f75bb Remove support for failover to partition
3 years ago
freddygv 5c1f7aa372 Allow cross-partition references in disco chain
3 years ago
R.B. Boyer b1605639fc
light refactors to support making partitions and serf-based wan federation are mutually exclusive (#11755)
3 years ago
R.B. Boyer e20e6348dd
areas: make the gRPC server tracker network area aware (#11748)
3 years ago
Freddy a725f06c83
Merge pull request #11739 from hashicorp/ap/exports-rename
3 years ago
freddygv e91509383f Clean up additional refs to partition exports
3 years ago
freddygv ed6076db26 Rename partition-exports to exported-services
3 years ago
freddygv f5b25401b3 Update intention topology to use new table
3 years ago
freddygv 55970c6ccd Avoid updating default decision from wildcard ixn
3 years ago
freddygv 497aab669f Add a new table to query service names by kind
3 years ago
freddygv e7a7042c69 Update listener generation to account for consul VIP
3 years ago
Freddy f032d6ef05
Merge pull request #11680 from hashicorp/ap/partition-exports-oss
3 years ago
Dan Upton 3b9dfca88d
internal: support `ResultsFilteredByACLs` flag/header (#11643)
3 years ago
Dan Upton c8204330ed
query: support `ResultsFilteredByACLs` in query list endpoint (#11620)
3 years ago
Dhia Ayachi ce326b6074
port oss changes (#11736)
3 years ago
Freddy e246defb6c
Merge pull request #11720 from hashicorp/bbolt
3 years ago
Dan Upton 047aa2ffb0
fedstate: support `ResultsFilteredByACLs` in `ListMeshGateways` endpoint (#11644)
3 years ago
Dan Upton 361d9c2862
catalog: support `ResultsFilteredByACLs` flag/header (#11594)
3 years ago
Dan Upton 4c0956c03a
coordinate: support `ResultsFilteredByACLs` flag/header (#11617)
3 years ago
Dan Upton bf1e2ca551
sessions: support `ResultsFilteredByACLs` flag/header (#11606)
3 years ago
Dan Upton d92f0d84c6
txn: support `ResultsFilteredByACLs` flag in `Read` endpoint (#11632)
3 years ago
Dan Upton 547aa219ea
agent: support `X-Consul-Results-Filtered-By-ACLs` header in agent-local endpoints (#11610)
3 years ago
Dhia Ayachi 86159c6ed8
sessions partitioning tests (#11734)
3 years ago
Dan Upton c314be2ff9
intention: support `ResultsFilteredByACLs` flag/header (#11612)
3 years ago
Mark Anderson a89ffba2d4
Cross port of ent #1383 (#11726)
3 years ago
Dan Upton 599a4d6619
config: support `ResultsFilteredByACLs` in list/list all endpoints (#11621)
3 years ago
Dan Upton c4c68915c9
event: support `X-Consul-Results-Filtered-By-ACLs` header in list (#11616)
3 years ago
Dan Upton 474ef7cc1f
kv: support `ResultsFilteredByACLs` in list/list keys (#11593)
3 years ago
Dan Upton cf1bd585f6
health: support `ResultsFilteredByACLs` flag/header (#11602)
3 years ago
Dan Upton 1e47e3c82b
Groundwork for exposing when queries are filtered by ACLs (#11569)
3 years ago
Kyle Havlovitz 0546bbe08a dns: add endpoint for querying service virtual IPs
3 years ago
Kyle Havlovitz 6f34a4f777
Merge pull request #11724 from hashicorp/service-virtual-ips
3 years ago
Kyle Havlovitz 4f2cfee4b0 consul: add virtual IP generation for connect services
3 years ago
R.B. Boyer c46f9f9f31
agent: add variation of force-leave that exclusively works on the WAN (#11722)
3 years ago
Matt Keeler c7a94843ee Emit raft-boltdb metrics
3 years ago
Daniel Nephin e47cecc653 config: add NoFreelistSync option
3 years ago
Matt Keeler 42a5635bc3 Use raft-boltdb/v2
3 years ago
Daniel Nephin 17a2d14d49 ca: set the correct SigningKeyID after config update with Vault provider
3 years ago
Daniel Nephin 96f95889db
Merge pull request #11713 from hashicorp/dnephin/ca-test-names
3 years ago
Daniel Nephin ff4581092e
Merge pull request #11671 from hashicorp/dnephin/ca-fix-storing-vault-intermediate
3 years ago
Daniel Nephin 81afb208ac
Merge pull request #11677 from hashicorp/dnephin/freeport-interface
3 years ago
Daniel Nephin 447097b166 ca: make test naming consistent
3 years ago
FFMMM 384d497f26
add MustRevalidate flag to connect_ca_leaf cache type; always use on non-blocking queries (#11693)
3 years ago
Daniel Nephin 28a8a64019 ca: make getLeafSigningCertFromRoot safer
3 years ago
Daniel Nephin b29faa3e50 ca: fix stored CARoot representation with Vault provider
3 years ago
Dan Upton bf56a2c495
Rename `agent_master` ACL token in the API and CLI (#11669)
3 years ago
Dan Upton d8afd2f6c8
Rename `master` and `agent_master` ACL tokens in the config file format (#11665)
3 years ago
Chris S. Kim 54e4d1b7b2
ENT to OSS sync (#11703)
3 years ago
R.B. Boyer db91cbf484
auto-config: ensure the feature works properly with partitions (#11699)
3 years ago
Daniel Nephin 32ef9c5d5c ca: add some godoc and func for finding leaf signing cert
3 years ago
Daniel Nephin 4185045a7f sdk/freeport: rename Port to GetOne
3 years ago
Chris S. Kim 56fab21582
Refactor test helper (#11689)
3 years ago
Chris S. Kim 36246c5791
acl: Fill authzContext from token in Coordinate endpoints (#11688)
3 years ago
freddygv dd662d7058 Move ent config test to ent file
3 years ago
freddygv 5e1f7b7c36 Prevent partition-exports entry from OSS usage
3 years ago
Daniel Nephin e8312d6b5a testing: remove unnecessary calls to freeport
3 years ago
Daniel Nephin d795a73f78 testing: use the new freeport interfaces
3 years ago
Daniel Nephin 56f9238d15 go-sso: remove returnFunc now that freeport handles return
3 years ago
Daniel Nephin 8c7475d95e sdk: add freeport functions that use t.Cleanup
3 years ago
Daniel Nephin 59204598c8 ca: clean up unnecessary raft.Apply response checking
3 years ago
Daniel Nephin 52f0853ff9
Merge pull request #11339 from hashicorp/dnephin/ca-manager-isolate-secondary-2
3 years ago
Daniel Nephin 91a0c25932 ca: remove state check in secondarySetPrimaryRoots
3 years ago
Daniel Nephin f1944458e4 ca: remove actingSecondaryCA
3 years ago
Daniel Nephin b92084b8e8 ca: reduce consul provider backend interface a bit
3 years ago
Dhia Ayachi 3820e09a47
Partition/kv indexid sessions (#11639)
3 years ago
Dhia Ayachi bb83624950
Partition session checks store (#11638)
3 years ago
Chris S. Kim 2350e7e56a
cleanup: Clarify deprecated legacy intention endpoints (#11635)
3 years ago
Chris S. Kim db5ee0e4d2
Merge from ent (#11506)
3 years ago
R.B. Boyer dd4a59db8e
agent: purge service/check registration files for incorrect partitions on reload (#11607)
3 years ago
Iryna Shustava 0ee456649f
connect: Support auth methods for the vault connect CA provider (#11573)
3 years ago
Daniel Nephin b4080bc0dc ca: use the cluster ID passed to the primary
3 years ago
Daniel Nephin b9ab9bae12 ca: accept only the cluster ID to SpiffeIDSigningForCluster
3 years ago
Will Jordan 68efecafed
Update node info sync comment (#11465)
3 years ago
R.B. Boyer 1e02460bd1
re-run gofmt on 1.17 (#11579)
3 years ago
R.B. Boyer eb21649f82
partitions: various refactors to support partitioning the serf LAN pool (#11568)
3 years ago
freddygv 0e507492d0 Update proxycfg for ingress service partitions
3 years ago
freddygv e5b7c4713f Accept partition for ingress services
3 years ago
freddygv 400697507b Move assertion to after config fetch
3 years ago
freddygv da5bcc574e Use ClusterID to check for readiness
3 years ago
freddygv 6976044bc4 Prevent replicating partition-exports
3 years ago
freddygv 5c121d7a48 handle error scenario of empty local DC
3 years ago
freddygv af29cda415 Restrict DC for partition-exports writes
3 years ago
Freddy 00b5b0a0a2
Update filter chain creation for sidecar/ingress listeners (#11245)
3 years ago
Kyle Havlovitz 6c0bd0550f
Merge pull request #11461 from deblasis/feature/empty_client_addr_warning
3 years ago
Daniel Upton 50a1f20ff9
xds: prefer fed state gateway definitions if they're fresher (#11522)
3 years ago
Freddy 7d95d90fce
Merge pull request #11514 from hashicorp/dnephin/ca-fix-secondary-init
3 years ago
freddygv cc5a7ed36c Avoid returning empty roots with uninitialized CA
3 years ago
Dhia Ayachi 7916268c40
refactor session state store tables to use the new index pattern (#11525)
3 years ago
Dhia Ayachi 98735a6d12
KV refactoring, part 2 (#11512)
3 years ago
Dhia Ayachi 520cb5858c
KV state store refactoring and partitioning (#11510)
3 years ago
Giulio Micheloni af7b7b5693
Merge branch 'main' into serve-panic-recovery
3 years ago
Daniel Nephin d9110136f2 ca: Only initialize clusterID in the primary
3 years ago
Daniel Nephin 01bd3d118d ca: return an error when secondary fails to initialize
3 years ago
Daniel Nephin 8ba760a2fc acl: remove id and revision from Policy constructors
3 years ago
Daniel Nephin 7c679c11e6 acl: remove Policy.ID and Policy.Revision
3 years ago
R.B. Boyer c7c5013edd
rename helper method to reflect the non-deprecated terminology (#11509)
3 years ago
Connor efe4b21287
Support Vault Namespaces explicitly in CA config (#11477)
3 years ago
R.B. Boyer 44c023a302
segments: ensure that the serf_lan_allowed_cidrs applies to network segments (#11495)
3 years ago
Mark Anderson 7e8228a20b
Remove some usage of md5 from the system (#11491)
3 years ago
FFMMM 61bd417a82
plumb thru root cert tll to the aws ca provider (#11449)
3 years ago
FFMMM 6004a21f35
fix aws pca certs (#11470)
3 years ago
Mathew Estafanous 8fb90aacef
Convert (some) test endpoints to use ServeHTTP instead of direct calls to handlers. (#11445)
3 years ago
FFMMM 4ddf973a31
add root_cert_ttl option for consul connect, vault ca providers (#11428)
3 years ago
Daniel Nephin 51d8417545
Merge pull request #10690 from tarat44/h2c-support-in-ping-checks
3 years ago
Alessandro De Blasis 2f970555d9 config: warn the user if client_addr is empty
3 years ago
Daniel Nephin b57cae94de
Merge pull request #10771 from hashicorp/dnephin/emit-telemetry-metrics-immediately
3 years ago
freddygv 60066e5154 Exclude default partition from GatewayKey string
3 years ago
freddygv e3666b0bc4 Update GatewayKeys deduplication
3 years ago
freddygv 90ce897456 Store GatewayKey in proxycfg snapshot for re-use
3 years ago
freddygv bbe46e9522 Update locality check in xds
3 years ago
freddygv 4d4ccedb3a Update locality check in proxycfg
3 years ago
Daniel Nephin 7337cfd6dc
Merge pull request #11340 from hashicorp/dnephin/ca-manager-provider
3 years ago
Daniel Nephin eee598e91c
Merge pull request #11338 from hashicorp/dnephin/ca-manager-isolate-secondary
3 years ago
Daniel Upton d47b7311b8
Support Check-And-Set deletion of config entries (#11419)
3 years ago
Dhia Ayachi 2801785710
regenerate expired certs (#11462)
3 years ago
Jared Kirschner 0854e1d684
Merge pull request #11348 from kbabuadze/fix-answers-alt-domain
3 years ago
R.B. Boyer c8cafb7654
agent: for various /v1/agent endpoints parse the partition parameter on the request (#11444)
3 years ago
R.B. Boyer af9ffc214d
agent: add a clone function for duplicating the serf lan configuration (#11443)
3 years ago
Daniel Nephin 367b664318 Add tests for cert expiry metrics
3 years ago
Daniel Nephin 210d37e4ab
Merge pull request #10671 from hashicorp/dnephin/fix-subscribe-test-flake
3 years ago
Evan Culver 61be9371f5
connect: Remove support for Envoy 1.16 (#11354)
3 years ago
Evan Culver bec08f4ec3
connect: Add support for Envoy 1.20 (#11277)
3 years ago
freddygv ac96ce6552 Ensure partition-exports kind gets marshalled
3 years ago
Daniel Nephin a8e2e1c365 agent: move agent tls metric monitor to a more appropriate place
3 years ago
Daniel Nephin c92513ec16 telemetry: set cert expiry metrics to NaN on start
3 years ago
Daniel Nephin 9264ce89d2 telemetry: fix cert expiry metrics by removing labels
3 years ago
Daniel Nephin 7948720bbb telemetry: only emit leader cert expiry metrics on the servers
3 years ago
Daniel Nephin 7fe60e5989 telemetry: prevent stale values from cert monitors
3 years ago
Daniel Nephin 0cc58f54de telemetry: improve cert expiry metrics
3 years ago
Daniel Nephin a3c781682d subscribe: attempt to fix a flaky test
3 years ago
Freddy fbcf9f3f6c
Merge pull request #11435 from hashicorp/ent-authorizer-refactor
3 years ago
Freddy 303532825f
Merge pull request #11432 from hashicorp/ap/exports-mgw
3 years ago
freddygv 43360eb216 Rework acl exports interface
3 years ago
Freddy ec7e94d129
Merge pull request #11433 from hashicorp/exported-service-acls
3 years ago