consul/agent/config
Mitchell Hashimoto 37dde6d64a
agent/config: add managed proxy upstreams config to skip
agent/config will turn [{}] into {} (single element maps into a single
map) to work around HCL issues. These are resolved in HCL2 which I'm
sure Consul will switch to eventually.

This breaks the connect proxy configuration in service definition FILES
since we call this patch function. For now, let's just special-case skip
this. In the future we maybe Consul will adopt HCL2 and fix it, or we
can do something else if we want. This works and is tested.
2018-06-14 09:42:13 -07:00
..
builder.go agent/structs: validate service definitions, port required for proxy 2018-06-14 09:42:13 -07:00
config.go agent/config: add managed proxy upstreams config to skip 2018-06-14 09:42:13 -07:00
default.go agent/config: default connect enabled in dev mode 2018-06-14 09:42:13 -07:00
default_oss.go Add enterprise default config section 2018-02-05 13:33:59 -08:00
doc.go Metrics service prefix (#3498) 2017-09-26 17:49:55 -07:00
flags.go config: add -config-format option (#3626) 2017-10-31 17:30:01 -05:00
flags_test.go config: return error on extra command line arguments (#3397) 2017-10-23 08:07:48 +02:00
flagset.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
merge.go Changes maps to merge vs. overwrite when processing configs. 2017-12-13 16:06:01 -08:00
merge_test.go Changes maps to merge vs. overwrite when processing configs. 2017-12-13 16:06:01 -08:00
patch_hcl.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
patch_hcl_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
runtime.go agent: change connect command paths to be slices, not strings 2018-06-14 09:42:08 -07:00
runtime_test.go agent/config: add managed proxy upstreams config to skip 2018-06-14 09:42:13 -07:00
segment_oss.go Renames "segments" to "segment" to be consistent with other files. 2017-11-29 18:36:52 -08:00
segment_oss_test.go Renames "segments" to "segment" to be consistent with other files. 2017-11-29 18:36:52 -08:00
translate.go config: add generic method to translate between CamelCase and snake_case (#3557) 2017-10-10 16:40:59 -07:00
translate_test.go config: add generic method to translate between CamelCase and snake_case (#3557) 2017-10-10 16:40:59 -07:00