Correct destination of nomad-ca.crt template to be inside NOMAD_SECRETS_DIR
This commit is contained in:

committed by
Jan-Eric Hellenberg

parent
8fcb5f3581
commit
3c2e85ed4a
@@ -147,6 +147,7 @@ test_e2e:
|
||||
- export NOMAD_NAMESPACE="$NOMAD_SLUG"
|
||||
- nomad namespace apply $NOMAD_NAMESPACE
|
||||
script:
|
||||
- export NOMAD_CACERT_DATA=$(cat $NOMAD_CACERT)
|
||||
# Only replace set env vars
|
||||
- envsubst "$(env | sed -e 's/=.*//' -e 's/^/\$/g')" < deploy/api.tpl.nomad > deploy/api.nomad
|
||||
# Make sure to set NOMAD_ADDR, NOMAD_SKIP_VERIFY and NOMAD_TOKEN env vars in CI settings appropriately
|
||||
|
Reference in New Issue
Block a user