feat: Add TLS modes with a How-to doc#71
Merged
MichaelThamm merged 16 commits intomainfrom Jul 10, 2025
Merged
Conversation
This was referenced Jul 4, 2025
lucabello
approved these changes
Jul 8, 2025
simskij
approved these changes
Jul 8, 2025
This reverts commit 7da0240.
MichaelThamm
added a commit
that referenced
this pull request
Jul 11, 2025
* feat: TLS modes with documentation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #61, canonical/observability#273
Related:
Warning
Due to this issue, we cannot validate ingress with TLS ->
curl -k https://INGRESS_IP/cos-catalogue:Features
This enables integrating either the manual TLS certificates charm or
self-signed-certificateswith COS to provide certificates to Traefik.Tip
Traefik has config options for:
tls-ca,tls-cert,tls-keywhich overrides the certs from the integration. This is tecnically no longer needed, but is still convenient. FYI we limit thecertificatesrelation count to 1 in Traefik.Juju status differences
Note
I tested this for COS as well. I just prove COS Lite since it's less LOC
Relevant
end-to-end TLSmodel components:Relevant
reverse-tls-terminationmodel components:Relevant only
tls-terminationmodel components:Relevant
unencryptedmodel components:TODO
certificatesintegration and config optionstraefik_channelback tolatest/stableonce Traefik is backwards compatible (related to this PR)Testing
Juju
Create a root module file
something.tf:Documentation
git checkout feat/tls-terminationcd docsmake runhttp://0.0.0.0:8000/how-to/configure-tls-encryptionManual TLS
Documentation
This PR changes this TLS explanation doc to be a
How-todoc with sample TF modules. This doc uses Sphinx tabs to only display one TLS mode at a time for COS or COS Lite:This is the rendered mermaid diagram of the default TLS architecture: