Merge pull request #950 from kelseyhightower/awk

remove unnecessary use of grep
This commit is contained in:
Kelsey Hightower
2016-08-02 23:00:57 -07:00
committed by GitHub
+1 -1
View File
@@ -67,7 +67,7 @@ context.
First get your current context:
```shell
$ export CONTEXT=$(kubectl config view | grep current-context | awk '{print $2}')
$ export CONTEXT=$(kubectl config view | awk '/current-context/ {print $2}')
```
Then update the default namespace: