generated from onedr0p/cluster-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.envrc
31 lines (23 loc) · 761 Bytes
/
.envrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#shellcheck disable=SC2148,SC2155
# Directory paths
export ROOT_DIR="$PWD"
export KUBERNETES_DIR="$ROOT_DIR/kubernetes"
export SCRIPTS_DIR="$ROOT_DIR/scripts"
# Kubeconfig
export KUBECONFIG="$(expand_path ./kubeconfig)"
# Sops configuration
export SOPS_AGE_KEY_FILE="$(expand_path ./age.key)"
export SOPS_CONFIG_FILE="$ROOT_DIR/.sops.yaml"
# Bootstrap configuration
export BOOTSTRAP_CONFIG_FILE="$ROOT_DIR/config.yaml"
# Venv
PATH_add "$(expand_path ./.venv/bin)"
export VIRTUAL_ENV="$(expand_path ./.venv)"
export PYTHONDONTWRITEBYTECODE="1"
# Talos
export TALOSCONFIG="$(expand_path ./kubernetes/bootstrap/talos/clusterconfig/talosconfig)"
# Bin
PATH_add "$(expand_path ./.bin)"
# Taskfile
export TASK_X_ENV_PRECEDENCE=1
export TASK_X_MAP_VARIABLES=0