Commit Graph

2001 Commits (95031f9f9045469a1ecee326f1c12319cb62b34e)

Author SHA1 Message Date
Daniel Nephin dd40a1535e testing: reduce verbosity of output log
5 years ago
Daniel Nephin 1d90ecc31d Remove unused token parameter
5 years ago
Daniel Nephin ef68e404a5 A little less 'just'
5 years ago
Daniel Nephin 002fc85ef2 Remove unused customEDSClusterJSON
5 years ago
Matt Keeler 028654410c
Ensure server requirements checks are done against ALL known se… (#7491)
5 years ago
Matt Keeler 74a665afc3
Add information about which services are proxied to ui services… (#7417)
5 years ago
Daniel Nephin b5c7d292e4
Merge pull request #7516 from hashicorp/dnephin/remove-unused-method
5 years ago
Daniel Nephin bb8833a2d5 agent: Remove unused Encrypted from interface
5 years ago
Freddy 18d356899c
Enable CLI to register terminating gateways (#7500)
5 years ago
Daniel Nephin 33c7894123
Merge pull request #7498 from hashicorp/dnephin/small-cleanup
5 years ago
Alejandro Baez bafa69bb69
Add PolicyReadByName for API (#6615)
5 years ago
Chris Piraino 136099d834
Fix flakey health check reload test (#7490)
5 years ago
Daniel Nephin 266bdf7465 agent: Remove xdsServer field
5 years ago
Daniel Nephin 326453eaa1 dns: Remove a few unused params
5 years ago
Daniel Nephin 61ec7aa5c9 ci: Run all connect/ca tests from the integration suite
5 years ago
Daniel Nephin f4a35dfd84 ci: Do not skip tests because of missing binaries on CI
5 years ago
Kim Ngo bef693df9c
agent/xds: Update mesh gateway to use service router timeout (#7444)
5 years ago
Matt Keeler 80db61193c
Fix ACL mode advertisement and detection (#7451)
5 years ago
Freddy 709932f088
Update MSP token and filtering (#7431)
5 years ago
Hans Hasselberg 7777891aa6
tls: remove old ciphers (#7282)
5 years ago
R.B. Boyer 85a08bf8ed
server: strip local ACL tokens from RPCs during forwarding if crossing datacenters (#7419)
5 years ago
Kyle Havlovitz 955ee64b95
Merge pull request #7373 from hashicorp/acl-segments-fix
5 years ago
R.B. Boyer 6adad71125
wan federation via mesh gateways (#6884)
5 years ago
Matt Keeler e3891db55b
Gather instance counts of aggregated services (#7415)
5 years ago
Pierre Souchay 864f7efffa
agent: configuration reload preserves check's statuses for services (#7345)
5 years ago
Hans Hasselberg c46e2ae59b
docs: add docs for kv_max_value_size (#7405)
5 years ago
Kim Ngo a8f4123d37
agent/txn_endpoint: configure max txn request length (#7388)
5 years ago
Matt Keeler 7584dfe8c8 Fix session backwards incompatibility with 1.6.x and earlier.
5 years ago
John Cowen e83fb1882c
Adds http_config.response_headers to the UI headers plus tests (#7369)
5 years ago
Pierre Souchay 2300e2d4ba
agent: take Prometheus MIME-type header into account (#7371)
5 years ago
Kyle Havlovitz 7c57837908 Add stub methods for ACL/segment bug fix from enterprise
5 years ago
Hans Hasselberg e05ac57e8f
tls: support tls 1.3 (#7325)
5 years ago
Matt Keeler 861f754dad
Properly detect no alt domain set (#7323)
5 years ago
Matt Keeler 4c9577678e
xDS Mesh Gateway Resolver Subset Fixes (#7294)
5 years ago
rerorero 2630a949f7
fix: Destroying a session that doesn't exist returns status cod… (#6905)
5 years ago
Wim 3a2c865ff6
Fix high cpu usage with IPv6 recursor address. Closes #6120 (#6128)
5 years ago
Chris Piraino 47ff532735
Fixes envoy config when both RetryOn* values are set (#7280)
5 years ago
Lars Lehtonen 6bcd596539
agent/proxycfg: fix dropped error in state.initWatchesMeshGateway() (#7267)
5 years ago
Matt Keeler b137060630
Allow the PolicyResolve and RoleResolve endpoints to process na… (#7296)
5 years ago
Hans Hasselberg 315d57bfb1
agent: sensible keyring error (#7272)
5 years ago
Hans Hasselberg cb0f94487c
config: increase http_max_conns_per_client default to 200 (#7289)
5 years ago
R.B. Boyer 12876983cf
avoid 'panic: Log in goroutine after TestCacheGet_refreshAge has completed' (#7276)
5 years ago
R.B. Boyer 80b1165976
fix use of hclog logger (#7264)
5 years ago
Matt Keeler f523469529
Merge branch 'master' of github.com:hashicorp/consul
5 years ago
hashicorp-ci f0cac9260f
update bindata_assetfs.go
5 years ago
ShimmerGlass 68e0f6bf84
agent: add server raft.{last,applied}_index gauges (#6694)
5 years ago
gaoxinge 216eb29d6b
tests: convert windows style path to posix style path to avoid hcl parsing error (#6351)
5 years ago
Matt Keeler e231d62bc9
Make the config entry and leaf cert cache types ns aware (#7256)
5 years ago
Hans Hasselberg 6739fe6e83
connect: add validations around intermediate cert ttl (#7213)
5 years ago
R.B. Boyer 73ba5d9990
make the TestRPC_RPCMaxConnsPerClient test less flaky (#7255)
5 years ago
Sarah Christoff 6678c8898a
Fix flaky TestAutopilot_BootstrapExpect (#7242)
5 years ago
Kit Patella 55f19a9eb2
rpc: measure blocking queries (#7224)
5 years ago
Akshay Ganeshen 8beb716414
feat: support sending body in HTTP checks (#6602)
5 years ago
Matt Keeler 4f21bbdb4e
OSS Changes for agent local state namespace testing (#7250)
5 years ago
Matt Keeler d0cd092e3b
Catalog + Namespace OSS changes. (#7219)
5 years ago
R.B. Boyer 8c596953b0
agent: ensure that we always use the same settings for msgpack (#7245)
5 years ago
Freddy 01855d8579
Remove outdated TODO (#7244)
5 years ago
Matt Keeler 444517080b
Fix a bug with ACL enforcement of reads on namespaced config entries. (#7239)
5 years ago
Kit Patella 9a220f3010
agent/consul server: fix LeaderTest_ChangeNodeID (#7236)
5 years ago
Matt Keeler 9e5fd7f925
OSS Changes for various config entry namespacing bugs (#7226)
5 years ago
Hans Hasselberg 6a18f01b42
agent: ensure node info sync and full sync. (#7189)
5 years ago
R.B. Boyer 0ecb4538c1
agent: differentiate wan vs lan loggers in memberlist and serf (#7205)
5 years ago
Matt Keeler dceb107325
Fix disco chain graph validation for namespaces (#7217)
5 years ago
Matt Keeler 228da48f5d
Minor Non-Functional Updates (#7215)
5 years ago
Freddy cb77fc6d01
Add managed service provider token (#7218)
5 years ago
Hans Hasselberg f6ec8ed92b
agent: increase watchLimit to 8192. (#7200)
5 years ago
Matt Keeler dfb0177dbc
Testing updates to support namespaced testing of the agent/xds… (#7185)
5 years ago
Davor Kapsa 3cb4def563
auto_encrypt: check previously ignored error (#6604)
5 years ago
hashicorp-ci 1fcf4bfc10 update bindata_assetfs.go
5 years ago
Hans Hasselberg 5531678e9e
Security fixes (#7182)
5 years ago
Matt Keeler d5f9268222
ACL enforcement for the agent/health/services endpoints (#7191)
5 years ago
R.B. Boyer cf29bd4dcf
cli: improve the file safety of 'consul tls' subcommands (#7186)
5 years ago
Matt Keeler d8c0be2c84
agent: add ACL enforcement to the v1/agent/health/service/* endpoints
5 years ago
Matt Keeler 6855a778c2
Updates to the Txn API for namespaces (#7172)
5 years ago
Matt Keeler cf27dff62f
Add some better waits to prevent CA is nil test flakes (#7171)
5 years ago
Matt Keeler 0be862fe46
Small refactoring to move meta parsing into the switch statement (#7170)
5 years ago
Matt Keeler bfc03ec587
Fix a couple bugs regarding intentions with namespaces (#7169)
5 years ago
Matt Keeler 61d8778210
Sync some feature flag support from enterprise (#7167)
5 years ago
R.B. Boyer d78b5008ce
various tweaks on top of the hclog work (#7165)
5 years ago
Chris Piraino 401221de58
Allow users to configure either unstructured or JSON logging (#7130)
5 years ago
Matt Keeler 848938ad48
Output proper HTTP status codes for Txn requests that are too large (#7157)
5 years ago
Kit Patella 0d336edb65
Add accessorID of token when ops are denied by ACL system (#7117)
5 years ago
Anthony Scalisi beb928f8de fix spelling errors (#7135)
5 years ago
hashicorp-ci 1194d2fbb7
update bindata_assetfs.go
5 years ago
Matt Keeler c09693e545
Updates to Config Entries and Connect for Namespaces (#7116)
5 years ago
Matt Keeler bbc2eb1951
Add the v1/catalog/node-services/:node endpoint (#7115)
5 years ago
Chris Piraino 59f1462801
Fix segfault when removing both a service and associated check (#7108)
5 years ago
R.B. Boyer 0f44bcd3d8
agent: default the primary_datacenter to the datacenter if not configured (#7111)
5 years ago
Hans Hasselberg 7d6ea82527
raft: increase raft notify buffer. (#6863)
5 years ago
Hans Hasselberg 11a571de95
agent: setup grpc server with auto_encrypt certs and add -https-port (#7086)
5 years ago
Hans Hasselberg 82c556d1be
connect: use correct subject key id for leaf certificates. (#7091)
5 years ago
R.B. Boyer c91d0fa2c9
make TestCatalogNodes_Blocking less flaky (#7074)
5 years ago
R.B. Boyer e2eb9f0585
test: ensure we don't ask vault to sign a leaf that outlives its CA when acting as a secondary (#7100)
5 years ago
Hans Hasselberg f0fc9aea7f
tests: fix autopilot test (#7092)
5 years ago
Aestek 8fc736038a agent: remove service sidecars in Agent.cleanupRegistration (#7022)
5 years ago
Hans Hasselberg 9c1361c02b
raft: update raft to v1.1.2 (#7079)
5 years ago
Hans Hasselberg 804eb17094
connect: check if intermediate cert needs to be renewed. (#6835)
5 years ago
Hans Hasselberg 87f32c8ba6
auto_encrypt: set dns and ip san for k8s and provide configuration (#6944)
5 years ago
Aestek ba8fd8296f Add support for dual stack IPv4/IPv6 network (#6640)
5 years ago
Aestek 5dc8875bd3 agent: do not deregister service checks twice (#6168)
5 years ago
Matej Urbas ce023359fe agent: configurable MaxQueryTime and DefaultQueryTime. (#3777)
5 years ago
Freddy e635b24215
Update force-leave ACL requirement to operator:write (#7033)
5 years ago
Matt Keeler 663cf1e9a8
AuthMethod updates to support alternate namespace logins (#7029)
5 years ago
Matt Keeler 8bd34e126f
Intentions ACL enforcement updates (#7028)
5 years ago
Pierre Souchay 3bf2e640c7 rpc: log method when a server/server RPC call fails (#4548)
5 years ago
Matt Keeler 27f49eede9
Move where the service-resolver watch is done so that it happen… (#7025)
5 years ago
R.B. Boyer 10f04a8c4a connect: derive connect certificate serial numbers from a memdb index instead of the provider table max index (#7011)
5 years ago
R.B. Boyer 50c879923c connect: ensure that updates to the secondary root CA configuration use the correct signing key ID values for comparison (#7012)
5 years ago
Matt Keeler fa2003d7cb
Move Session.CheckIDs into OSS only code. (#6993)
5 years ago
hashicorp-ci 5e45e3470b
update bindata_assetfs.go
5 years ago
R.B. Boyer abb1603a86
Restore a few more service-kind index updates so blocking in ServiceDump works in more cases (#6948)
5 years ago
Matt Keeler a78f7d7a34
OSS changes for implementing token based namespace inferencing
5 years ago
Matt Keeler be9ba707ba
Unflake the TestACLEndpoint_TokenList test
5 years ago
Matt Keeler 80d13d500b
Miscellaneous acl package cleanup
5 years ago
Matt Keeler 0b346616e9
Rename EnterpriseAuthorizerContext -> AuthorizerContext
5 years ago
Matt Keeler 3faee222f2
OSS changes to allow for parsing the enterprise DNS config prop… (#6959)
5 years ago
Preetha c47dbffe1c autopilot: fix dead server removal condition to use correct failure tolerance (#4017)
5 years ago
Wim 4f5d5020b8 dns: fix memoryleak by upgrading outdated miekg/dns (#6748)
5 years ago
Hans Hasselberg 7d0f72c60a
acl: use constant time comparing to check token (#6943)
5 years ago
Matt Keeler 9d801d1dc2 ui: feature support templating for index.html (#6921)
5 years ago
hashicorp-ci aca92ad58f
update bindata_assetfs.go
5 years ago
Matt Keeler e81e338260
Fix blocking for ServiceDumping by kind (#6919)
5 years ago
Matt Keeler 5934f803bf
Sync of OSS changes to support namespaces (#6909)
5 years ago
rerorero 34649b8820 [ci] fix: go-fmt fails on master branch (#6906)
5 years ago
Matt Keeler 2343413bf0
Fix the TestAPI_CatalogRegistration test
5 years ago
Hans Hasselberg 9ff69194a2
tls: auto_encrypt and verify_incoming (#6811) (#6899)
5 years ago
Hans Hasselberg 2ad0831b34
agent: fewer file local differences between enterprise and oss (#6820) (#6898)
5 years ago
Matt Keeler 8f0ab0129e
Miscellaneous Fixes (#6896)
5 years ago
Matt Keeler a704ebe639
Add Namespace support to the API module and the CLI commands (#6874)
5 years ago
Matt Keeler deb91f3d3c
[Feature] API: Add a internal endpoint to query for ACL authori… (#6888)
5 years ago
Matt Keeler c05ab15485
Fix the TestLeader_SecondaryCA_IntermediateRefresh test flakine… (#6885)
5 years ago
Hans Hasselberg f457cfa965
tests: increase TLSHandshakeTimeout to help slow tests (#6864)
5 years ago
Matt Keeler 71b1c9cc3c
Fix the TestLeader_SecondaryCA_IntermediateRefresh test flakiness
5 years ago
Mike Morris 66b8c20990
Bump go-discover to support EC2 Metadata Service v2 (#6865)
5 years ago
Chris Piraino f3b54fa535
Allow configuration of upstream connection limits in Envoy (#6829)
5 years ago
Matt Keeler be8fd29052
Fix dns service SRV lookup when service address is a fqdn (#6792)
5 years ago
Sarah Adams aed5cb7669
give feedback to CLI user on forceleave command if node does not exist (#6841)
5 years ago
R.B. Boyer 2011f3d7dc
xds: mesh gateway CDS requests are now allowed to receive an empty CDS reply (#6787)
5 years ago
Matt Keeler b069d6777b
OSS KV Modifications to Support Namespaces
5 years ago
Matt Keeler 7b471f6bf8
OSS Modifications necessary for sessions namespacing
5 years ago
Paul Banks cd1b613352
connect: Add AWS PCA provider (#6795)
5 years ago
Chris Piraino 7d4d416a4d test: unflake two TestHealthServiceNode_* tests
5 years ago
Chris Piraino b437b53d55 test: unflake TestDNS_ServiceLookup_WanTranslation
5 years ago
Chris Piraino 3fb7101fa9 test: unflake TestCatalogServiceNodes_DistanceSort
5 years ago
Paul Banks d7329097b2
Change CA Configure struct to pass Datacenter through (#6775)
5 years ago
Matt Keeler c343d90304
Finish the comment
5 years ago
Matt Keeler 8f1f15a827
Track the correct check id for idempotent service/check updates
5 years ago
Nicolas Benoit 0e9a2e5bd0 Fix dns service SRV lookup when service address is a fqdn
5 years ago
Paul Banks b621910618
Support Connect CAs that can't cross sign (#6726)
5 years ago
Paul Banks 45d57ca601
connect: Allow CA Providers to store small amount of state (#6751)
5 years ago
Todd Radel 29b5253154 connect: Implement NeedsLogger interface for CA providers (#6556)
5 years ago
Todd Radel 54f92e2924 Make all Connect Cert Common Names valid FQDNs (#6423)
5 years ago
Matt Keeler ff8157fb51
Fill the Authz Context with a Sentinel Scope (#6729)
5 years ago
Matt Keeler ab5a05f71d
Fix type name (#6728)
5 years ago
Matt Keeler 825e19bc5f
Add DirEntry method to fill enterprise authz context
5 years ago
Matt Keeler d491a3a9d5
Miscellaneous fixes (#6727)
5 years ago
Ferenc Fabian c90e838495 Case sensitive Authorization header with lower-cased scheme in… (#6724)
5 years ago
Paul Banks 87699eca2f
Fix support for RSA CA keys in Connect. (#6638)
5 years ago
Matt Keeler 5d687ce6a9
Fix the Synthetic Policy Tests (#6715)
5 years ago
Matt Keeler d554f77d0d
Add hook for validating the enterprise meta attached to a reque… (#6695)
5 years ago
Matt Keeler 16c7ce8b4c
Add note about RPC multiplexing and TLS content type mutual exc… (#6698)
5 years ago
Matt Keeler 8ac79d0b8b
PreVerify acl:read access for listing endpoints (#6696)
5 years ago
Sarah Adams 78ad8203a4
Use encoding/json as JSON decoder instead of mapstructure (#6680)
5 years ago
Sarah Christoff 5e1c6e907b
Set MinQuorum variable in Autopilot (#6654)
5 years ago
Matt Keeler 66d138f35e
More Replication Abstractions (#6689)
5 years ago
Matt Keeler 440f6ea17a
Ensure that cache entries for tokens are prefixed “token-secret… (#6688)
5 years ago
Matt Keeler 79f78632e1
Update the ACL Resolver to allow for Consul Enterprise specific hooks. (#6687)
5 years ago
Matt Keeler e4ea9b0a96
Updates to allow for Namespacing ACL resources in Consul Enterp… (#6675)
5 years ago
Sarah Adams 0c9487ae72
regression tests for existing agent/ decoding behavior (#6624)
5 years ago
rerorero 86c8e48dd9 fix: incorrect struct tag and WaitGroup usage (#6649)
5 years ago
R.B. Boyer 97aa050c20
agent: allow mesh gateways to initialize even if there are no connect services registered yet (#6576)
5 years ago
R.B. Boyer 8dcba472a2
xds: tcp services using the discovery chain should not assume RDS during LDS (#6623)
5 years ago
Freddy 60f6ec0c2f
Store check type in catalog (#6561)
5 years ago
R.B. Boyer de6ce5b1d9
server: ensure the primary dc and ACL dc match (#6634)
5 years ago
R.B. Boyer 3aeb740430
unflake TestLeader_SecondaryCA_Initialize (#6631)
5 years ago
R.B. Boyer e6bfcb0ca8
fix flaky multidc acl tests that failed to wait for token replication (#6628)
5 years ago
R.B. Boyer 040f47c46e
appease the retry linter (#6629)
5 years ago
Paul Banks d7aa425339
Allow time for secondary CA to initialize (#6627)
5 years ago
Matt Keeler 973341a592
ACL Authorizer overhaul (#6620)
5 years ago
PHBourquin 039615641e Checks to passing/critical only after reaching a consecutive success/failure threshold (#5739)
5 years ago
Sarah Christoff 194f5740ce
ui_content_path config option fix (#6601)
5 years ago
Hans Hasselberg b6499fe6b8 Do not surface left servers (#6420)
5 years ago
R.B. Boyer 6439af86eb
agent: clients should only attempt to remove pruned nodes once per call (#6591)
5 years ago
Sarah Christoff 5e26971864
Prune Unhealthy Agents (#6571)
5 years ago
R.B. Boyer 06ca8cd2d7
agent: updates to the agent token trigger anti-entropy full syncs (#6577)
5 years ago
Matt Keeler d65bbbfd4e
Implement Leader Routine Management (#6580)
5 years ago
Matt Keeler 28221f66f2
Use encoding/json instead of jsonpb even for protobuf types (#6572)
5 years ago
Matt Keeler fc4bcfd81f
Add EnterpriseConfig stubs (#6566)
5 years ago
Matt Keeler abed91d069
Generate JSON and Binary Marshalers for Protobuf Types (#6564)
5 years ago
John Cowen b3b32dc0f6
ui: UI Release Merge (ui-staging merge) (#6527)
5 years ago
Matt Keeler 923d8671a4
Add support for parameterizing the ACL config used with a TestA… (#6559)
5 years ago
R.B. Boyer c4b92d5534
connect: connect CA Roots in secondary datacenters should use a SigningKeyID derived from their local intermediate (#6513)
5 years ago
R.B. Boyer 9566df524e
agent: cache notifications work after error if the underlying RPC returns index=1 (#6547)
5 years ago
Matt Keeler 76cf54068b
Expand the QueryOptions and QueryMeta interfaces (#6545)
5 years ago
Freddy fdd10dd8b8
Expose HTTP-based paths through Connect proxy (#6446)
5 years ago
R.B. Boyer 5882e21b2b
agent: tolerate more failure scenarios during service registration with central config enabled (#6472)
5 years ago
Matt Keeler 100ebd63f9
Allow for enterprise only leader routines (#6533)
5 years ago
R.B. Boyer af01d397a5
connect: don't colon-hex-encode the AuthorityKeyId and SubjectKeyId fields in connect certs (#6492)
5 years ago
R.B. Boyer 796de297c8
connect: intermediate CA certs generated with the vault provider lack URI SANs (#6491)
5 years ago
Matt Keeler 51dcd126b7
Add support for implementing new requests with protobufs instea… (#6502)
5 years ago