canonical / traefik-k8s-operator

This charmed operator automates the operational procedures of running Traefik, an open-source application proxy.
https://charmhub.io/traefik-k8s
Apache License 2.0
11 stars 25 forks source link

Sometimes the scheme of a loadbalanced endpoint is outdated #226

Open sed-i opened 1 year ago

sed-i commented 1 year ago

Bug Description

When traefik is already related to an app (e.g. alertmanager), if then you add relations between traefik and a ca, as well as between the app and the ca, then sometimes the loadBalancer server url scheme remains http. Re-relating fixes it, but this code ordering problem shouldn't exist.

To Reproduce

  1. Deploy and relate traefik - alertmanager.
  2. Deploy ca and relate ca - traefik - alertmanager - ca.
  3. Repeat until it happens.

Environment

Juju 3.2, edge charms.

Relevant log output

Don't have at hand.

Additional context

No response

Abuelodelanada commented 1 year ago

Let's have a look at this one: https://github.com/canonical/traefik-k8s-operator/issues/230