Files
kubernetes/pkg
Kubernetes Submit Queue c3046182ec Merge pull request #65377 from juanvallejo/jvallejo/restore-old-get-template-behavior
Automatic merge from submit-queue (batch tested with PRs 65377, 63837, 65370, 65294, 65376). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

restore pre-1.11 behavior of `kubectl get --template=...`

**Release note**:
```release-note
NONE
```

Restores old behavior to the `--template` flag in `get.go`.
In old releases, providing a `--template` flag value and no `--output` value implicitly assigned a default value ("go-template") to `--output`, printing using the provided template argument.

Example:

```bash
# this should print using GoTemplate printer, but currently does not
$ kubectl get pod foo --template="{{ .metadata.name }}"
```

cc @deads2k @soltysh
2018-06-22 16:16:04 -07:00
..
2018-06-21 22:55:17 +05:30
2018-06-14 10:07:48 +08:00
2018-06-01 14:28:07 -07:00
2018-06-05 21:52:08 +00:00
2018-02-16 13:43:01 -08:00
2018-02-12 10:54:33 -05:00
2018-06-06 00:12:40 +02:00
2018-05-19 08:14:37 +10:00
2018-01-15 23:17:19 +08:00
2018-06-14 10:07:48 +08:00