Fix redis server psks
This commit is contained in:
parent
485bc22e78
commit
87d97ac891
@ -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"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user