#!/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