Created
October 21, 2018 17:22
-
-
Save omarwaleed/4df93b557c48600507afbac04b7420cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo cp /etc/kubernetes/admin.conf $HOME/ | |
sudo chown $(id -u):$(id -g) $HOME/admin.conf | |
export KUBECONFIG=$HOME/admin.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment