Update cloudflare variable names
This commit is contained in:
parent
46dc44aca4
commit
f31569ad56
@ -29,7 +29,7 @@ protocol=cloudflare,
|
||||
zone={{ .zone }},
|
||||
ttl=1,
|
||||
login=token,
|
||||
password={{ .cloudflare_domain_key }}
|
||||
password={{ .domain_ddclient }}
|
||||
|
||||
{{ .domain }}
|
||||
{{- end }}
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user