From e18324dfc41e508655c5283793765130bb1bbb88 Mon Sep 17 00:00:00 2001 From: Finn Date: Tue, 10 Sep 2024 00:33:09 -0700 Subject: [PATCH] add envrc --- .envrc | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .envrc diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3a32c4d --- /dev/null +++ b/.envrc @@ -0,0 +1,10 @@ +if command -v colordiff > /dev/null; then + export KUBECTL_EXTERNAL_DIFF="colordiff -N -u" +fi + +kubeconfig=$(git rev-parse --show-toplevel)/.kubeconfig +if [ -f "${kubeconfig}" ]; then + export KUBECONFIG="${kubeconfig}" +fi + +export VAULT_ADDR=https://openbao.k8s.home.finn.io