connect/native: give tls files an extension
This commit is contained in:
parent
6c5ab7f45e
commit
c5d3f58bee
|
@ -108,9 +108,9 @@ func (h *connectNativeHook) Prestart(
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
secretCAFilename = "consul_ca_file"
|
secretCAFilename = "consul_ca_file.pem"
|
||||||
secretCertfileFilename = "consul_cert_file"
|
secretCertfileFilename = "consul_cert_file.pem"
|
||||||
secretKeyfileFilename = "consul_key_file"
|
secretKeyfileFilename = "consul_key_file.pem"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (h *connectNativeHook) copyCertificates(consulConfig consulTransportConfig, dir string) error {
|
func (h *connectNativeHook) copyCertificates(consulConfig consulTransportConfig, dir string) error {
|
||||||
|
|
Loading…
Reference in a new issue