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 }}, zone={{ .zone }},
ttl=1, ttl=1,
login=token, login=token,
password={{ .cloudflare_domain_key }} password={{ .domain_ddclient }}
{{ .domain }} {{ .domain }}
{{- end }} {{- end }}

View File

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