Commit Graph

591 Commits (CC-5545/upgrade-hds-packages)

Author SHA1 Message Date
Daniel Nephin 5b6f806f4f agent: addServiceIternalRequest
4 years ago
Daniel Nephin 3d39359bcb agent: move deprecated AddServiceFromSource to a test file
4 years ago
Daniel Nephin e44fd1cb92 agent: use a single method for Agent.AddService
4 years ago
Daniel Nephin 6757231b82 agent: rename AddService->AddServiceFromSource
4 years ago
Daniel Nephin e66af1a559 agent/consuk: Rename RPCRate -> RPCRateLimit
4 years ago
Daniel Nephin 5684223e36 agent/consul: make Client/Server config reloading more obvious
4 years ago
Daniel Nephin a04cefaa28 Remove an unnecessary else
4 years ago
Daniel Nephin 4b8b2a4291 xds: remove Server.Initialize
4 years ago
Daniel Nephin 375aed5ed6 xds: Pass in logger
4 years ago
Daniel Nephin d64425d2e4
Merge pull request #9213 from hashicorp/dnephin/resolve-tokens-take-2
4 years ago
Michael Montgomery e4f603dfae Merge branch 'master' into 6074-allow-config-MaxHeaderBytes
4 years ago
Kenia 27f6899ec8
Create consul version metric with version label (#9350)
4 years ago
Michael Montgomery 585c84e9ff Merge branch 'master' into 6074-allow-config-MaxHeaderBytes
4 years ago
Daniel Nephin 738bf9efdc agent: fix bug with multiple listeners
4 years ago
Daniel Nephin 0ee86935f0 Remove two unused delegate methods
4 years ago
Matt Keeler 66fd23d67f
Refactor to call non-voting servers read replicas (#9191)
4 years ago
Michael Montgomery 5b6ac035ff Resolves #6074. Adds new option to configure HTTP Server's MaxHeaderBytes with option `-http-max-header-bytes`
4 years ago
Daniel Nephin bd44952c2e streaming: disable streaming when requesting connect events
4 years ago
Daniel Nephin 853667e7d8 health: change the name of UseStreamingBackend config
4 years ago
Daniel Nephin 3a55c30a05
Merge pull request #8924 from ShimmerGlass/fix-sidecar-deregister-after-restart
4 years ago
Mathilde Gilles 1c8369b3c3 Fix: service LocallyRegisteredAsSidecar property is not persisted
4 years ago
Daniel Nephin ea77eccb14
Merge pull request #8825 from hashicorp/streaming/add-config
4 years ago
Daniel Nephin e7d505dc33 config: add field for enabling streaming in the client
4 years ago
Kit Patella adeabf2399
Merge pull request #8877 from hashicorp/mkcp/telemetry/consul.api.http
4 years ago
Matt Keeler 38f5ddce2a
Add per-agent reconnect timeouts (#8781)
4 years ago
Daniel Nephin b93577c94f config: add field for enabling streaming RPC endpoint
4 years ago
Kit Patella 7fe2f80b4b add config flag to disable 1.9 metrics backwards compatibility. Add warnings on start and reload on default value
4 years ago
Daniel Nephin 529f252d5c rpcclient: Add health.Client and use it in http and dns
4 years ago
Paul Banks e4db845246
Refactor uiserver to separate package, cleaner Reloading
4 years ago
Paul Banks f6d55e1d25
Fix reload test; address other PR feedback
4 years ago
Paul Banks 526bab6164
Add config changes for UI metrics
4 years ago
R.B. Boyer 7eef25daf5
agent: when enable_central_service_config is enabled ensure agent reload doesn't revert check state to critical (#8747)
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 4c9ed41eab
Merge pull request #8554 from hashicorp/dnephin/agent-setup-persisted-tokens
4 years ago
Daniel Nephin 6ca45e1a61 agent: add apiServers type for managing HTTP servers
4 years ago
Daniel Nephin 330be5b740 agent/token: Move token persistence out of agent
4 years ago
Matt Keeler 91d680b830
Merge of auto-config and auto-encrypt code (#8523)
4 years ago
Daniel Nephin 72bf350069
Merge pull request #8552 from pierresouchay/reload_cache_throttling_config
4 years ago
R.B. Boyer 74d5df7c7a
xds: use envoy's rbac filter to handle intentions entirely within envoy (#8569)
4 years ago
Matt Keeler f97cc0445a
Move RPC router from Client/Server and into BaseDeps (#8559)
4 years ago
Pierre Souchay d2be9d38da Ensure that Cache options are reloaded when `consul reload` is performed.
4 years ago
Daniel Nephin e16375216d config: use logging.Config in RuntimeConfig
4 years ago
Daniel Nephin f2373a5575 logging: move init of grpclog
4 years ago
Daniel Nephin 63bad36de7 testing: disable global metrics sink in tests
4 years ago
Daniel Nephin 5d4df54296 agent: extract dependency creation from New
4 years ago
Daniel Nephin 35f1ecee0b config: Move remote-script-checks warning to config
4 years ago
Daniel Nephin 27b36bfc4e config: move NodeName validation to config validation
4 years ago
Daniel Nephin 399c77dfb6 agent: rename vars in newConsulConfig
4 years ago
Daniel Nephin 7b5b170a0d agent: Move setupKeyring functions to keyring.go
4 years ago
Daniel Nephin 9919e5dfa5 agent: unmethod consulConfig
4 years ago
Daniel Nephin 8f596f5551 Fix conflict in merged PRs
4 years ago
Daniel Nephin 190fcc14a3
Merge pull request #8463 from hashicorp/dnephin/unmethod-make-node-id
4 years ago
Daniel Nephin 37eacf8192 auto-config: reduce awareness of config
4 years ago
Daniel Nephin 875d8bde42 agent: convert NodeID methods to functions
4 years ago
Daniel Nephin 0738eb8596 Extract nodeID functions to a different file
4 years ago
Daniel Nephin 38980ebb4c config: Make Source an interface
4 years ago
Daniel Nephin 3b82ad0955 Rename NewClient/NewServer
4 years ago
Daniel Nephin 0420d91cdd Remove LogOutput from Agent
4 years ago
Daniel Nephin 5acf01ceeb Remove LogOutput from Server
4 years ago
Daniel Nephin e8ee2cf2f7 Pass a logger to ConnPool and yamux, instead of an io.Writer
4 years ago
Daniel Nephin ed8210fe4d api: Use a Logger instead of an io.Writer in api.Watch
4 years ago
Daniel Nephin 1e17a0c3e1 config: Remove unused field
4 years ago
Matt Keeler 1a78cf9b4c
Ensure certificates retrieved through the cache get persisted with auto-config (#8409)
4 years ago
Matt Keeler 34034b76f5
Agent Auto Config: Implement Certificate Generation (#8360)
4 years ago
Pierre Souchay 505de6dc29
Added ratelimit to handle throtling cache (#8226)
4 years ago
Matt Keeler 2ee9fe0a4d
Move generation of the CA Configuration from the agent code into a method on the RuntimeConfig (#8363)
4 years ago
Matt Keeler 9da8c51ac5
Fix issue with changing the agent token causing failure to renew the auto-encrypt certificate
4 years ago
Daniel Nephin 653c938edc watch: extract makeWatchPlan to facilitate testing
4 years ago
Daniel Nephin f22f3d300d
Merge pull request #8231 from hashicorp/dnephin/unembed-HTTPServer-Server
4 years ago
Daniel Nephin df4088291c agent/http: Update TestSetupHTTPServer_HTTP2
4 years ago
Daniel Nephin 5247ef4c70 Remove ACLsEnabled from delegate interface
4 years ago
Pierre Souchay 20d1ea7d2d
Upgrade go-connlimit to v0.3.0 / return http 429 on too many connections (#8221)
4 years ago
Daniel Nephin a5e45defb1 agent/http: un-embed the HTTPServer
4 years ago
Matt Keeler a5a9560bbd
Initialize the agent leaf cert cache result with a state to prevent unnecessary second certificate signing
4 years ago
Matt Keeler 39b567a55a
Fix auto_encrypt IP/DNS SANs
4 years ago
Daniel Nephin a891ee8428
Merge pull request #8176 from hashicorp/dnephin/add-linter-unparam-1
4 years ago
Matt Keeler 25a4f3c83b
Allow cancelling blocking queries in response to shutting down.
4 years ago
Daniel Nephin 010a609912 Fix a bunch of unparam lint issues
4 years ago
Matt Keeler e2cfa93f02
Don’t leak metrics go routines in tests (#8182)
4 years ago
Matt Keeler d6e05482ab
Allow cancelling startup when performing auto-config (#8157)
5 years ago
Matt Keeler 3dbbd2d37d
Implement Client Agent Auto Config
5 years ago
Matt Keeler 8b7d669a27
Allow the Agent its its child Client/Server to share a connection pool
5 years ago
Matt Keeler 51c3a605ad
Merge pull request #8035 from hashicorp/feature/auto-config/server-rpc
5 years ago
Matt Keeler 9b01f9423c
Implement the insecure version of the Cluster.AutoConfig RPC endpoint
5 years ago
Daniel Nephin d345cd8d30 ci: Add ineffsign linter
5 years ago
R.B. Boyer ffb9c7d6f7
acl: remove the deprecated `acl_enforce_version_8` option (#7991)
5 years ago
Jono Sosulska c554ba9e10
Replace whitelist/blacklist terminology with allowlist/denylist (#7971)
5 years ago
Daniel Nephin c88fae0aac ci: Add staticcheck and fix most errors
5 years ago
Pierre Souchay d6649e42af
Stop all watches before shuting down anything dring shutdown. (#7526)
5 years ago
Pierre Souchay e9d176db2a
Allow to restrict servers that can join a given Serf Consul cluster. (#7628)
5 years ago
Matt Keeler acccdbe45c
Fix identity resolution on clients and in secondary dcs (#7862)
5 years ago
Kyle Havlovitz f14c54e25e Add TLS option and DNS SAN support to ingress config
5 years ago
Matt Keeler 7a4c73acaf
Updates to allow for using an enterprise specific token as the agents token
5 years ago
Matt Keeler bec3fb7c18
Some boilerplate to allow for ACL Bootstrap disabling configurability
5 years ago
Kit Patella e2467f4b2c
Merge pull request #7656 from hashicorp/feature/audit/oss-merge
5 years ago
Kit Patella 3b105435b8 agent,config: port enterprise only fields to embedded enterprise structs
5 years ago
Daniel Nephin 5fe7043439 agent/cache: Make all cache options RegisterOptions
5 years ago
Kit Patella 927f584761 agent: stub out auditing functionality in OSS
5 years ago
Kyle Havlovitz e9e8c0e730
Ingress Gateways for TCP services (#7509)
5 years ago
Daniel Nephin f46d1b5c94 agent/structs: Remove ServiceID.Init and CheckID.Init
5 years ago
Daniel Nephin 329d76fd0e Remove SnapshotRPC passthrough
5 years ago
Pierre Souchay 2a8bf45e38
agent: show warning when enable_script_checks is enabled without safty net (#7437)
5 years ago
Andy Lindeman fb0a990e4d
agent: rewrite checks with proxy address, not local service address (#7518)
5 years ago
Shaker Islam ac309d55f4
docs: document exported functions in agent.go (closes #7101) (#7366)
5 years ago
Daniel Nephin 231c99f7b4 Document Agent.LogOutput
5 years ago
Daniel Nephin bb8833a2d5 agent: Remove unused Encrypted from interface
5 years ago
Daniel Nephin 266bdf7465 agent: Remove xdsServer field
5 years ago
R.B. Boyer 6adad71125
wan federation via mesh gateways (#6884)
5 years ago
Pierre Souchay 864f7efffa
agent: configuration reload preserves check's statuses for services (#7345)
5 years ago
Hans Hasselberg 315d57bfb1
agent: sensible keyring error (#7272)
5 years ago
Akshay Ganeshen 8beb716414
feat: support sending body in HTTP checks (#6602)
5 years ago
Freddy cb77fc6d01
Add managed service provider token (#7218)
5 years ago
Hans Hasselberg 5531678e9e
Security fixes (#7182)
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
Kit Patella 0d336edb65
Add accessorID of token when ops are denied by ACL system (#7117)
5 years ago
Matt Keeler c09693e545
Updates to Config Entries and Connect for Namespaces (#7116)
5 years ago
Hans Hasselberg 11a571de95
agent: setup grpc server with auto_encrypt certs and add -https-port (#7086)
5 years ago
Aestek 8fc736038a agent: remove service sidecars in Agent.cleanupRegistration (#7022)
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
Matej Urbas ce023359fe agent: configurable MaxQueryTime and DefaultQueryTime. (#3777)
5 years ago
Matt Keeler a78f7d7a34
OSS changes for implementing token based namespace inferencing
5 years ago
Matt Keeler 5934f803bf
Sync of OSS changes to support namespaces (#6909)
5 years ago
Hans Hasselberg 2ad0831b34
agent: fewer file local differences between enterprise and oss (#6820) (#6898)
5 years ago
Sarah Adams aed5cb7669
give feedback to CLI user on forceleave command if node does not exist (#6841)
5 years ago
Matt Keeler 8f1f15a827
Track the correct check id for idempotent service/check updates
5 years ago
Sarah Christoff 5e1c6e907b
Set MinQuorum variable in Autopilot (#6654)
5 years ago
Freddy 60f6ec0c2f
Store check type in catalog (#6561)
5 years ago
PHBourquin 039615641e Checks to passing/critical only after reaching a consecutive success/failure threshold (#5739)
5 years ago
Sarah Christoff 5e26971864
Prune Unhealthy Agents (#6571)
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 a4312d2e6e add domain and nodeName to agent cert request
5 years ago
R.B. Boyer 91da908d2f
test: fix TestAgent.Start() to not segfault if the DNSServer cannot ListenAndServe (#6409)
5 years ago
Mike Morris 65be58703c
connect: remove managed proxies (#6220)
5 years ago
Alvin Huang ef6b80bab2 resolve circleci config conflicts
5 years ago
Paul Banks f38da47c55
Allow raft TrailingLogs to be configured. (#6186)
5 years ago
Alvin Huang 6f1953d96d Merge branch 'master' into release/1-6
5 years ago
R.B. Boyer b16d7f00bc
agent: avoid reverting any check updates that occur while a service is being added or the config is reloaded (#6144)
5 years ago
Matt Keeler 3b6d5e382a Implement caching for config entry lists
5 years ago
R.B. Boyer 4bdb690a25
activate most discovery chain features in xDS for envoy (#6024)
5 years ago
Matt Keeler 3943e38133 Implement Kind based ServiceDump and caching of the ServiceDump RPC
5 years ago
hashicorp-ci 43bda6fb76 Merge Consul OSS branch 'master' at commit e91f73f592
5 years ago
Hans Hasselberg 33a7df3330
tls: auto_encrypt enables automatic RPC cert provisioning for consul clients (#5597)
6 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
hashicorp-ci 4d185baf55 Merge Consul OSS branch 'master' at commit 88b15d84f9
6 years ago
Matt Keeler 43c5ba0304
New Cache Types (#5995)
6 years ago
Hans Hasselberg f13fe4b304
agent: transfer leadership when establishLeadership fails (#5247)
6 years ago
Pierre Souchay 4a4c63bda0 Ensure Consul is IPv6 compliant (#5468)
6 years ago
Pierre Souchay e892981418 agent: Improve startup message to avoid confusing users when no error occurs (#5896)
6 years ago
R.B. Boyer cc1aa3f973 acl: adding Roles to Tokens (#5514)
6 years ago
Matt Keeler 15e80e4e76
Implement bootstrapping proxy defaults from the config file (#5714)
6 years ago
Matt Keeler 222afeae4c
Move the watch package into the api module (#5664)
6 years ago
Kyle Havlovitz d8f8400fe1
Merge pull request #5700 from hashicorp/service-reg-manager
6 years ago
Kyle Havlovitz 43bfc20dc8 Test an index=0 value in cache.Notify
6 years ago
Aestek f669bb7b0f Add support for DNS config hot-reload (#4875)
6 years ago
Kyle Havlovitz cba47aa0ca Fix a race in the ready logic
6 years ago
Kyle Havlovitz c269369760 Make central service config opt-in and rework the initial registration
6 years ago
Kyle Havlovitz 88e1d8ce03 Fill out the service manager functionality and fix tests
6 years ago
Kyle Havlovitz 7c25869e67 Add the service registration manager to the agent
6 years ago
Pierre Souchay 88d4383410 Ensure we remove Connect proxy before deregistering the service itself (#5482)
6 years ago
Valentin Fritz 21f149de8b Fix checks removal when removing service (#5457)
6 years ago
Hans Hasselberg 7e11dd82aa
agent: enable reloading of tls config (#5419)
6 years ago
R.B. Boyer f4a3b9d518
fix typos reported by golangci-lint:misspell (#5434)
6 years ago
Aestek 2aac4d5168 Register and deregisters services and their checks atomically in the local state (#5012)
6 years ago
Matt Keeler 118adbb123
ACL Token Persistence and Reloading (#5328)
6 years ago
Hans Hasselberg 80e7d63fc2
Centralise tls configuration part 2 (#5374)
6 years ago
Hans Hasselberg 786b3b1095
Centralise tls configuration part 1 (#5366)
6 years ago
Aestek f1cdfbe40e Allow DNS interface to use agent cache (#5300)
6 years ago
R.B. Boyer de0f585583
agent: only enable TLS on gRPC if the HTTPS API port is enabled (#5287)
6 years ago
R.B. Boyer db8a871309
Merge pull request #5237 from hashicorp/term-grpc-stream-on-token-failure
6 years ago
Paul Banks ef9f27cbc8
connect: tame thundering herd of CSRs on CA rotation (#5228)
6 years ago
R.B. Boyer d3eb781384 Check ACLs more often for xDS endpoints.
6 years ago
Paul Banks 0638e09b6e
connect: agent leaf cert caching improvements (#5091)
6 years ago
Paul Banks bb7145f27d
agent: add default weights to service in local state to prevent AE churn (#5126)
6 years ago
Aestek 8709213d6e Prevent status flap when re-registering a check (#4904)
6 years ago
Matt Keeler 18b29c45c4
New ACLs (#4791)
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
Paul Banks 51c0001aad
[WIP] Initial draft of Sidecar Service and Managed Proxy deprecation docs (#4752)
6 years ago
Kyle Havlovitz 56dc426227 agent: add primary_datacenter and connect replication config options
6 years ago
Kyle Havlovitz 46c829b879 docs: deprecate acl_datacenter and replace it with primary_datacenter
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 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
Paul Banks e8ba527f23
Add a Close method to cache that stops background goroutines. (#4746)
6 years ago
Hans Hasselberg 8e235a72b4
Allow disabling the HTTP API again. (#4655)
6 years ago
Pierre Souchay 2fe728c7bd Ensure that Proxies ARE always cleaned up, event with DeregisterCriticalServiceAfter (#4649)
6 years ago
Matt Keeler cc8327ed9a
Ensure that errors setting up the DNS servers get propagated back to the shell (#4598)
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
Matt Keeler 0e0227792b
Gossip tuneables (#4444)
6 years ago
Mitchell Hashimoto 7fa6bb022f
Merge pull request #4320 from hashicorp/f-alias-check
6 years ago
Matt Keeler 560c9c26f7 Use the agent logger instead of log module
6 years ago
Matt Keeler 3fe5f566f2 Persist proxies from config files
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 d6ecd97d1d
agent: use the correct ACL token for alias checks
6 years ago
Mitchell Hashimoto 19ced12668
agent: alias checks have no interval
6 years ago
Mitchell Hashimoto 4a67beb734
agent: run alias checks
6 years ago
Paul Banks 9015cd62ab
Merge pull request #4381 from hashicorp/proxy-check-default
6 years ago
Matt Keeler 7572ca0f37
Merge pull request #4374 from hashicorp/feature/proxy-env-vars
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 c54b43bef3 PR Updates
6 years ago
Matt Keeler 3b6eef8ec6 Pass around an API Config object and convert to env vars for the managed proxy
6 years ago
Matt Keeler 962f6a1816 Remove https://prefix from TLSConfig.Address
6 years ago
mkeeler 6813a99081 Merge remote-tracking branch 'connect/f-connect'
7 years ago
Mitchell Hashimoto a76f652fd2 agent: convert the proxy bind_port to int if it is a float
7 years ago
Paul Banks 17789d4fe3 register TCP check for managed proxies
7 years ago
Paul Banks 280f14d64c Make proxy only listen after initial certs are fetched
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 8aeb7bd206 Disable TestAgent proxy execution properly
7 years ago
Mitchell Hashimoto a82726f0b8 agent: RemoveProxy also removes the proxy service
7 years ago
Mitchell Hashimoto ed98d65c2b agent/proxy: AllowRoot to disable executing managed proxies when root
7 years ago
Paul Banks e57aa52ca6 Warn about killing proxies in dev mode
7 years ago
Paul Banks d1c67d90bc Fixs a few issues that stopped this working in real life but not caught by tests:
7 years ago
Paul Banks 85d6502ab3 Don't kill proxies on agent shutdown; backport manager close fix
7 years ago
Paul Banks cdc7cfaa36 Abandon daemonize for simpler solution (preserving history):
7 years ago
Paul Banks 8cf4b3a6eb Sanity check that we are never trying to self-exec a test binary. Add daemonize bypass for TestAgent so that we don't have to jump through ridiculous self-execution hooks for every package that might possibly invoke a managed proxy
7 years ago
Paul Banks 2b377dc624 Run daemon processes as a detached child.
7 years ago
Paul Banks e21723a891 Persist proxy state through agent restart
7 years ago
Mitchell Hashimoto cd39f09693
agent: leaf endpoint accepts name, not service ID
7 years ago
Paul Banks a80559e439
Make invalid clusterID be fatal
7 years ago
Paul Banks 4aeab3897c
Fixed many tests after rebase. Some still failing and seem unrelated to any connect changes.
7 years ago
Mitchell Hashimoto cfcd733609
agent/cache: implement refresh backoff
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 aaca1fbcf5
agent: increase timer for blocking cache endpoints
7 years ago
Mitchell Hashimoto f5e7993249
agent: clarify why we Kill still
7 years ago
Mitchell Hashimoto 2809203408
agent: restore proxy snapshot but still Kill proxies
7 years ago
Mitchell Hashimoto f5ccc65295
agent: only set the proxy manager data dir if its set
7 years ago
Mitchell Hashimoto 1e7f253b53
agent/proxy: write pid file whenever the daemon process changes
7 years ago
Mitchell Hashimoto 6cdacd1fd9
agent/proxy: send logs to the correct location for daemon proxies
7 years ago
Mitchell Hashimoto 171bf8d599
agent: clean up defaulting of proxy configuration
7 years ago
Mitchell Hashimoto 6ae95d754c
agent: use os.Executable
7 years ago
Mitchell Hashimoto 6539280f2a
agent: fix crash that could happen if proxy was nil on load
7 years ago
Mitchell Hashimoto 1a2b28602c
agent: start proxy manager
7 years ago
Mitchell Hashimoto fcd2ab2338
agent/proxy: manager and basic tests, not great coverage yet coming soon
7 years ago
Mitchell Hashimoto 476ea7b04a
agent: start/stop proxies
7 years ago
Paul Banks 90c574ebaa
Wire up agent leaf endpoint to cache framework to support blocking.
7 years ago
Paul Banks 1b197d934a
Don't allow connect watches in agent/cli yet
7 years ago