agent: copy config into consul config
This commit is contained in:
parent
9642384429
commit
1952083354
|
@ -288,10 +288,12 @@ func (a *Agent) consulConfig() *consul.Config {
|
||||||
// Copy the TLS configuration
|
// Copy the TLS configuration
|
||||||
base.VerifyIncoming = a.config.VerifyIncoming
|
base.VerifyIncoming = a.config.VerifyIncoming
|
||||||
base.VerifyOutgoing = a.config.VerifyOutgoing
|
base.VerifyOutgoing = a.config.VerifyOutgoing
|
||||||
|
base.VerifyServerHostname = a.config.VerifyServerHostname
|
||||||
base.CAFile = a.config.CAFile
|
base.CAFile = a.config.CAFile
|
||||||
base.CertFile = a.config.CertFile
|
base.CertFile = a.config.CertFile
|
||||||
base.KeyFile = a.config.KeyFile
|
base.KeyFile = a.config.KeyFile
|
||||||
base.ServerName = a.config.ServerName
|
base.ServerName = a.config.ServerName
|
||||||
|
base.Domain = a.config.Domain
|
||||||
|
|
||||||
// Setup the ServerUp callback
|
// Setup the ServerUp callback
|
||||||
base.ServerUp = a.state.ConsulServerUp
|
base.ServerUp = a.state.ConsulServerUp
|
||||||
|
|
Loading…
Reference in New Issue