kubernetes/pkg/kubectl/cmd/util
Kubernetes Submit Queue 1cb737fb97 Merge pull request #41576 from deads2k/cli-04-remove-outputversion
Automatic merge from submit-queue (batch tested with PRs 41706, 39063, 41330, 41739, 41576)

deprecate and disconnect --output-version

For at least two releases, there haven't been multiple versions of API groups and we don't plan to support conversions in commands other than `kubectl convert`.  This disconnects the `--output-version` option to be consistent with conversion agnostic command before it becomes an issue.

@kubernetes/sig-cli-pr-reviews @fabianofranz @smarterclayton

```release-note
`--output-version` is ignored for all commands except `kubectl convert`.  This is consistent with the generic nature of `kubectl` CRUD commands and the previous removal of `--api-version`.  Specific versions can be specified in the resource field: `resource.version.group`, `jobs.v1.batch`.
```
2017-02-21 02:24:45 -08:00
..
editor Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
jsonmerge extract util used by jsonmergepatch and SMPatch 2017-02-03 15:28:42 -08:00
sanity Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
BUILD fix --record to work with unstructured objects 2017-01-26 19:59:27 -05:00
cached_discovery.go move dynamic and discovery clients 2017-01-26 08:37:06 -05:00
cached_discovery_test.go shortcut expander will take the list of short names from the api server. 2017-02-15 09:06:47 +01:00
clientcache.go stop senseless negotiation 2017-02-14 08:49:14 -05:00
factory.go kubectl: remove ThirdPartyResourceData behavior for unregistered objects 2017-01-26 19:59:24 -05:00
factory_builder.go Fall back to unstructured typer retrieving GVKs for printing 2017-01-26 19:59:26 -05:00
factory_client_access.go Removed HPA objects from extensions api group 2017-02-02 14:09:54 +01:00
factory_object_mapping.go Merge pull request #41576 from deads2k/cli-04-remove-outputversion 2017-02-21 02:24:45 -08:00
factory_test.go shortcut expander will take the list of short names from the api server. 2017-02-15 09:06:47 +01:00
helpers.go avoid repeated length calculation and some other code improvements 2017-02-06 09:19:46 +08:00
helpers_test.go Made multi-scheduler graduated to Beta and then v1. 2017-01-19 20:16:01 +08:00
printing.go deprecate and disconnect --output-version 2017-02-16 13:23:59 -05:00
shortcut_restmapper.go shortcut expander will take the list of short names from the api server. 2017-02-15 09:06:47 +01:00
shortcut_restmapper_test.go shortcut expander will take the list of short names from the api server. 2017-02-15 09:06:47 +01:00