Fix redis server psks

This commit is contained in:
IamTheFij 2023-03-28 17:28:46 -07:00
parent 485bc22e78
commit 87d97ac891
1 changed files with 3 additions and 1 deletions

View File

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