k3s/pkg/kubectl/cmd
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
..
config deprecate and disconnect --output-version 2017-02-16 13:23:59 -05:00
rollout Extract strings from the rollout command. 2017-02-11 22:15:10 -08:00
set Extract strings for the 'kubectl set' family of commands. 2017-01-29 14:46:07 -08:00
templates Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
testdata/edit Switch 'kubectl edit' to use unstructured objects, handle schemaless objects 2017-02-14 14:55:02 -05:00
testing Merge pull request #41343 from p0lyn0mial/kubectl_get_short_names_from_discovery_api 2017-02-15 09:07:51 -08:00
util Merge pull request #41576 from deads2k/cli-04-remove-outputversion 2017-02-21 02:24:45 -08:00
BUILD Merge pull request #39852 from xingzhou/kube-39596 2017-02-13 08:40:50 -08:00
annotate.go annotate: use unstructured objects 2017-01-26 19:59:24 -05:00
annotate_test.go annotate: use unstructured objects 2017-01-26 19:59:24 -05:00
apiversions.go Switch kubectl version and api-versions to create a discovery client directly. 2017-02-04 08:38:19 -08:00
apply.go extract util used by jsonmergepatch and SMPatch 2017-02-03 15:28:42 -08:00
apply_test.go fixup apply null tests 2017-01-31 15:00:23 -05:00
attach.go kubectl attach support for multiple types 2017-02-08 16:10:55 +08:00
attach_test.go kubectl attach support for multiple types 2017-02-08 16:10:55 +08:00
autoscale.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
certificates.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
clusterinfo.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
clusterinfo_dump.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
clusterinfo_dump_test.go Move the common test functions from cmd_test.go to cmd/testing/fake.go 2016-10-19 08:53:26 +10:00
cmd.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
cmd_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
completion.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
convert.go deprecate and disconnect --output-version 2017-02-16 13:23:59 -05:00
cp.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
cp_test.go add kubectl cp 2016-10-29 20:24:54 -07:00
create.go Added kubectl create role command. 2017-02-08 13:30:03 +08:00
create_clusterrolebinding.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
create_configmap.go fix kubectl create configmap help messages 2017-02-15 16:57:38 +08:00
create_configmap_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
create_deployment.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
create_deployment_test.go Move the common test functions from cmd_test.go to cmd/testing/fake.go 2016-10-19 08:53:26 +10:00
create_namespace.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
create_namespace_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
create_pdb.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
create_quota.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
create_quota_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
create_role.go remove validNonResourceVerbs in create role 2017-02-17 08:52:59 +08:00
create_role_test.go remove validNonResourceVerbs in create role 2017-02-17 08:52:59 +08:00
create_rolebinding.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
create_secret.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
create_secret_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
create_service.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
create_service_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
create_serviceaccount.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
create_serviceaccount_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
create_test.go Distinguish between client and unstructuredclient in fake factory 2017-01-26 19:59:16 -05:00
delete.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
delete_test.go Test cascading delete without client-side reaper does not GET 2017-01-27 09:18:48 -05:00
describe.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
describe_test.go describe: use unstructured objects 2017-01-26 19:59:25 -05:00
drain.go Merge pull request #38771 from derekwaynecarr/fix_drain_typo 2017-02-09 13:34:47 -08:00
drain_test.go move client/record 2017-01-31 19:14:13 -05:00
edit.go deprecate and disconnect --output-version 2017-02-16 13:23:59 -05:00
edit_test.go Switch 'kubectl edit' to use unstructured objects, handle schemaless objects 2017-02-14 14:55:02 -05:00
exec.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
exec_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
explain.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
expose.go Merge pull request #38183 from tianshapjq/remove-create-external-load-balancer 2017-02-07 11:33:41 -08:00
expose_test.go move util/intstr to apimachinery 2017-01-30 12:46:59 -05:00
get.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
get_test.go Revert "Use watch param instead of deprecated /watch/ prefix" 2017-02-21 08:37:51 +01:00
help.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
label.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
label_test.go label: use unstructured objects 2017-01-26 19:59:25 -05:00
logs.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
logs_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
options.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
patch.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
patch_test.go Print resource name when patch is done 2017-01-27 14:58:52 -08:00
portforward.go Merge pull request #41076 from gyliu513/port-forward 2017-02-08 07:59:10 -08:00
portforward_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
proxy.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
replace.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
replace_test.go Distinguish between client and unstructuredclient in fake factory 2017-01-26 19:59:16 -05:00
rollingupdate.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
rollingupdate_test.go Move the common test functions from cmd_test.go to cmd/testing/fake.go 2016-10-19 08:53:26 +10:00
run.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
run_test.go move util/intstr to apimachinery 2017-01-30 12:46:59 -05:00
scale.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
stop.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
taint.go Promote taint addition/removal to api/v1/helpers.go 2017-02-16 09:25:27 +01:00
taint_test.go pkg/util: move uuid and strategicpatch into k8s.io/apimachinery 2017-01-25 19:45:09 +01:00
top.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
top_node.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
top_node_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
top_pod.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
top_pod_test.go pkg/api/resource: move to apimachinery 2017-01-29 21:41:44 +01:00
top_test.go Update to use proxy subresource consistently 2017-02-13 22:05:00 -05:00
version.go Extract strings for translation. 2017-02-06 22:32:01 -08:00