Files
kubernetes/pkg/kubectl/cmd
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-12 15:51:43 -04:00
2018-05-08 09:02:34 -04:00
2018-05-24 10:50:49 -04:00
2018-03-13 16:21:30 -04:00
2018-06-05 10:16:40 +02:00
2018-05-08 09:02:34 -04:00
2017-12-25 16:23:38 +08:00
2018-05-08 09:02:34 -04:00
2018-04-27 21:41:03 +02:00
2018-05-08 18:33:50 -04:00
2018-05-08 09:02:34 -04:00
2018-05-08 09:02:34 -04:00