Closed cbartz closed 5 months ago
@Abuelodelanada /etc/ssl/certs/
is empty, this may be related to https://github.com/canonical/rockcraft/issues/343#issuecomment-1946506475
Hi @cbartz !
Thanks for the report! We'll address this.
This seems to have been fixed in the latest alertmanager (rev 107):
kubectl exec -it alertmanager-0 -c alertmanager -- ls -l /etc/ssl/certs 1 ↵
Defaulted container "charm" out of: charm, alertmanager, charm-init (init)
total 584
I'll try it out and will close this issue once confirmed.
This has been fixed (tested with rev 107)
Enhancement Proposal
I am using the charm on edge rev 98 and am trying to use a slack receiver, but it fails with
The configuration I provided looks like this
The server in the
api_url
doesn't use a self-signed certificate, but one from Let's Encrypt. The reason certificate validation fails is probably because there are no ca certs in the container.I can fix this by setting
insecure_skip_verify
totrue
, but I think the charm should also support validation for common ca's or at least provide the ability to provide a ca file for https://prometheus.io/docs/alerting/latest/configuration/#tls_config.