connect/native: give tls files an extension

This commit is contained in:
Seth Hoenig 2020-06-23 12:06:28 -05:00
parent 6c5ab7f45e
commit c5d3f58bee

View file

@ -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 {