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
ads:
{{ with nomadVar "nomad/jobs/blocky" -}}
{{ .whitelists_ads | indent 6 }}
{{ .whitelists_ads.Value | indent 6 }}
{{- end }}
clientGroupsBlock:
default:
- ads
@ -86,7 +87,7 @@ customDNS:
{{- with index . $last }}{{ .Address }}{{ end -}}
{{- end }}
# Other mappings
{{ with nomadVar "nomad/jobs/blocky" }}{{ .mappings | indent 4 }}{{ end }}
{{ with nomadVar "nomad/jobs/blocky" }}{{ .mappings.Value | indent 4 }}{{ end }}
prometheus:
enable: true