Update cloudflare variable names

This commit is contained in:
IamTheFij 2023-03-24 09:56:03 -07:00
parent 46dc44aca4
commit f31569ad56
2 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ protocol=cloudflare,
zone={{ .zone }},
ttl=1,
login=token,
password={{ .cloudflare_domain_key }}
password={{ .domain_ddclient }}
{{ .domain }}
{{- end }}

View File

@ -165,8 +165,8 @@ job "traefik" {
template {
data = <<EOH
{{ with nomadVar "nomad/jobs/traefik" -}}
CF_DNS_API_TOKEN={{ .cloudflare_api_token_dns_edit }}
CF_ZONE_API_TOKEN={{ .cloudflare_api_token_zone_read }}
CF_DNS_API_TOKEN={{ .domain_lego_dns }}
CF_ZONE_API_TOKEN={{ .domain_lego_dns }}
{{- end }}
EOH
destination = "secrets/cloudflare.env"