Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

EVEREST-392 accept PMM instance with invalidcert #149

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

recharte
Copy link
Collaborator

@recharte recharte commented Sep 7, 2023

!!! Reviewers I'm aware this isn't safe in general, hence the draft PR but I need you to evaluate whether we need to have this right now.

Accept PMM instance with invalid cert

Problem:
EVEREST-392

We can't connect to PMM instances with invalid certs

Cause:
go's http module forces TLS cert validation (as it should)

Solution:
Don't validate TLS certificate in the initial connection to PMM.

CHECKLIST

Jira

  • Is the Jira ticket created and referenced properly?

Tests

  • [ ] Is an Integration test/test case added for the new feature/change? No 😢 we don't have the necessary infrastructure in place to do this hours before the release
  • [ ] Are unit tests added where appropriate? Can't unit test this

@recharte recharte requested a review from hors September 7, 2023 23:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant