canonical / charmed-kubeflow-chisme

Shared Utilities used across Charmed Kubeflow
Apache License 2.0
1 stars 4 forks source link

Add side parameter to get data from relation [KF-5974] #107

Closed rgildein closed 2 weeks ago

rgildein commented 4 weeks ago

With this parameter we can get relation data from specific side, so we can use always tested app, instead of grafana-agent-k8s to get data.

These changes are needed for upcoming dashboards check, without it, I will need to use grafana-agent-k8s again. Same as it was done for logging, but that is not really intuitive. At the same time on my test model I have grafana-agent-k8s related to multiple charms, and that cause an issue, since we are checking that only one relation exists.

fixes: #116