Created
December 1, 2016 10:13
-
-
Save jstrachan/5bce9e1604cbefdbf1225fc490744a0e to your computer and use it in GitHub Desktop.
This file contains hidden or 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/sh | |
CONTEXT=`kubectl config current-context` | |
echo "Changing namespace to $1 on context $CONTEXT" | |
kubectl config set-context $CONTEXT --namespace=$1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment