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

Fix tls tests for go 1.18 #388

Merged

Commits on Jul 8, 2022

  1. config: fix testdata for Go 1.18

    The TLS certificates were signed using SHA-1 and Go 1.18 rejects them by
    default [1]. This commit provides certificates signed with SHA-256. The
    code to generate the certificates is based on existing code from the
    prometheus-operator project [2].
    
    [1] https://tip.golang.org/doc/go1.18#sha1
    [2] https://github.com/prometheus-operator/prometheus-operator/blob/main/scripts/certs/generate.go
    
    Signed-off-by: Simon Pasquier <spasquie@redhat.com>
    simonpasquier committed Jul 8, 2022
    Copy the full SHA
    5ab1c85 View commit details
    Browse the repository at this point in the history
  2. Update to Go 1.18

    Signed-off-by: Simon Pasquier <spasquie@redhat.com>
    simonpasquier committed Jul 8, 2022
    Copy the full SHA
    aeda642 View commit details
    Browse the repository at this point in the history