canonical / prometheus-k8s-operator

This charmed operator automates the operational procedures of running Prometheus, an open-source metrics backend.
https://charmhub.io/prometheus-k8s
Apache License 2.0
21 stars 34 forks source link

charm tracing fails over tls #605

Closed michaeldmitry closed 3 months ago

michaeldmitry commented 3 months ago

Issue

Fixed #604

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 prometheus and tempo have tls enabled 3- Assumes CA of prometheus is the same for the one used by tempo's cert