Skip to content

Commit

Permalink
also need to change the tr from tabs to spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
craigbox committed Jun 30, 2018
1 parent 4bf7f02 commit e4c6ea9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Use `kubectl describe secret...` to get the token for the default service accoun

```shell
$ APISERVER=$(kubectl config view --minify | grep server | cut -f 2- -d ":" | tr -d " ")
$ TOKEN=$(kubectl describe secret $(kubectl get secrets | grep ^default | cut -f1 -d ' ') | grep -E '^token' | cut -f2 -d':' | tr -d '\t')
$ TOKEN=$(kubectl describe secret $(kubectl get secrets | grep ^default | cut -f1 -d ' ') | grep -E '^token' | cut -f2 -d':' | tr -d " ")
$ curl $APISERVER/api --header "Authorization: Bearer $TOKEN" --insecure
{
"kind": "APIVersions",
Expand Down

0 comments on commit e4c6ea9

Please sign in to comment.