#!/bin/bash
# http://redsymbol.net/articles/unofficial-bash-strict-mode/

set -euo pipefail
set +x

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
