From 617d4ae676c1b41d850c383d9a0dbc2dd2319b6e Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Thu, 23 Jun 2022 20:11:28 -0700 Subject: [PATCH] Make blocky config a bit more stable by removing templating based on whami --- nomad/blocky/config.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/nomad/blocky/config.yml b/nomad/blocky/config.yml index 3512d93..2f28023 100644 --- a/nomad/blocky/config.yml +++ b/nomad/blocky/config.yml @@ -51,14 +51,6 @@ customDNS: {{- end -}} {{- with index . $last }}{{ .Address }}{{ end -}} {{- end }} - {{ with service "whoami" -}} - {{- $last := len . | subtract 1 -}} - {{- $services := . -}} - whoami: {{ range $i := loop $last -}} - {{- with index $services $i }}{{ .Address }},{{ end -}} - {{- end -}} - {{- with index . $last }}{{ .Address }}{{ end -}} - {{- end }} # Other mappings {{ keyOrDefault "blocky/mappings" "# None" | indent 4 }}