diff --git a/pkg/endpoint/endpoint.go b/pkg/endpoint/endpoint.go index 2a6abad7..6e82eb3b 100644 --- a/pkg/endpoint/endpoint.go +++ b/pkg/endpoint/endpoint.go @@ -107,7 +107,9 @@ func Listen(ctx context.Context, config Config) (ETCDConfig, error) { return ETCDConfig{ LeaderElect: leaderelect, Endpoints: []string{endpoint}, - TLSConfig: tls.Config{}, + TLSConfig: tls.Config{ + CAFile: config.ServerTLSConfig.CAFile, + }, }, nil }