Allow Nomads Consul health checks to be configurable.

This change allows the client HTTP and the server HTTP, Serf and
RPC health check names within Consul to be configurable with the
defaults as previous. The configuration can be done via either a
config file or using CLI flags.

Closes #3988
This commit is contained in:
James Rasell
2018-03-19 19:37:56 +01:00
parent c57fe9e35b
commit 2439310951
6 changed files with 75 additions and 15 deletions

View File

@@ -702,9 +702,13 @@ func parseConsulConfig(result **config.ConsulConfig, list *ast.ObjectList) error
"checks_use_advertise",
"client_auto_join",
"client_service_name",
"client_http_health_check_name",
"key_file",
"server_auto_join",
"server_service_name",
"server_http_health_check_name",
"server_serf_health_check_name",
"server_rpc_health_check_name",
"ssl",
"timeout",
"token",