canonical / traefik-route-k8s-operator

Configuration charm for traefik-k8s.
https://charmhub.io/traefik-route-k8s
Apache License 2.0
0 stars 3 forks source link

Emit `revoked` so users won't need to observe relation_departed #21

Open sed-i opened 1 year ago

sed-i commented 1 year ago

Currently, traefik_route only emits ready

https://github.com/canonical/traefik-route-k8s-operator/blob/55313c628d13f601f2f463b807d51229979c7723/lib/charms/traefik_route_k8s/v0/traefik_route.py#L185-L189

IPU and IPA also emit revoked

It could be handy to have a revoked here as well so users could only observe self.ingress.revoked.