-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect web.external-url set #293
Labels
Comments
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description
When pebble runs the alertmanager service it configures the flag
--web.external-url
which from what I can tell is,The alertmanager-k8s charm config for web-external-url states
There seems to be a bug where the correct URL is not passed from the ingress relation through to pebble. This affects the URL that is present on alert messages. Instead of the public URL the local cluster URL is passed which makes it hard to view the alert.
To Reproduce
Note: I've deployed COS via a Terraform module and the issue is present, on two separate environments.
juju deploy alertmanger-k8s
juju deploy traefik-k8s
juju relate alertmanager-k8s traefik-k8s
kubectl exec -it alertmanager-k8s/0 -c alertmanager -- bash
/charm/bin/pebble plan
Observe incorrect address configured.
Environment
Relevant log output
Output from unit (only the relevant relations)
The text was updated successfully, but these errors were encountered: