Closed IbraAoad closed 1 month ago
Minor point but this doesn't fix https://github.com/canonical/cos-configuration-k8s-operator/issues/73 by itself. cos-configuration-k8s-operator also needs a lib bump before https://github.com/canonical/cos-configuration-k8s-operator/issues/73 can close
lgtm, although I suggest addressing this comment before merging
Yeaaah I might have took the automatic lib bump CI for granted here, will fix the pr description
Issue
should close https://github.com/canonical/cos-configuration-k8s-operator/issues/73 once CI picks the automatic lib bump
Solution
Add a
config-changed
event listener to the lib to update the dashboards.Testing Instructions
juju deploy --trust grafana-k8s grafana
juju deploy cos-configuration-k8s --config git_repo=https://github.com/canonical/github-runner-operator --config git_branch=main
juju relate cos-configuration-k8s:grafana-dashboards grafana:grafana-dashboard
juju config cos-configuration-k8s grafana_dashboards_path=src/grafana_dashboards
juju show-unit grafana/0 --format json | jq '."grafana/0"."relation-info"'