Commit Graph

58 Commits (827fbac3ab81345eae852208677c1e715f729d61)

Author SHA1 Message Date
Mitchell Hashimoto 7fa6bb022f
Merge pull request #4320 from hashicorp/f-alias-check
6 years ago
Matt Keeler ca5851318d Update a couple erroneous tests.
6 years ago
Matt Keeler 3fe5f566f2 Persist proxies from config files
6 years ago
Mitchell Hashimoto d6ecd97d1d
agent: use the correct ACL token for alias checks
6 years ago
Mitchell Hashimoto 4a67beb734
agent: run alias checks
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
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
Mitchell Hashimoto a82726f0b8 agent: RemoveProxy also removes the proxy service
7 years ago
Mitchell Hashimoto e2653bec02 Fix broken tests from PR merge related to proxy secure defaults
7 years ago
Paul Banks df2cb30b01 Make tests pass and clean proxy persistence. No detached child changes yet.
7 years ago
Paul Banks cdc7cfaa36 Abandon daemonize for simpler solution (preserving history):
7 years ago
Paul Banks ef9c40643e Fix import tooling fail
7 years ago
Paul Banks e21723a891 Persist proxy state through agent restart
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 ba00fa3548
agent: add additional tests for defaulting in AddProxy
7 years ago
Mitchell Hashimoto 171bf8d599
agent: clean up defaulting of proxy configuration
7 years ago
Mitchell Hashimoto 6539280f2a
agent: fix crash that could happen if proxy was nil on load
7 years ago
Mitchell Hashimoto aaa2431350
agent: change connect command paths to be slices, not strings
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
Paul Banks 730da74369
Fix various test failures and vet warnings.
7 years ago
Paul Banks 8d09381b96
Super ugly hack to get TeamCity build to work for this PR without adding a vendor that is being added elsewhere and will conflict...
7 years ago
Paul Banks e6071051cf
Added connect proxy config and local agent state setup on boot.
7 years ago
Mitchell Hashimoto e40afd6a73
agent/consul: CAS operations for setting the CA root
7 years ago
Matt Keeler 53fbe2b111 Update unit tests to reflect change to func signature
7 years ago
Kyle Havlovitz b73323aa42
Remove the script field from checks in favor of args
7 years ago
James Phillips 11f6961e47
Adds a more robust unit test for index churn.
7 years ago
James Phillips fc155dac19
Adds a before/after test for #3845.
7 years ago
Dmytro Kostiuchenko 1a10b08e82 Add gRPC health-check #3073
7 years ago
Yoann Fouquet 986148cfe5 [Fix] Service tags not added to health checks
7 years ago
James Phillips 93f68555d0
Adds enable_agent_tls_for_checks configuration option which allows (#3661)
7 years ago
Frank Schroeder 8f145559d8
Decouple the code that executes checks from the agent
7 years ago
Frank Schroeder d2cc0e6e8a
local state: fix failing tests
7 years ago
Frank Schroeder b803bf3091
local state: tests compile
7 years ago
Frank Schroeder 9ed4b2d631
Revert "local state: tests compile"
7 years ago
Frank Schroeder b3bfeee100
Revert "local state: fix failing tests"
7 years ago
Frank Schroeder 76682da4a0 local state: fix failing tests
7 years ago
Frank Schroeder 1af52bf7be local state: tests compile
7 years ago
Kyle Havlovitz 198ed6076d Clean up subprocess handling and make shell use optional (#3509)
7 years ago
Kyle Havlovitz bfa70a10ca Fix watch error when http & https are disabled (#3493)
7 years ago
James Phillips f42e85ce22
Removes unused imports in agent_test.go.
7 years ago
Frank Schröder 12216583a1 New config parser, HCL support, multiple bind addrs (#3480)
7 years ago
Frank Schroeder 831d84c940 build: make tests independent of build tags
7 years ago
Frank Schroeder 1acff3533e
agent: move agent/consul/structs to agent/structs
7 years ago
Preetha Appan aa98aeb4b1 Moved handling advertise address to readConfig and out of the agent's constructor, plus unit test fixes
7 years ago
James Phillips 496b0bcf07 Adds support for agent-side ACL token management via API instead of config files. (#3324)
7 years ago
James Phillips 1774fdc237
Tweaks the error when scripts are disabled.
7 years ago