forked from Deuxfleurs/nixcfg
7 lines
338 B
Bash
7 lines
338 B
Bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
YEAR=$(date +%Y)
|
|
|
|
export NOMAD_ADDR=https://localhost:14646
|
|
export NOMAD_CACERT=$SCRIPT_DIR/secrets/pki/nomad-ca.crt
|
|
export NOMAD_CLIENT_CERT=$SCRIPT_DIR/secrets/pki/nomad$YEAR-client.crt
|
|
export NOMAD_CLIENT_KEY=$SCRIPT_DIR/secrets/pki/nomad$YEAR-client.key
|