aboutsummaryrefslogtreecommitdiff
path: root/env.sh
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-12-30 21:23:24 +0100
committerAlex Auvolat <alex@adnab.me>2021-12-30 21:23:24 +0100
commit1ade671f964516976151ab8b2e8dc6027aa9e73f (patch)
treef771a27cdf930bf8104eff1e63699438f4794bdf /env.sh
parent6718d7f1da80fa6ed70d084a7c4df61a2b3187ed (diff)
downloadnixcfg-1ade671f964516976151ab8b2e8dc6027aa9e73f.tar.gz
nixcfg-1ade671f964516976151ab8b2e8dc6027aa9e73f.zip
Add readme and cleanup a bit
Diffstat (limited to 'env.sh')
-rw-r--r--env.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/env.sh b/env.sh
deleted file mode 100644
index 8681e8c..0000000
--- a/env.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-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
-
-export CONSUL_HTTP_ADDR=https://localhost:8501
-export CONSUL_CACERT=$SCRIPT_DIR/secrets/pki/consul-ca.crt
-export CONSUL_CLIENT_CERT=$SCRIPT_DIR/secrets/pki/consul$YEAR-client.crt
-export CONSUL_CLIENT_KEY=$SCRIPT_DIR/secrets/pki/consul$YEAR-client.key