Clean mysql stunnel config

This commit is contained in:
IamTheFij 2023-07-06 17:24:37 -07:00
parent 8650ab973a
commit 2a1a7fb6b7

View File

@ -107,7 +107,6 @@ foreground = yes
delay = yes delay = yes
[mysql_server] [mysql_server]
accept = {{ env "NOMAD_PORT_tls" }} accept = {{ env "NOMAD_PORT_tls" }}
connect = 127.0.0.1:3306 connect = 127.0.0.1:3306
ciphers = PSK ciphers = PSK
@ -121,7 +120,7 @@ PSKsecrets = {{ env "NOMAD_SECRETS_DIR" }}/stunnel_psk.txt
{{ with nomadVar "nomad/jobs/mysql-server" -}} {{ with nomadVar "nomad/jobs/mysql-server" -}}
{{ .allowed_psks }} {{ .allowed_psks }}
{{- end }} {{- end }}
EOF EOF
destination = "${NOMAD_SECRETS_DIR}/stunnel_psk.txt" destination = "${NOMAD_SECRETS_DIR}/stunnel_psk.txt"
} }
} }