kubectl/pkg
Arda Güçlü 0eb2f03176 kubectl scale: Use visitor only once
`kubectl scale` calls visitor two times. Second call fails when
the piped input is passed by returning an
`error: no objects passed to scale` error.

This PR uses the result of first visitor and fixes that piped
input problem. In addition to that, this PR also adds new
scale test to verify.

Kubernetes-commit: 13be899b422a1f68c38e3a9c9d88831db709a32d
2022-12-02 16:00:22 +03:00
..
apply Remove `newlineReporter` custom report 2022-06-01 13:09:47 +08:00
apps Remove `newlineReporter` custom report 2022-06-01 13:09:47 +08:00
cmd kubectl scale: Use visitor only once 2022-12-02 16:00:22 +03:00
describe Revert "Remove references to openstack and cinder" 2022-11-10 18:22:07 +01:00
drain Generalize dry run verify to arbitrary query param 2022-03-09 14:51:50 +00:00
explain add plaintext template 2022-11-02 20:35:18 -07:00
generate Clean unused generators 2021-03-03 22:47:53 +01:00
metricsutil Added --sum flag to kubectl top pod 2021-09-16 09:28:30 -04:00
polymorphichelpers kubectl:fix namespace missing in kubectl rollout undo 2022-08-11 10:59:09 +08:00
proxy Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
rawhttp Close the used file 2021-06-03 15:36:20 +08:00
scale Support kubectl scale --dry-run=server|client 2020-03-30 17:33:15 -04:00
scheme Promote cronjob to batch/v1: kubectl sparse_test prune 2021-05-26 20:08:36 +08:00
util i18n: Fix bug where package-level variables are not translated. 2022-11-29 23:09:57 -05:00
validation add server-side validation support to kubectl 2022-03-09 14:52:32 +00:00