Erik Wilson
765fd253f6
Update vendor
2019-08-19 09:17:28 -07:00
Darren Shepherd
297b309740
Remove kustomize
2019-08-19 08:33:22 -07:00
Ilya Dmitrichenko
6d7a9048b6
Move printers & resources packages
...
These packages deserve to live at the top level of `k8s.io/cli-runtime`,
as they are potentially of wider use than genericclioptions.
2019-03-07 23:00:24 +00:00
Jingfang Liu
b38cf738d6
update kubectl subcommand with -k changes
2019-02-25 16:30:50 -08:00
Sascha Grunert
ba7aaa911d
Update dedent to latest release
...
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-01-17 08:30:07 +01:00
Yang Li
141d33a2a5
Fix some golint errors for packages in `pkg/kubectl/cmd`
...
Co-authored-by: Arijit Basu <sayanarijit@gmail.com>
2018-11-22 22:09:08 +08:00
Sean Sullivan
68cea87cfd
kubectl: remove unnecessary internal->external conversion before PrintObj
2018-11-02 10:03:52 -07:00
Maciej Szulik
61899e1654
Generated changes
2018-10-11 22:01:06 +02:00
Maciej Szulik
21789b85a6
Move pkg/kubectl/cmd/templates -> pkg/kubectl/util/temlpates
2018-10-11 22:01:03 +02:00
k8s-ci-robot
d4c4871852
Merge pull request #69413 from seans3/rollback-fix
...
kubectl rollback: remove legacyscheme dependency
2018-10-08 13:02:19 -07:00
Maciej Szulik
55d5df8a36
React to moves
2018-10-06 18:44:05 +02:00
Christoph Blecker
97b2992dc1
Update gofmt for go1.11
2018-10-05 12:59:38 -07:00
Sean Sullivan
95ec1f79b9
kubectl rollback: remove legacyscheme dependency
2018-10-04 13:13:32 -07:00
k8s-ci-robot
a59474f756
Merge pull request #69132 from seans3/rollout-pause-resume-fix
...
kubectl remove internal version of resource for rollout pause/resume
2018-09-27 20:52:02 -07:00
k8s-ci-robot
34860dafe2
Merge pull request #69150 from soltysh/issue69144
...
Fix panic in kubectl rollout commands
2018-09-27 11:07:56 -07:00
Sean Sullivan
71e60225a0
kubectl remove internal version of resource for rollout pause/resume
2018-09-27 10:26:35 -07:00
Maciej Szulik
96d01da215
Fix panic in kubectl rollout commands
2018-09-27 15:10:52 +02:00
Pingan2017
8593c02665
fix panic: kubectl rollout undo
2018-09-27 19:16:38 +08:00
k8s-ci-robot
f008365bbe
Merge pull request #68806 from seans3/legacy-scheme-update
...
Move legacyscheme (internal version) to kubectl scheme (external vers…
2018-09-26 19:22:14 -07:00
Sean Sullivan
eadb6b18ac
More cleanup
2018-09-26 13:12:35 -07:00
Sean Sullivan
d73583552c
Remove unused client in rollout status
2018-09-26 13:12:35 -07:00
Sean Sullivan
7a2a987ee4
Move legacyscheme (internal version) to kubectl scheme (external version)
2018-09-18 14:24:47 -07:00
Tomas Nozicka
def9c9eb42
Update Bazel
2018-09-03 15:34:50 +02:00
Tomas Nozicka
7793211669
Switch kubectl rollout status to UntilWithSync to avoid premature
...
timeouts
2018-09-03 15:34:20 +02:00
Antoine Pelisse
967280b58e
Add --server-dry-run flag to `kubectl apply`
2018-09-02 13:13:46 -07:00
Maciej Szulik
5b55e1f8ed
Create cli-runtime staging repository
2018-08-21 17:08:30 +02:00
Tomas Nozicka
4d7747a5a3
Update Bazel
2018-08-10 09:55:41 +02:00
Tomas Nozicka
3d4a02abb5
Rename Until to UntilWithoutRetry and move to using context so it's
...
cancelable
2018-08-10 09:55:41 +02:00
David Eads
0661216d9a
switch rollout history to external
2018-08-02 07:57:14 -04:00
juanvallejo
2b0b605c80
wire PrintFlags through rollout commands
...
Binds PrintFlags to rollout commands.
Adds tests ensuring --template printing is supported by rollout cmds.
2018-07-06 17:32:42 -04:00
Jeff Grafton
23ceebac22
Run hack/update-bazel.sh
2018-06-22 16:22:57 -07:00
David Eads
c85e69aeb9
remove unnecessary factory delegation for RESTClientGetter method
2018-05-28 15:12:41 +02:00
Kubernetes Submit Queue
7a7ab200ee
Merge pull request #64242 from WanLinghao/ctl_print_fix
...
Automatic merge from submit-queue (batch tested with PRs 63417, 64249, 64242, 64128, 64275). 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>.
fix bugs that break processing when printing errors occur in kubectl
**What this PR does / why we need it**:
The process should continue when error happens, this patch fix the problem
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #
**Special notes for your reviewer**:
**Release note**:
```release-note
NONE
```
2018-05-24 20:49:15 -07:00
WanLinghao
b020a4ba8c
fix bugs that break processing when printing errors occur in kubectl
2018-05-24 09:57:25 +08:00
juanvallejo
b6db623799
move rollbacker from the factory
2018-05-23 10:44:01 -04:00
juanvallejo
fb0794976a
move Pauser and Resumer from the factory
2018-05-23 10:27:20 -04:00
juanvallejo
d1603c9560
move PrintOptions to genericclioptions
2018-05-21 14:59:41 -04:00
juanvallejo
f3a46cf626
move additional methods from factory
2018-05-18 11:49:02 -04:00
David Eads
420dd9bf66
move type setting into an optional layer above normal printing
2018-05-17 17:22:12 -04:00
Di Xu
e8ef744493
fix missing flag value bindings in kubectl
2018-05-14 14:38:54 +08:00
Kubernetes Submit Queue
143d3b8824
Merge pull request #63561 from juanvallejo/jvallejo/make-opinionated-print-flags-constructor
...
Automatic merge from submit-queue (batch tested with PRs 63669, 63511, 63561, 63289). 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>.
remove legacyscheme dep from printFlags
**Release note**:
```release-note
NONE
```
Breaks PrintFlags dependency on legacyscheme
Prerequisite to https://github.com/kubernetes/kubernetes/pull/63402
cc @deads2k @soltysh
2018-05-10 14:25:16 -07:00
juanvallejo
40e52bf07d
remove legacyscheme dep from printFlags
2018-05-10 14:51:12 -04:00
David Eads
16d6a6c52f
move resource builder to generic options
2018-05-10 14:15:12 -04:00
David Eads
682e028516
stop pretending that we have statically known shortcuts
2018-05-08 08:11:56 -04:00
David Eads
b8aa7baa7d
simplify resource builder usage
2018-05-04 13:02:49 -04:00
David Eads
9a48066749
update restmapping to indicate fully qualified resource
2018-05-01 16:34:49 -04:00
David Eads
1e5372b620
get the resource.Info out of the conversion business
2018-05-01 07:58:42 -04:00
David Eads
1cb797e355
acknowledge that creation of a restmapper can fail and that we cannot have a default
2018-05-01 07:52:51 -04:00
juanvallejo
f432ebe262
finish wiring PrintFlags
2018-04-27 21:41:03 +02:00
David Eads
5432ef5c45
divide statically known typer from dynamically derive restmapper
2018-04-27 11:15:05 -04:00