Skip to content

Conversation

@Gmerold
Copy link
Contributor

@Gmerold Gmerold commented Sep 8, 2025

This PR implements TLS support in the Litmus Backend charm as specified in TAP-718.
TLS certificates are handled through the tls-certificates charm interface.
TLS is optional and enabled automatically upon tls-certificates relation creation.

Fixes #23

NOTE: local-backend itests are expected to fail at this point.

Copy link
Collaborator

@PietroPasotti PietroPasotti left a comment

Choose a reason for hiding this comment

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

A few points to be addressed, mainly about encapsulation in the newly added TLS class.
LMK if you need clarification.

Copy link
Collaborator

@PietroPasotti PietroPasotti left a comment

Choose a reason for hiding this comment

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

we're getting there, but I think the Tls object's interface can be simplified further.
A couple of nits on the testing code as well.

Gmerold and others added 19 commits September 11, 2025 14:47
Signed-off-by: Bartlomiej Gmerek <[email protected]>
Signed-off-by: Bartlomiej Gmerek <[email protected]>
Signed-off-by: Bartlomiej Gmerek <[email protected]>
Signed-off-by: Bartlomiej Gmerek <[email protected]>
Signed-off-by: Bartlomiej Gmerek <[email protected]>
Signed-off-by: Bartlomiej Gmerek <[email protected]>
Signed-off-by: Bartlomiej Gmerek <[email protected]>
Signed-off-by: Bartlomiej Gmerek <[email protected]>
@Gmerold Gmerold force-pushed the TAP-718-tls-in-backend branch from 6bdad37 to 2e77a98 Compare September 11, 2025 12:49
Copy link
Collaborator

@PietroPasotti PietroPasotti left a comment

Choose a reason for hiding this comment

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

a few thoughts especially on the testing bits, but the rest looks very good!

@PietroPasotti
Copy link
Collaborator

the integration test failure you're seeing is also regularly happening on my branch and is probably unrelated to our changes. I think this indicates that the frontend that's released on 2/edge is broken. Something for @mmkay to look into when he's back I reckon, I think we should merge this on red if necessary.

Gmerold and others added 5 commits September 12, 2025 12:10
Signed-off-by: Bartlomiej Gmerek <[email protected]>
Signed-off-by: Bartlomiej Gmerek <[email protected]>
Signed-off-by: Bartlomiej Gmerek <[email protected]>
@Gmerold Gmerold merged commit 5def22c into main Sep 12, 2025
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[backend] add TLS integration

5 participants