Update cloudflare variable names
This commit is contained in:
parent
46dc44aca4
commit
f31569ad56
@ -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 }}
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user