Skip to content

Instantly share code, notes, and snippets.

@reschenburgIDBS
Last active April 12, 2021 15:53
Show Gist options
  • Save reschenburgIDBS/9be092ec733f5dfd5b7c13d0063b357b to your computer and use it in GitHub Desktop.
Save reschenburgIDBS/9be092ec733f5dfd5b7c13d0063b357b to your computer and use it in GitHub Desktop.
kubeconfig management
# kubeconfig management
function kubeconfig() {
local kubeconfigDir="$HOME/.kube/configs"
unset KUBECONFIG
for config in $(ls -d ${kubeconfigDir}/*); do
export KUBECONFIG=$KUBECONFIG:$config
done
}
kubeconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment