Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLS config: Enable selection of min and max TLS version #373

Closed
wants to merge 1 commit into from

Commits on Apr 16, 2022

  1. TLS config: Enable selection of min and max TLS version

    go1.18 changes the default minimum TLS version to 1.2.
    
    In order not to break our users, let's make the default minimum version
    configurable.
    
    The allowed values (TLS10, ..) come from the exporter-toolkit:
    https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md
    
    TLSVersion is exported so the exporter toolkit can reuse them later.
    DefaultTLSVersion is exposed so Prometheus can keep a conservative
    default.
    
    Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
    roidelapluie committed Apr 16, 2022
    Configuration menu
    Copy the full SHA
    734398a View commit details
    Browse the repository at this point in the history