canonical / alertmanager-k8s-operator

This charmed operator automates operation procedures of Alertmanager, the alerting component of Prometheus and Loki, among others.
https://charmhub.io/alertmanager-k8s
Apache License 2.0
4 stars 16 forks source link

fix charm tracing cert #251

Closed michaeldmitry closed 1 month ago

michaeldmitry commented 2 months ago

Issue

Fixes #250

Solution

ca cert is pushed into charm container, so pass ca cert path to trace_charm decorator to use that for tls communication with tempo

Context

1- Depends on https://github.com/canonical/tempo-k8s-operator/pull/98 2- Assumes alertmanager and tempo have tls enabled 3- Assumes CA of alertmanager is the same for the one used by tempo's cert