We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adb1f25 commit b1ba999Copy full SHA for b1ba999
storage/kv/consul.go
@@ -72,6 +72,14 @@ func newConsul(conf config.ConsulConfig) (Store, error) {
72
defaultCfg.TLSConfig.CertFile = conf.TLSConfig.CertFile
73
}
74
75
+ if conf.TLSConfig.KeyFile != "" {
76
+ defaultCfg.TLSConfig.KeyFile = conf.TLSConfig.KeyFile
77
+ }
78
+
79
+ if conf.TLSConfig.CAPath != "" {
80
+ defaultCfg.TLSConfig.CAPath = conf.TLSConfig.CAPath
81
82
83
if conf.TLSConfig.CAFile != "" {
84
defaultCfg.TLSConfig.CAFile = conf.TLSConfig.CAFile
85
0 commit comments