File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
services/nomad/infrastructure Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -46,16 +46,15 @@ job "terrastate" {
4646 driver = " docker"
4747
4848 config {
49- image = " ghcr.io/the-maldridge/terrastate:v1.2.3 "
49+ image = " ghcr.io/the-maldridge/terrastate:v1.2.4 "
5050 init = true
5151 }
5252
5353 env {
54- AUTHWARE_BASIC_MECHS = " netauth"
55- TS_AUTH = " htpasswd:netauth"
54+ AUTHWARE_BASIC_MECHS = " htpasswd:netauth"
55+ AUTHWARE_HTPASSWD_FILE = " /secrets/.htpasswd"
56+ AUTHWARE_HTGROUP_FILE = " /secrets/.htgroup"
5657 TS_BITCASK_PATH = " /data"
57- TS_HTGROUP_FILE = " /secrets/.htgroup"
58- TS_HTPASSWD_FILE = " /secrets/.htpasswd"
5958 TS_STORE = " bitcask"
6059 }
6160
@@ -75,6 +74,7 @@ job "terrastate" {
7574_terraform:{{ with nomadVar "nomad/jobs/terrastate" }}{{ .hashed_passwd }}{{ end }}
7675EOF
7776 destination = " ${ NOMAD_SECRETS_DIR } /.htpasswd"
77+ change_mode = " signal"
7878 }
7979
8080 template {
You can’t perform that action at this time.
0 commit comments