open-telemetry / opentelemetry-collector

OpenTelemetry Collector
https://opentelemetry.io
Apache License 2.0
4.52k stars 1.48k forks source link

[configtls] Use configtls.NewDefaultClientConfig instead of manually creating struct #11383

Open mackjmr opened 1 month ago

mackjmr commented 1 month ago

Describe the issue you're reporting

Move away from manually creating configtls.ClientConfig in favor of using configtls.NewDefaultClientConfig.

This is necessary for the following components:

wasim-nihal commented 1 month ago

Hello @mackjmr ! Is this open for contribution?

mackjmr commented 1 month ago

Hi @wasim-nihal, yes this is open for contributions! I've listed in the issue descriptions the components in which this needs to be changed, please link the PRs when you open them similarely to what is done in https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/35457 🙂