making it a little more convient
parent
878abe0654
commit
d3e4b11ea4
@ -0,0 +1 @@
|
|||||||
|
kubeconfig.conf
|
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set +ex
|
||||||
|
|
||||||
|
CDIR=$(pwd -P)
|
||||||
|
|
||||||
|
echo "Setting 'kk' as a kubectl alias"
|
||||||
|
alias kk=kubectl
|
||||||
|
|
||||||
|
if [ -f kubeconfig.conf ]; then
|
||||||
|
export KUBECONFIG="${CDIR}/kubeconfig.conf"
|
||||||
|
else
|
||||||
|
echo "Fail whale. You have no kubeconfig.conf file"
|
||||||
|
exit 1
|
||||||
|
fi
|
Loading…
Reference in New Issue