add envrc

This commit is contained in:
Finn 2024-09-10 00:33:09 -07:00
parent 3acaaf6d09
commit e18324dfc4

10
.envrc Normal file
View file

@ -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