Commit Graph

222 Commits (eac9767c3d2fe8d91784638337f2226aa3f9995b)

Author SHA1 Message Date
Kit Patella 5e0e4098c9 push prometheus sink definiitons into prometheus.PrometheusOpts
4 years ago
R.B. Boyer 1b413b0444
connect: support defining intentions using layer 7 criteria (#8839)
4 years ago
Daniel Nephin c18516ad7d
Merge pull request #8680 from hashicorp/dnephin/replace-consul-opts-with-base-deps
4 years ago
Daniel Nephin 282fbdfa75 api: rename HTTPServer to HTTPHandlers
4 years ago
Daniel Nephin cdd392d77f agent/consul: pass dependencies directly from agent
4 years ago
Daniel Nephin 330be5b740 agent/token: Move token persistence out of agent
4 years ago
R.B. Boyer fead4fc2a5
agent: expose the list of supported envoy versions on /v1/agent/self (#8545)
4 years ago
Daniel Nephin 010a609912 Fix a bunch of unparam lint issues
4 years ago
Matt Keeler 3dbbd2d37d
Implement Client Agent Auto Config
5 years ago
Matt Keeler 8837907de4
Make the Agent Cache more Context aware (#8092)
5 years ago
Daniel Nephin c662f0f0de Fix a number of problems found by staticcheck
5 years ago
Daniel Nephin f46d1b5c94 agent/structs: Remove ServiceID.Init and CheckID.Init
5 years ago
Freddy 18d356899c
Enable CLI to register terminating gateways (#7500)
5 years ago
R.B. Boyer 6adad71125
wan federation via mesh gateways (#6884)
5 years ago
Pierre Souchay 2300e2d4ba
agent: take Prometheus MIME-type header into account (#7371)
5 years ago
Matt Keeler d0cd092e3b
Catalog + Namespace OSS changes. (#7219)
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
Chris Piraino 401221de58
Allow users to configure either unstructured or JSON logging (#7130)
5 years ago
Matt Keeler c09693e545
Updates to Config Entries and Connect for Namespaces (#7116)
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
Matt Keeler a78f7d7a34
OSS changes for implementing token based namespace inferencing
5 years ago
Matt Keeler 0b346616e9
Rename EnterpriseAuthorizerContext -> AuthorizerContext
5 years ago
Matt Keeler 5934f803bf
Sync of OSS changes to support namespaces (#6909)
5 years ago
Sarah Adams 78ad8203a4
Use encoding/json as JSON decoder instead of mapstructure (#6680)
5 years ago
Sarah Adams 0c9487ae72
regression tests for existing agent/ decoding behavior (#6624)
5 years ago
Freddy 60f6ec0c2f
Store check type in catalog (#6561)
5 years ago
Matt Keeler 973341a592
ACL Authorizer overhaul (#6620)
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
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
Aestek 7c7b7f24fd Add option to register services and their checks idempotently (#4905)
5 years ago
Alvin Huang c516fabfac
revert commits on master (#6413)
5 years ago
tradel 672e181399 add serviceID to leaf cert request
5 years ago
Matt Keeler 6a1e0dfed8
Update the v1/agent/service/:service endpoint to output tagged… (#6304)
5 years ago
Mike Morris 65be58703c
connect: remove managed proxies (#6220)
5 years ago
Alvin Huang ef6b80bab2 resolve circleci config conflicts
5 years ago
Christian Muehlhaeuser 7753b97cc7 Simplified code in various places (#6176)
5 years ago
Matt Keeler 8d953f5840 Implement Mesh Gateways
5 years ago
hashicorp-ci f4304e2e5b Merge Consul OSS branch 'master' at commit 4eb73973b6
6 years ago
Pierre Souchay 0e907f5aa8 Support for maximum size for Output of checks (#5233)
6 years ago
Matt Keeler f3d9b999ee
Add tagged addresses for services (#5965)
6 years ago
Matt Keeler f665695b6b
Ensure ServiceName is populated correctly for agent service checks
6 years ago
Matt Keeler d0f410cd84
Make a few config entry endpoints return 404s and allow for snake_case and lowercase key names. (#5748)
6 years ago
Matt Keeler afa1cc98d1
Implement data filtering of some endpoints (#5579)
6 years ago
R.B. Boyer f4a3b9d518
fix typos reported by golangci-lint:misspell (#5434)
6 years ago
Matt Keeler 118adbb123
ACL Token Persistence and Reloading (#5328)
6 years ago
Matt Keeler baa8946ea6
cache: Pass through wait query param to the cache.Get (#5203)
6 years ago
Grégoire Seux 4f62a3b528 Implement /v1/agent/health/service/<service name> endpoint (#3551)
6 years ago
Jack Pearkes a90c29e60d Doc changes for 1.4 Final (#4870)
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
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
Kyle Havlovitz 56dc426227 agent: add primary_datacenter and connect replication config options
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 dca1303d05 Connect Envoy Command (#4735)
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 O'Connor 6b7f03911e Fix prometheus error message (#4745)
6 years ago
Pierre Souchay 2fe728c7bd Ensure that Proxies ARE always cleaned up, event with DeregisterCriticalServiceAfter (#4649)
6 years ago
Pierre Souchay eddcf228ea Implementation of Weights Data structures (#4468)
6 years ago
Matt Keeler 870a6ad6a8
Handle resolving proxy tokens when parsing HTTP requests (#4453)
6 years ago
Matt Keeler 3fe5f566f2 Persist proxies from config files
6 years ago
Paul Banks 17789d4fe3 register TCP check for managed proxies
7 years ago
Paul Banks 420ae3df69 Limit proxy telemetry config to only be visible with authenticated with a proxy token
7 years ago
Paul Banks c6ef6a61c9 Refactor to use embedded struct.
7 years ago
Paul Banks 38405bd4a9 Allow user override of proxy telemetry config
7 years ago
Paul Banks 7649d630c6 Basic proxy telemetry working; not sure if it's too ugly; need to instrument things we care about
7 years ago
Paul Banks d83f2e8e21 Expose telemetry config from RuntimeConfig to proxy config endpoint
7 years ago
Paul Banks 43b48bc06b Get agent cache tests passing without global hit count (which is racy).
7 years ago
Mitchell Hashimoto e9e6514c9b agent: disallow deregistering a managed proxy directly
7 years ago
Mitchell Hashimoto 66a573e496 agent: deregister service deregisters the proxy along with it
7 years ago
Mitchell Hashimoto 0d6dcbd2f1 agent: disallow API registration with managed proxy if not enabled
7 years ago
Paul Banks e21723a891 Persist proxy state through agent restart
7 years ago
Mitchell Hashimoto eb2a6952ba
address comment feedback
7 years ago
Mitchell Hashimoto cd39f09693
agent: leaf endpoint accepts name, not service ID
7 years ago
Mitchell Hashimoto 1906fe1c0d
agent: address feedback
7 years ago
Mitchell Hashimoto 54ac5adb08
agent: comments to point to differing logic
7 years ago
Paul Banks c58d47ba59
Fix broken api test for service Meta (logical conflict rom OSS). Add test that would make this much easier to catch in future.
7 years ago
Paul Banks 4aeab3897c
Fixed many tests after rebase. Some still failing and seem unrelated to any connect changes.
7 years ago
Paul Banks 1722734313
Verify trust domain on /authorize calls
7 years ago
Mitchell Hashimoto e54e69d11f
agent: verify local proxy tokens for CA leaf + tests
7 years ago
Mitchell Hashimoto a099c27b07
agent: verify proxy token for ProxyConfig endpoint + tests
7 years ago
Mitchell Hashimoto 171bf8d599
agent: clean up defaulting of proxy configuration
7 years ago
Mitchell Hashimoto 3d3eee2f6e
agent: resolve some conflicts and fix tests
7 years ago
Paul Banks e0e12e165b
TLS watching integrated into Service with some basic tests.
7 years ago
Paul Banks 90c574ebaa
Wire up agent leaf endpoint to cache framework to support blocking.
7 years ago
Paul Banks cd88b2a351
Basic `watch` support for connect proxy config and certificate endpoints.
7 years ago
Mitchell Hashimoto 6c01e402e0
agent: augment /v1/connect/authorize to cache intentions
7 years ago
Mitchell Hashimoto 6902d721d6
agent: initialize the cache and cache the CA roots
7 years ago
Paul Banks 36dbd878c9
Adds `api` client code and tests for new Proxy Config endpoint, registering with proxy and seeing proxy config in /agent/services list.
7 years ago
Paul Banks 730da74369
Fix various test failures and vet warnings.
7 years ago
Paul Banks 1e72ad66f5
Refactor localBlockingQuery to use memdb.WatchSet. Much simpler and correct as a bonus!
7 years ago