Commit Graph

1410 Commits (1ca4cca043d7847b2b3088bcc787f99ab3a96354)

Author SHA1 Message Date
Matt Keeler 790cf90ee5
Fix the NonVoter Bootstrap test (#4786)
6 years ago
banks 1757fbc0aa
Release v1.4.0-rc1
6 years ago
Kyle Havlovitz 819566f6b7 fsm: add Intention operations to transactions for internal use
6 years ago
Matt Keeler 34b53e7099 A few misc fixes found by go vet
6 years ago
Matt Keeler 18b29c45c4
New ACLs (#4791)
6 years ago
Pierre Souchay fab55bee2b dns: implements prefix lookups for DNS TTL (#4605)
6 years ago
Jack Pearkes 8c684db488 New command: consul debug (#4754)
6 years ago
Kyle Havlovitz c617326470 re-add Connect multi-dc config changes
6 years ago
R.B. Boyer 307d91934c
fix some test hangs (#4785)
6 years ago
banks 469768ae39 Release v1.3.0
6 years ago
Jack Pearkes 8bcfbaffb6 Revert "Connect multi-dc config" (#4784)
6 years ago
Aestek 25f04fbd21 [Security] Add finer control over script checks (#4715)
6 years ago
Paul Banks 298af6dca7
Quick fix for cache age flakiness in CI
6 years ago
Rebecca Zanzig 34e5516834 Support multiple tags for health and catalog http api endpoints (#4717)
6 years ago
Pierre Souchay 51b33ef015 [Performance On Large clusters] Reduce updates on large services (#4720)
6 years ago
Paul Banks 51c0001aad
[WIP] Initial draft of Sidecar Service and Managed Proxy deprecation docs (#4752)
6 years ago
Pierre Souchay 251156eb68 Added SOA configuration for DNS settings. (#4714)
6 years ago
Kyle Havlovitz e4349c5710 connect/ca: more OSS split for multi-dc
6 years ago
Kyle Havlovitz 0da4f2b2e8 connect/ca: split CA initialization logic between oss/enterprise
6 years ago
Kyle Havlovitz 56dc426227 agent: add primary_datacenter and connect replication config options
6 years ago
Kyle Havlovitz 98d95cfa80 connect: add ExternalTrustDomain to CARoot fields
6 years ago
Kyle Havlovitz 46c829b879 docs: deprecate acl_datacenter and replace it with primary_datacenter
6 years ago
Paul Banks c9217c958e merge feedback: fix typos; actually use deliverLatest added previously but not plumbed in
6 years ago
Paul Banks 161482d2cd Fix up tests broken by master merge; add proxy tests to services command (and fix it!); actually run the proxycfg.Manager
6 years ago
Paul Banks a28e4a33b2 Fix bug in leaf-cert cache type where multiple client tokens collide (#4736)
6 years ago
Paul Banks dca1303d05 Connect Envoy Command (#4735)
6 years ago
Paul Banks 1909a95118 xDS Server Implementation (#4731)
6 years ago
Paul Banks 8336b5e6b9 XDS Server Config (#4730)
6 years ago
Paul Banks 0f27ffd163 Proxy Config Manager (#4729)
6 years ago
Paul Banks 96b9b95a19 Add cache.Notify to abstract watching for cache updates for types that support blocking semantics. (#4695)
6 years ago
Paul Banks e812f5516a Add -sidecar-for and new /agent/service/:service_id endpoint (#4691)
6 years ago
Paul Banks 1e7eace066 Add SidecarService Syntax sugar to Service Definition (#4686)
6 years ago
Paul Banks b83bbf248c Add Proxy Upstreams to Service Definition (#4639)
6 years ago
Paul Banks b06ddc9187 Rename proxy package (re-run of #4550) (#4638)
6 years ago
Paul Banks 88388d760d Support Agent Caching for Service Discovery Results (#4541)
6 years ago
Igal Shprincis e1fe3af37f watch: don't set TLSConfig.Address explicitly (#4727)
6 years ago
Paul Banks e8ba527f23
Add a Close method to cache that stops background goroutines. (#4746)
6 years ago
Paul O'Connor 6b7f03911e Fix prometheus error message (#4745)
6 years ago
R.B. Boyer 491826ddbc
cli: forward SIGTERM to child process of 'lock' and 'watch' subcommands (#4737)
6 years ago
Alex Dadgar 43d0f96c42 do not bootstrap with non voters
6 years ago
Kyle Havlovitz 57deb28ade connect/ca: tighten up the intermediate signing verification
6 years ago
Kyle Havlovitz 2919519665 connect/ca: add intermediate functions to Vault ca provider
6 years ago
Kyle Havlovitz 52e8652ac5 connect/ca: add intermediate functions to Consul CA provider
6 years ago
Kyle Havlovitz d515d25856
Merge pull request #4644 from hashicorp/ca-refactor
6 years ago
mkeeler 48d287ef69
Release v1.2.3
6 years ago
Paul Banks 74f2a80a42
Fix CA pruning when CA config uses string durations. (#4669)
6 years ago
Hans Hasselberg 8e235a72b4
Allow disabling the HTTP API again. (#4655)
6 years ago
Kyle Havlovitz 5c7fbc284d connect/ca: hash the consul provider ID and include isRoot
6 years ago
Pierre Souchay 1a906ef34e Fix more unstable tests in agent and command
6 years ago
Kyle Havlovitz c112a72880
connect/ca: some cleanup and reorganizing of the new methods
6 years ago
Pierre Souchay 2fe728c7bd Ensure that Proxies ARE always cleaned up, event with DeregisterCriticalServiceAfter (#4649)
6 years ago
Matt Keeler d3ee66eed4
Add ECS option to EDNS responses where appropriate (#4647)
6 years ago
Pierre Souchay 22500f242e Fix unstable tests in agent, api, and command/watch
6 years ago
Mitchell Hashimoto 49b165965d
Merge pull request #4642 from hashicorp/f-ui-meta
6 years ago
Mitchell Hashimoto b95348c4b1
agent: ExternalSources instead of Meta
6 years ago
Matt Keeler cc8327ed9a
Ensure that errors setting up the DNS servers get propagated back to the shell (#4598)
6 years ago
Pierre Souchay eddcf228ea Implementation of Weights Data structures (#4468)
6 years ago
Kyle Havlovitz 546bdf8663
connect/ca: add Configure/GenerateRoot to provider interface
6 years ago
Mitchell Hashimoto e9ea190df0
agent: aggregate service instance meta for UI purposes
6 years ago
Mitchell Hashimoto 99eb154f6f
agent: configure k8s go-discover
6 years ago
Martin feb3ce4ee0 Use target service name instead of ID as connect proxy service name (#4620)
6 years ago
Pierre Souchay 9a2ae6e8eb Fixed more flaky tests in ./agent/consul (#4617)
6 years ago
Pierre Souchay 92acdaa94c Fixed flaky tests (#4626)
6 years ago
Siva Prasad ca35d04472
Adds a new command line flag -log-file for file based logging. (#4581)
6 years ago
Freddy d7a404f2ee
Bugfix: Use "%#v" when formatting structs (#4600)
6 years ago
Siva Prasad b1a34f899f
TestAgentAntiEntropy: Wait until Consul service is up on the agent. (#4591)
6 years ago
Pierre Souchay 5e0218ccf4 Fix unit test TestOperatorAutopilotGetConfigCommand (#4594)
6 years ago
Pierre Souchay aea31d3c5d Fixed unstable test TestUiNodeInfo (#4586)
6 years ago
Pierre Souchay b898131723 [BUGFIX] Avoid returning empty data on startup of a non-leader server (#4554)
6 years ago
Miroslav Bagljas 3c23979afd Fixes #4483: Add support for Authorization: Bearer token Header (#4502)
6 years ago
Matt Keeler e81c85c051
Fix #4515: Segfault when serf_wan port was -1 but reconnect_time_wan was set (#4531)
6 years ago
Kyle Havlovitz e5e1f867e5
Merge branch 'master' into ca-snapshot-fix
6 years ago
Kyle Havlovitz f186edc42c
fsm: add connect service config to snapshot/restore test
6 years ago
nickmy9729 beddf03b26 Added code to allow snapshot inclusion of NodeMeta (#4527)
6 years ago
Kyle Havlovitz b51d76f469
fsm: add missing CA config to snapshot/restore logic
6 years ago
Kyle Havlovitz 4b35d877ca
autopilot: don't follow the normal server removal rules for nonvoters
6 years ago
Kyle Havlovitz ea14482376
Fix stats fetcher healthcheck RPCs not being independent
6 years ago
Pierre Souchay 0d6de257a2 Display more information about check being not properly added when it fails (#4405)
6 years ago
Freddy 6d43d24edb
Improve reliability of tests with TestAgent (#4525)
6 years ago
Pierre Souchay ef3b81ab13 Allow to rename nodes with IDs, will fix #3974 and #4413 (#4415)
6 years ago
Siva Prasad c88900aaa9
PR to fix TestAgent_IndexChurn and TestPreparedQuery_Wrapper. (#4512)
6 years ago
Armon Dadgar 4f1fd34e9e consul: Update buffer sizes
6 years ago
Siva Prasad 288d350a73
Revert "CA initialization while boostrapping and TestLeader_ChangeServerID fix." (#4497)
6 years ago
Pierre Souchay cec5d72396 BUGFIX: Unit test relying on WaitForLeader() did not work due to wrong test (#4472)
6 years ago
Siva Prasad 589b589b53
CA initialization while boostrapping and TestLeader_ChangeServerID fix. (#4493)
6 years ago
Siva Prasad 865068a358
DNS : Fixes recursors answering the DNS query to properly return the correct response. (#4461)
6 years ago
Paul Banks 71dd3b408a
Fixes memory leak when blocking on /event/list (#4482)
6 years ago
mkeeler e716d1b5f8
Release v1.2.2
6 years ago
Matt Keeler 870a6ad6a8
Handle resolving proxy tokens when parsing HTTP requests (#4453)
6 years ago
Matt Keeler 0e0227792b
Gossip tuneables (#4444)
6 years ago
Kyle Havlovitz fa0d8aff33
fix inconsistency in TestConnectCAConfig_GetSet
6 years ago
Paul Banks 8dd50d5b2d
Add config option to disable HTTP printable char path check (#4442)
6 years ago
Kyle Havlovitz ed87949385
Merge pull request #4400 from hashicorp/leaf-cert-ttl
6 years ago
Kyle Havlovitz f67a4d59c0
connect/ca: simplify passing of leaf cert TTL
6 years ago
Siva Prasad f4a1c381a5 Vendoring update for go-discover. (#4412)
6 years ago
Paul Banks 8cbeb29e73
Fixes #4421: General solution to stop blocking queries with index 0 (#4437)
6 years ago
Paul Banks 5635227fa6
Allow config-file based Service Definitions for unmanaged proxies and Connect-natice apps. (#4443)
6 years ago
Paul Banks d5e934f9ff
Ooops that was meant to be to a branch no master... EMORECOFFEE
6 years ago
Paul Banks eebe45a47b
Add config option to disable HTTP printable char path check
6 years ago
Paul Banks e954450dec
Merge pull request #4353 from azam/add-serf-lan-wan-port-args
6 years ago
Kyle Havlovitz ce10de036e
connect/ca: check LeafCertTTL when rotating expired roots
6 years ago
Mitchell Hashimoto 7fa6bb022f
Merge pull request #4320 from hashicorp/f-alias-check
6 years ago
azam 342bcb1c24 Make Serf LAN & WAN port configurable from CLI
6 years ago
Mitchell Hashimoto b3854fdd28
agent/local: silly spacing on select statements
6 years ago
Mitchell Hashimoto 8c72bb0cdf
agent/local: address remaining test feedback
6 years ago
Matt Keeler 560c9c26f7 Use the agent logger instead of log module
6 years ago
Matt Keeler ca5851318d Update a couple erroneous tests.
6 years ago
Mitchell Hashimoto 9f128e40d6
agent/local: don't use time.After in test since notify is instant
6 years ago
Matt Keeler 3fe5f566f2 Persist proxies from config files
6 years ago
Kyle Havlovitz d6ca015a42
connect/ca: add configurable leaf cert TTL
6 years ago
Matt Keeler c891e264ca Fix issue with choosing a client addr that is 0.0.0.0 or ::
6 years ago
Mitchell Hashimoto 9a90400821
agent/checks: prevent overflow of backoff
6 years ago
Mitchell Hashimoto d6ecd97d1d
agent: use the correct ACL token for alias checks
6 years ago
Mitchell Hashimoto f97bfd5be8
agent: address some basic feedback
6 years ago
Mitchell Hashimoto 19ced12668
agent: alias checks have no interval
6 years ago
Mitchell Hashimoto 5bc27feb0b
agent/structs: check is alias if node is empty
6 years ago
Mitchell Hashimoto 36e330941a
agent/checks: support node-only checks
6 years ago
Mitchell Hashimoto 1e9233eec1
agent/checks: set critical if RPC fails
6 years ago
Mitchell Hashimoto e9914ee71c
agent/checks: use local state for local services
6 years ago
Mitchell Hashimoto 7543d270e2
agent/local: support local alias checks
6 years ago
Mitchell Hashimoto 4a67beb734
agent: run alias checks
6 years ago
Mitchell Hashimoto 60c75b88da
agent/checks: reflect node failure as alias check failure
6 years ago
Mitchell Hashimoto f0658a0ede
agent/config: support configuring alias check
6 years ago
Mitchell Hashimoto 632e4a2c69
agent/checks: add Alias check type
6 years ago
mkeeler 39f93f011e
Release v1.2.1
6 years ago
Matt Keeler 63d5c069fc
Merge pull request #4379 from hashicorp/persist-intermediates
6 years ago
Paul Banks 9015cd62ab
Merge pull request #4381 from hashicorp/proxy-check-default
6 years ago
Matt Keeler 0e83059d1f
Revert "Allow changing Node names since Node now have IDs"
6 years ago
Matt Keeler 91150cca59 Fixup formatting
6 years ago
Matt Keeler 3807e04de9 Revert PR 4294 - Catalog Register: Generate UUID for services registered without one
6 years ago
Matt Keeler 7572ca0f37
Merge pull request #4374 from hashicorp/feature/proxy-env-vars
6 years ago
Paul Banks 8405b41f2b
Update proxy config docs and add test for ipv6
6 years ago
Paul Banks bb9a5c703b
Default managed proxy TCP check address sanely when proxy is bound to 0.0.0.0.
6 years ago
Matt Keeler 0f56ed2d01 Set api.Config’s InsecureSkipVerify to the value of !RuntimeConfig.VerifyOutgoing
6 years ago
Matt Keeler 22e4058893 Use type switch instead of .Network for more reliably detecting UnixAddrs
6 years ago
Matt Keeler 700a275ddf Look specifically for tcp instead of unix
6 years ago
Matt Keeler c8df4b824c Update proxy manager test - test passing ProxyEnv vars
6 years ago
Kyle Havlovitz f95c6807e7
connect: use reflect.DeepEqual instead for test
6 years ago
Matt Keeler 98ead2a8f8
Merge pull request #3983 from pierresouchay/node_renaming
6 years ago
Kyle Havlovitz 4e5fb6bc19
connect: add provider state to snapshots
6 years ago
Kyle Havlovitz 462ace4867
connect: update leader initializeCA comment
6 years ago
Kyle Havlovitz 1d3f4b5099
connect: persist intermediate CAs on leader change
6 years ago
Matt Keeler c54b43bef3 PR Updates
6 years ago
Matt Keeler 4d1ead10b3
Merge pull request #4371 from hashicorp/bugfix/gh-4358
6 years ago
Pierre Souchay fecae3de21 When renaming a node, ensure the name is not taken by another node.
6 years ago
Matt Keeler bd76a34002
Merge pull request #4365 from pierresouchay/fix_test_warning
6 years ago
Matt Keeler 3b6eef8ec6 Pass around an API Config object and convert to env vars for the managed proxy
6 years ago
Pierre Souchay 7d2e4b77ec Use %q, not %s as it used to
6 years ago
Matt Keeler 0fd7e97c2d Merge remote-tracking branch 'origin/master' into bugfix/prevent-multi-cname
6 years ago
Matt Keeler d19c7d8882
Merge pull request #4303 from pierresouchay/non_blocking_acl
6 years ago
Matt Keeler d066fb7b18
Merge pull request #4362 from hashicorp/bugfix/gh-4354
6 years ago
Pierre Souchay b112bdd52d Fixed compilation warning about wrong type
6 years ago
Paul Banks 41c3a4ac8e
Merge pull request #4038 from pierresouchay/ACL_additional_info
6 years ago
MagnumOpus21 371f0c3d5f Tests/Proxy : Changed function name to match the system being tested.
6 years ago
MagnumOpus21 9d57b72e81 Resolved merge conflicts
6 years ago
MagnumOpus21 300330e24b Agent/Proxy: Formatting and test cases fix
6 years ago
Matt Keeler 962f6a1816 Remove https://prefix from TLSConfig.Address
6 years ago
Matt Keeler cbf8f14451 Ensure TXT RRs always end up in the Additional section except for ANY or TXT queries
6 years ago
MagnumOpus21 94e8ff55cf Proxy/Tests: Added test cases to check env variables
6 years ago
MagnumOpus21 6cecf2961d Agent/Proxy : Properly passes env variables to child
6 years ago
Pierre Souchay ff53648df2 Merge remote-tracking branch 'origin/master' into ACL_additional_info
6 years ago
Pierre Souchay 0e4e451a56 Fixed indentation in test
6 years ago
Kyle Havlovitz 401b206a2e
Store the time CARoot is rotated out instead of when to prune
6 years ago
MagnumOpus21 1cd1b55682 Agent/Proxy : Properly passes env variables to child
6 years ago
Matt Keeler e3783a75e7 Refactor to make this much less confusing
7 years ago
Matt Keeler 554035974e Add a bunch of comments about preventing multi-cname
7 years ago
Matt Keeler 22c2be5bf1 Fix some edge cases and add some tests.
7 years ago
Matt Keeler 9a8500412b Only allow 1 CNAME when querying for a service.
7 years ago
Kyle Havlovitz 1492243e0a
connect/ca: add logic for pruning old stale RootCA entries
7 years ago
Matt Keeler 8a12d803fd
Merge pull request #4315 from hashicorp/bugfix/fix-server-enterprise
7 years ago
Pierre Souchay bd023f352e Updated swith case to use same branch for async-cache and extend-cache
7 years ago
Pierre Souchay 1e7665c0d5 Updated documentation and adding more test case for async-cache
7 years ago
Pierre Souchay abde81a3e7 Added async-cache with similar behaviour as extend-cache but asynchronously
7 years ago
Pierre Souchay 9406ca1c95 Only send one single ACL cache refresh across network when TTL is over
7 years ago
Abhishek Chanda 36306c0076 Change bind_port to an int
7 years ago
Matt Keeler 22b7b688a3
Move starting enterprise functionality
7 years ago
Mitchell Hashimoto 6ef28dece0
agent/config: parse upstreams with multiple service definitions
7 years ago
Mitchell Hashimoto e155d58b19
Merge pull request #4297 from hashicorp/b-intention-500-2
7 years ago
Matt Keeler 0f70034082 Move default uuid test into the consul package
7 years ago
Matt Keeler d1a8f9cb3f go fmt changes
7 years ago
Mitchell Hashimoto 1c3e9af316
agent: 400 error on invalid UUID format, api handles errors properly
7 years ago
Matt Keeler cf69ec42a4 Make sure to generate UUIDs when services are registered without one
7 years ago
mkeeler 28141971f9
Release v1.2.0
7 years ago
mkeeler 6813a99081 Merge remote-tracking branch 'connect/f-connect'
7 years ago
Kyle Havlovitz 162daca4d7 revert go changes to hide rotation config
7 years ago
Kyle Havlovitz c20bbf8760 connect/ca: hide the RotationPeriod config field since it isn't used yet
7 years ago
Mitchell Hashimoto a76f652fd2 agent: convert the proxy bind_port to int if it is a float
7 years ago
Matt Keeler 677d6dac80 Remove x509 name constraints
7 years ago
Matt Keeler 163fe11101 Make sure we omit the Kind value in JSON if empty
7 years ago
Jack Pearkes 105c4763dc update UI to latest
7 years ago
Kyle Havlovitz 3baa67cdef connect/ca: pull the cluster ID from config during a rotation
7 years ago
Kyle Havlovitz 8c2c9705d9 connect/ca: use weak type decoding in the Vault config parsing
7 years ago
Kyle Havlovitz b4ef7bb64d connect/ca: leave blank root key/cert out of the default config (unnecessary)
7 years ago
Kyle Havlovitz 050da22473 connect/ca: undo the interface changes and use sign-self-issued in Vault
7 years ago
Kyle Havlovitz 914d9e5e20 connect/ca: add leaf verify check to cross-signing tests
7 years ago
Kyle Havlovitz bc997688e3 connect/ca: update Consul provider to use new cross-sign CSR method
7 years ago
Kyle Havlovitz 8a70ea64a6 connect/ca: update Vault provider to add cross-signing methods
7 years ago
Kyle Havlovitz 6a2fc00997 connect/ca: add URI SAN support to the Vault provider
7 years ago
Kyle Havlovitz 226a59215d connect/ca: fix vault provider URI SANs and test
7 years ago
Kyle Havlovitz 1a8ac686b2 connect/ca: add the Vault CA provider
7 years ago