Fix blocky template

This commit is contained in:
IamTheFij 2022-11-22 14:01:11 -08:00
parent 8679cc1635
commit 4430b3570e

View File

@ -62,8 +62,9 @@ blocking:
# Move to Gitea when deployed internally # Move to Gitea when deployed internally
ads: ads:
{{ with nomadVar "nomad/jobs/blocky" -}} {{ with nomadVar "nomad/jobs/blocky" -}}
{{ .whitelists_ads | indent 6 }} {{ .whitelists_ads.Value | indent 6 }}
{{- end }} {{- end }}
clientGroupsBlock: clientGroupsBlock:
default: default:
- ads - ads
@ -86,7 +87,7 @@ customDNS:
{{- with index . $last }}{{ .Address }}{{ end -}} {{- with index . $last }}{{ .Address }}{{ end -}}
{{- end }} {{- end }}
# Other mappings # Other mappings
{{ with nomadVar "nomad/jobs/blocky" }}{{ .mappings | indent 4 }}{{ end }} {{ with nomadVar "nomad/jobs/blocky" }}{{ .mappings.Value | indent 4 }}{{ end }}
prometheus: prometheus:
enable: true enable: true