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

feat(elasticsearch): add option to skip cert retrieval #2530

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

Conversation

ImFlog
Copy link

@ImFlog ImFlog commented May 3, 2024

What does this PR do?

Add a new option to skip certificate retrieval.

Why is it important?

In some edge cases, it seems that the certificates are not available on the container and even if elasticsearch is working, the containers throw an error.

Related issues

Link related issues below. Insert the issue link or reference after the word "Closes" if merging this should automatically close it.

How to test this PR

There should be no impact because the default behavior is still to retrieve the certs. One can use the WithoutCertRetrieval function in the RunContainer method.

@ImFlog ImFlog requested a review from a team as a code owner May 3, 2024 20:39
Copy link

netlify bot commented May 3, 2024

Deploy Preview for testcontainers-go ready!

Name Link
🔨 Latest commit 87b5c1b
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-go/deploys/66354b9289d2fb00096543c4
😎 Deploy Preview https://deploy-preview-2530--testcontainers-go.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Adding host config bind breaks the ElasticSearch cert retrieval
1 participant