Closed sed-i closed 2 months ago
Grafana agent must also work with juju 2.9, but certhandler v1 uses secrets.
Switch back to certhandler v0.
This reverts commit 0cfca69ac1b60cec4761b6817830e93a743bec7c.
Fixes #105.
In tandem with:
graph LR subgraph lxd/juju-2.9.49 ubuntu --- grafana-agent end subgraph microk8s/juju-3.4.2 prometheus --- self-signed-certificates traefik --- self-signed-certificates prometheus --- traefik end grafana-agent --- self-signed-certificates grafana-agent --- prometheus
"cos" model, Juju 3.4:
bundle: kubernetes saas: applications: prom: charm: prometheus-k8s channel: latest/edge revision: 182 base: ubuntu@20.04/stable scale: 1 trust: true ssc: charm: self-signed-certificates channel: latest/edge revision: 137 scale: 1 trfk: charm: traefik-k8s channel: latest/stable revision: 176 base: ubuntu@20.04/stable scale: 1 trust: true relations: - - prom:certificates - ssc:certificates - - trfk:ingress-per-unit - prom:ingress - - trfk:certificates - ssc:certificates --- # overlay.yaml applications: prom: offers: prom: endpoints: - receive-remote-write acl: admin: admin ssc: offers: certs: endpoints: - certificates - send-ca-cert acl: admin: admi
LXD model, Juju 2.9.49:
series: jammy saas: certs: url: j34:admin/rwdrop.certs prom: url: j34:admin/rwdrop.prom applications: ga: charm: ./grafana-agent_ubuntu-22.04-amd64.charm ub: # In cli I had to specify --series jammy charm: ubuntu channel: stable revision: 24 num_units: 1 relations: - - ga:juju-info - ub:juju-info - - prom:receive-remote-write - ga:send-remote-write - - ga:certificates - certs:certificates - - ga:receive-ca-cert - certs:send-ca-cer
Issue
Grafana agent must also work with juju 2.9, but certhandler v1 uses secrets.
Solution
Switch back to certhandler v0.
This reverts commit 0cfca69ac1b60cec4761b6817830e93a743bec7c.
Fixes #105.
In tandem with:
Testing
"cos" model, Juju 3.4:
LXD model, Juju 2.9.49: