update scripts with correct templates

This commit is contained in:
deads2k
2015-04-06 14:56:13 -04:00
parent 5c4b6583e4
commit 609208b8b5
4 changed files with 9 additions and 9 deletions

View File

@@ -23,7 +23,7 @@ $ kubectl config view
$ kubectl config view --local
// Get the password for the e2e user
$ kubectl config view -o template --template='{{ index . "users" "e2e" "password" }}'
$ kubectl config view -o template --template='{{range .users}}{{ if eq .name "e2e" }}{{ index .user.password }}{{end}}{{end}}'
```
### Options