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 TLS version #375

Merged
merged 2 commits into from Apr 19, 2022

Commits on Apr 18, 2022

  1. TLS config: Enable selection of min TLS version

    go1.18 changes the default minimum TLS version to 1.2.
    
    Let's make the default minimum version configurable, while following go
    default.
    
    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.
    
    Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
    roidelapluie committed Apr 18, 2022
    Copy the full SHA
    7b9300a View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2022

  1. Support JSON

    Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
    roidelapluie committed Apr 19, 2022
    Copy the full SHA
    69a7baf View commit details
    Browse the repository at this point in the history