Created
September 28, 2016 08:24
-
-
Save jstrachan/f3b4bf7be6aa0c337452ebfff49e65db 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