Files
kubernetes/pkg/kubectl
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-02-16 13:43:01 -08:00
2018-05-30 12:14:11 +08:00
2018-05-08 18:33:50 -04:00
2018-05-28 11:09:51 +02:00
2017-01-20 08:04:53 -05:00
2017-01-25 17:32:22 -08:00
2018-06-11 13:04:32 -07:00
2018-05-25 22:18:05 +02:00
2018-06-12 11:23:16 +02:00
2018-05-17 17:20:54 -04:00