k3s/pkg/kubectl/cmd
Kubernetes Submit Queue c7b53794d0 Merge pull request #39683 from soltysh/move_deployments
Automatic merge from submit-queue

Add apps/v1beta1 deployments with new defaults

This pull introduces deployments under `apps/v1beta1` and fixes #23597 and #23304.

TODO:

* [x] - create new type `apps/v1beta1.Deployment`
* [x] - update kubectl (stop, scale)
* [ ] - ~~new `kubectl run` generator~~ - this will only duplicate half of generator code, I suggest replacing current to use new endpoint
* [ ] - ~~create extended tests~~ - I've added integration and cmd tests verifying new endpoints
* [ ] - ~~create `hack/test-update-storage-objects.sh`~~ - see above

This is currently blocked by https://github.com/kubernetes/kubernetes/pull/38071, due to conflicting name `v1beta1.Deployment`. 

```release-note
Introduce apps/v1beta1.Deployments resource with modified defaults compared to extensions/v1beta1.Deployments.
```

@kargakis @mfojtik @kubernetes/sig-apps-misc
2017-03-01 08:29:26 -08:00
..
auth add kubectl can-i to see if you can perform an action 2017-02-23 09:12:35 -05:00
config generated: bazel 2017-02-23 00:28:32 -05:00
rollout Extract strings from the rollout command. 2017-02-11 22:15:10 -08:00
set Merge pull request #35408 from xilabao/add-secret-to-pflag 2017-02-26 18:07:53 -08:00
templates Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
testdata/edit Add 'kubectl edit' testcase for unknown field in known group/version/kind 2017-02-20 20:40:03 -05:00
testing Merge pull request #41151 from ahakanbaba/tpr-unit-tests 2017-02-28 01:24:06 -08:00
util Deployments under apps/v1beta1 with new defaults 2017-03-01 15:14:41 +01:00
BUILD Merge pull request #41694 from shiywang/apply-set1 2017-02-26 23:16:51 -08:00
annotate.go Merge pull request #35408 from xilabao/add-secret-to-pflag 2017-02-26 18:07:53 -08: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 Deployments under apps/v1beta1 with new defaults 2017-03-01 15:14:41 +01:00
apply_set_last_applied.go add apply-set-last-applied subcommand 2017-02-24 11:11:39 +08:00
apply_test.go Merge pull request #41699 from liggitt/apply-output-result 2017-02-28 07:51:22 -08:00
apply_view_last_applied.go Add apply view last-applied subcommand 2017-02-21 20:08:25 +08: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 add secret flag to options 2017-02-25 23:40:50 +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 Refactor commands to use new factory method 2017-02-23 00:28:32 -05: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 Merge pull request #42103 from superbrothers/kubectl-context-completion 2017-03-01 01:44:07 -08:00
cmd_test.go Refactor commands to use new factory method 2017-02-23 00:28:32 -05:00
completion.go solving unknown file attribute error while sourcing completions 2017-02-24 16:29:41 +00:00
convert.go Refactor commands to use new factory method 2017-02-23 00:28:32 -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 add secret flag to options 2017-02-25 23:40:50 +08:00
create_clusterrole.go Added `kubectl create clusterrole` command. 2017-02-22 10:30:41 +08:00
create_clusterrole_test.go Added `kubectl create clusterrole` command. 2017-02-22 10:30:41 +08:00
create_clusterrolebinding.go Extract some flag description strings to be translated. 2017-02-21 22:07:30 -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 some flag description strings to be translated. 2017-02-21 22:07:30 -08:00
create_quota.go Extract some flag description strings to be translated. 2017-02-21 22:07:30 -08:00
create_quota_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
create_role.go Added `kubectl create clusterrole` command. 2017-02-22 10:30:41 +08:00
create_role_test.go Added `kubectl create clusterrole` command. 2017-02-22 10:30:41 +08:00
create_rolebinding.go Extract some flag description strings to be translated. 2017-02-21 22:07:30 -08:00
create_secret.go Make 'docker-email' optional on dockercfg secrets 2017-02-27 17:13:08 -05:00
create_secret_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
create_service.go Extract some flag description strings to be translated. 2017-02-21 22:07:30 -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 Merge pull request #40576 from nikhiljindal/kubectlcascDel 2017-02-26 12:58:01 -08:00
delete_test.go Adding a unit test for verifying OrphanDependents in kubectl delete requests 2017-02-23 12:04:13 -08:00
describe.go Refactor commands to use new factory method 2017-02-23 00:28:32 -05:00
describe_test.go describe: use unstructured objects 2017-01-26 19:59:25 -05:00
drain.go Merge pull request #42115 from justinsb/kubectl_expose_drainoptions 2017-02-28 22:06:03 -08:00
drain_test.go Merge pull request #42115 from justinsb/kubectl_expose_drainoptions 2017-02-28 22:06:03 -08:00
edit.go Merge pull request #35408 from xilabao/add-secret-to-pflag 2017-02-26 18:07:53 -08: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 add secret flag to options 2017-02-25 23:40:50 +08:00
expose_test.go Refactor commands to use new factory method 2017-02-23 00:28:32 -05:00
get.go Don't filter items when resources requested by name 2017-02-28 19:19:33 -05:00
get_test.go Don't filter items when resources requested by name 2017-02-28 19:19:33 -05:00
help.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
label.go Merge pull request #35408 from xilabao/add-secret-to-pflag 2017-02-26 18:07:53 -08:00
label_test.go label: use unstructured objects 2017-01-26 19:59:25 -05:00
logs.go Allow getting logs directly from deployment, job and statefulset 2017-02-27 13:13:09 +01: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 Honor output formats in kubectl patch 2017-02-27 09:20:49 -05:00
patch_test.go Honor output formats in kubectl patch 2017-02-27 09:20:49 -05: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 add secret flag to options 2017-02-25 23:40:50 +08:00
replace_test.go Distinguish between client and unstructuredclient in fake factory 2017-01-26 19:59:16 -05:00
rollingupdate.go Switch ClientAccessFactory to use clientset.Interface rather than actual type 2017-02-27 13:13:06 +01: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 add secret flag to options 2017-02-25 23:40:50 +08:00
run_test.go move util/intstr to apimachinery 2017-01-30 12:46:59 -05:00
scale.go add secret flag to options 2017-02-25 23:40:50 +08:00
stop.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
taint.go Change taint/toleration annotations to api fields. 2017-02-22 09:27:42 -05:00
taint_test.go Update tests. 2017-02-22 09:27:42 -05: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