Commit 03b8e721 authored by Brad Davidson's avatar Brad Davidson Committed by Brad Davidson

Add tests for ETCD.Test()

Signed-off-by: 's avatarBrad Davidson <brad.davidson@rancher.com> (cherry picked from commit a39e1919) Signed-off-by: 's avatarBrad Davidson <brad.davidson@rancher.com>
parent 4c29cde5
...@@ -54,6 +54,10 @@ func GenerateRuntime(cnf *config.Control) error { ...@@ -54,6 +54,10 @@ func GenerateRuntime(cnf *config.Control) error {
deps.CreateRuntimeCertFiles(cnf) deps.CreateRuntimeCertFiles(cnf)
cnf.Datastore.ServerTLSConfig.CAFile = cnf.Runtime.ETCDServerCA
cnf.Datastore.ServerTLSConfig.CertFile = cnf.Runtime.ServerETCDCert
cnf.Datastore.ServerTLSConfig.KeyFile = cnf.Runtime.ServerETCDKey
return deps.GenServerDeps(cnf) return deps.GenServerDeps(cnf)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment