feat(gs/mugwump): Switch to cloudflare as lego provider

Change-Id: Iba48c8ac8c45075ecb9741572bca9cea4f8b0f9d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2748
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
This commit is contained in:
Griffin Smith 2021-04-01 10:20:22 -04:00 committed by glittershark
parent 892fcdc5ab
commit 19b3cfb9b6

View file

@ -141,8 +141,8 @@ with lib;
}; };
security.acme.certs."metrics.gws.fyi" = { security.acme.certs."metrics.gws.fyi" = {
dnsProvider = "namecheap"; dnsProvider = "cloudflare";
credentialsFile = "/etc/secrets/namecheap.env"; credentialsFile = "/etc/secrets/cloudflare.env";
webroot = mkForce null; webroot = mkForce null;
}; };
@ -211,9 +211,10 @@ with lib;
scrape_interval = "5s"; scrape_interval = "5s";
static_configs = [{ static_configs = [{
targets = [ targets = [
"https://www.gws.fyi" "https://gws.fyi"
"https://windtunnel.ci" "https://windtunnel.ci"
"https://app.windtunnel.ci" "https://app.windtunnel.ci"
"https://metrics.gws.fyi"
]; ];
}]; }];
relabel_configs = [{ relabel_configs = [{