Commit Graph

8098 Commits (0accfc162893bc70a872e23069d4ff6538d0c93c)
 

Author SHA1 Message Date
Mitchell Hashimoto 0accfc1628
agent: rename test to check
7 years ago
Mitchell Hashimoto d1c21a8629
agent: implement HTTP endpoint
7 years ago
Mitchell Hashimoto 2a29679e9d
agent/consul: forward request if necessary
7 years ago
Mitchell Hashimoto 54ac5adb08
agent: comments to point to differing logic
7 years ago
Mitchell Hashimoto d68462fca6
agent/consul: implement Intention.Test endpoint
7 years ago
Paul Banks a80559e439
Make invalid clusterID be fatal
7 years ago
Paul Banks f6673ce164
Make Service logger log to right place again
7 years ago
Paul Banks 0bfffc92f2
Make connect client resolver resolve trust domain properly
7 years ago
Paul Banks 140f3f5a44
Fix logical conflicts with CA refactor
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 f4b8e8c96d
Add default CA config back - I didn't add it and causes nil panics
7 years ago
Paul Banks 1228a5839a
Ooops remove the CA stuff from actual server defaults and make it test server only
7 years ago
Paul Banks 7c7c858a9a
More test cleanup
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 bc07ff4983
Comment cleanup
7 years ago
Paul Banks 1722734313
Verify trust domain on /authorize calls
7 years ago
Paul Banks b4803eca59
Generate CSR using real trust-domain
7 years ago
Paul Banks 622a475eb1
Add CSR signing verification of service ACL, trust domain and datacenter.
7 years ago
Paul Banks c1f2025d96
Return TrustDomain from CARoots RPC
7 years ago
Kyle Havlovitz e00088e8ee
Rename some of the CA structs/files
7 years ago
Kyle Havlovitz 6e9f1f8acb
Add more metadata to structs.CARoot
7 years ago
Kyle Havlovitz 627aa80d5a
Use provider state table for a global serial index
7 years ago
Kyle Havlovitz 988510f53c
Add test for ca config http endpoint
7 years ago
Kyle Havlovitz de72834b8c
Move connect CA provider to separate package
7 years ago
Mitchell Hashimoto 4f3b5647e5
agent/cache: change uint8 to uint
7 years ago
Mitchell Hashimoto fc5508f8a3
agent/cache: string through attempt rather than storing on the entry
7 years ago
Mitchell Hashimoto cfcd733609
agent/cache: implement refresh backoff
7 years ago
Mitchell Hashimoto bc605a1576
agent/consul: change provider wait from goto to a loop
7 years ago
Mitchell Hashimoto c8b65217c3
agent/consul: check nil on getCAProvider result
7 years ago
Mitchell Hashimoto 9b3495dddb
agent/consul: retry reading provider a few times
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 5d969e3cbb
command/connect/proxy: set ACL token based on proxy token flag
7 years ago
Mitchell Hashimoto 867db89303
command/connect/proxy: set proxy ID from env var if set
7 years ago
Mitchell Hashimoto 6e386ba6be
agent/proxy: pass proxy ID as an env var
7 years ago
Mitchell Hashimoto 37dde6d64a
agent/config: add managed proxy upstreams config to skip
7 years ago
Kyle Havlovitz 28e6f800d8
Add missing vendor dep github.com/stretchr/objx
7 years ago
Mitchell Hashimoto 965a902474
agent/structs: validate service definitions, port required for proxy
7 years ago
Mitchell Hashimoto 9a62bce03b
agent/config: default connect enabled in dev mode
7 years ago
Paul Banks d13be6b952
Make CSR work with jank domain
7 years ago
Mitchell Hashimoto de3f49a880
agent/proxy: delete pid file on Stop
7 years ago
Mitchell Hashimoto aaca1fbcf5
agent: increase timer for blocking cache endpoints
7 years ago
Mitchell Hashimoto b4ba31c61b
agent/proxy: address PR feedback
7 years ago
Mitchell Hashimoto f5e7993249
agent: clarify why we Kill still
7 years ago
Mitchell Hashimoto e9b8e5d265
lib/file: add tests for WriteAtomic
7 years ago
Mitchell Hashimoto 2809203408
agent: restore proxy snapshot but still Kill proxies
7 years ago
Mitchell Hashimoto 718aabe35f
agent/proxy: check if process is alive in addition to Wait
7 years ago
Mitchell Hashimoto f5ccc65295
agent: only set the proxy manager data dir if its set
7 years ago
Mitchell Hashimoto 1a32435a4d
agent/proxy: improve comments on snapshotting
7 years ago
Mitchell Hashimoto e0bbe66427
agent/proxy: implement periodic snapshotting in the manager
7 years ago