add envrc
This commit is contained in:
parent
3acaaf6d09
commit
e18324dfc4
1 changed files with 10 additions and 0 deletions
10
.envrc
Normal file
10
.envrc
Normal 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
|
Loading…
Reference in a new issue