canonical / grafana-agent-k8s-operator

This charmed operator automates the operational procedures of running Grafana Agent, an open-soruce telemetry collector.
https://charmhub.io/grafana-agent-k8s
Apache License 2.0
8 stars 18 forks source link

charm tracing fails over tls #302

Closed michaeldmitry closed 3 months ago

michaeldmitry commented 3 months ago

Issue

Fixes #301

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