Fix redis server psks

This commit is contained in:
IamTheFij 2023-03-28 17:28:46 -07:00
parent 485bc22e78
commit 87d97ac891

View File

@ -83,7 +83,9 @@ PSKsecrets = {{ env "NOMAD_SECRETS_DIR" }}/stunnel_psk.txt
template { template {
data = <<EOF data = <<EOF
test1:oaP4EishaeSaishei6rio6xeeph3az {{ with nomadVar "nomad/jobs/redis" -}}
{{ .allowed_psks }}
{{- end }}
EOF EOF
destination = "${NOMAD_SECRETS_DIR}/stunnel_psk.txt" destination = "${NOMAD_SECRETS_DIR}/stunnel_psk.txt"
} }