The charm errors out when deployed with grafana (e.g. in cos-lite) because traefik-route does not guard against 'external-host' possibly being None
To Reproduce
juju deploy cos-lite --trust
Environment
juju 3.1-beta1 on local microk8s cluster.
Relevant log output
File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/framework.py", line 316, in emit
framework._emit(event)
File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/framework.py", line 784, in _emit
self._reemit(event_path)
File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/framework.py", line 857, in _reemit
custom_handler(event)
File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/traefik_route_k8s/v0/traefik_route
.py", line 166, in _on_relation_changed
self._update_requirers_with_external_host()
File "/var/lib/juju/agents/unit-traefik-0/charm/lib/charms/traefik_route_k8s/v0/traefik_route
.py", line 175, in _update_requirers_with_external_host
relation.data[self.charm.app]["external_host"] = self._stored.external_host
File "/var/lib/juju/agents/unit-traefik-0/charm/venv/ops/model.py", line 945, in __setitem__
raise RelationDataError('relation data values must be strings')
Bug Description
The charm errors out when deployed with grafana (e.g. in cos-lite) because traefik-route does not guard against 'external-host' possibly being None
To Reproduce
juju deploy cos-lite --trust
Environment
juju 3.1-beta1 on local microk8s cluster.
Relevant log output