Skip to content

Conversation

@tchaton
Copy link
Collaborator

@tchaton tchaton commented Jul 28, 2025

What does this PR do?

This PR adds support for automatically loading TLS certificates within deployment if they are provided.

Demo:

Screenshot 2025-07-28 at 17 44 43
Before submitting
  • Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure to update the docs?
  • Did you write any new necessary tests?

PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in GitHub issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃

@codecov
Copy link

codecov bot commented Jul 28, 2025

Codecov Report

❌ Patch coverage is 95.45455% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 85%. Comparing base (8b948ee) to head (e1e6ce5).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@         Coverage Diff         @@
##           main   #592   +/-   ##
===================================
  Coverage    85%    85%           
===================================
  Files        39     39           
  Lines      3049   3069   +20     
===================================
+ Hits       2588   2607   +19     
- Misses      461    462    +1     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Collaborator

@bhimrazy bhimrazy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. 🚀

@tchaton tchaton merged commit 0e028b5 into main Jul 28, 2025
24 of 26 checks passed
@tchaton tchaton deleted the add_support_for_tls_certificates branch July 28, 2025 19:15
if host not in ["0.0.0.0", "127.0.0.1", "::"]:
raise ValueError(host_msg)

kwargs = add_ssl_context_from_env(kwargs)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

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.

4 participants