Julian V. Modesto
bacc2c4960
Set field manager for kubectl diff --server-side.
...
Bonus: check diff only dry-runs without persisting.
Co-authored-by: Takahiro HATORI <tahatori@zlab.co.jp>
2020-03-04 20:20:07 -05:00
Kubernetes Prow Robot
b5b675491b
Merge pull request #86173 from soltysh/cli_defaults
...
stop defaulting kubeconfig to http://localhost:8080
2020-03-04 07:23:47 -08:00
Maciej Szulik
9dac1699bf
Wire --filename flag to exec
2020-03-03 12:16:52 +01:00
David Eads
b19ad9e7a7
stop defaulting kubeconfig to http://localhost:8080
2020-03-02 18:32:16 +01:00
Kubernetes Prow Robot
641616362d
Merge pull request #88133 from julianvmodesto/dry-run-tests
...
Cleanup --dry-run values in tests, docs, and scripts
2020-02-27 11:33:42 -08:00
Kubernetes Prow Robot
1591590030
Merge pull request #88292 from julianvmodesto/add-dry-run
...
Add --dry-run=server|client|none to more kubectl commands
2020-02-20 16:30:25 -08:00
Haowei Cai
aecce98a54
wait for pruned CR to be invisible from API
2020-02-19 17:41:13 -08:00
Julian V. Modesto
a9ec444d74
Add --dry-run to more kubectl commands.
...
- delete
- taint
- replace
2020-02-19 17:53:21 -05:00
Julian V. Modesto
d97169f59a
Clean up --dry-run values.
...
- Clean up --dry-run values in tests, docs, and scripts
- Fix --dry-run for auth reconcile and add a test
2020-02-15 00:43:30 -05:00
Benjamin Elder
3fb7183215
bump pause to 3.2 in test/
2020-02-14 14:03:19 -08:00
Julian V. Modesto
13b80b48cd
Use --dry-run=client,server in kubectl.
...
- Support --dry-run=server for subcommands apply, run, create, annotate,
expose, patch, label, autoscale, apply set-last-applied, drain, rollout undo
- Support --dry-run=server for set subcommands
- image
- resources
- serviceaccount
- selector
- env
- subject
- Support --dry-run=server for create subcommands.
- clusterrole
- clusterrolebinding
- configmap
- cronjob
- job
- deployment
- namespace
- poddisruptionbudget
- priorityclass
- quota
- role
- rolebinding
- service
- secret
- serviceaccount
- Remove GetClientSideDryRun
2020-02-12 20:46:54 -05:00
Kubernetes Prow Robot
19ca6d30d2
Merge pull request #87437 from apelisse/kubectl-diff-exit-code
...
kubectl-diff: Return non-1 errors on kubectl failures
2020-02-01 18:33:20 -08:00
Kubernetes Prow Robot
dba8d60f8c
Merge pull request #87077 from soltysh/remove_run_generators
...
Remove kubectl run generators
2020-01-29 12:16:14 -08:00
Maciej Szulik
6972d6f33a
Fix kubectl taint's Complete parsing
2020-01-27 13:31:22 +01:00
Maciej Szulik
82f97775b7
Remove kubectl run generators
2020-01-22 16:44:00 +01:00
Antoine Pelisse
38c5f318c9
kubectl-diff: Test return code on failure and changes
2020-01-21 15:34:22 -08:00
drfish
010b885236
Remove workaround for RS bug in cmd apps test
2020-01-10 09:39:54 +08:00
Jordan Liggitt
f50638f439
Isolate kubectl test-cmd plugin tests
2019-12-19 01:35:36 -05:00
Daniel Holbach
a252a617a5
drop KUBE_TIMEOUT in test/cmd/kubeadm.sh
...
As runyontr remarked in test/cmd/kubeadm.sh: when
https://github.com/kubernetes/kubeadm/issues/1430 is closed,
KUBE_TIMEOUT can be removed.
2019-11-28 10:49:41 +01:00
Rob Scott
7085d692b7
Reverting managed-by-setup annotation
...
This ended up causing far more problems than it was worth, especially
given that it just attempted to provide backwards compatibility with
the alpha release.
2019-11-15 11:50:58 -08:00
Kubernetes Prow Robot
141329fd21
Merge pull request #85285 from liggitt/kubectl-resource-version
...
Fix --resource-version handling in kubectl
2019-11-14 16:39:03 -08:00
Jordan Liggitt
0ac8345d3a
Fix --resource-version handling in kubectl
2019-11-14 12:33:14 -05:00
Rob Scott
a7e589a8c6
Promoting EndpointSlices to beta
2019-11-13 14:20:19 -08:00
Jordan Liggitt
4c3bf1a660
Fix record_command suppression of test errors
2019-11-07 02:26:45 -05:00
Jordan Liggitt
cb17a2b6a6
Fix run_pod_tests
2019-11-07 02:26:45 -05:00
Jordan Liggitt
59dfac587f
Fix assert methods
2019-11-07 02:26:45 -05:00
Odin Ugedal
4e44407fa9
Fix failing service test
2019-10-23 23:23:22 +02:00
Odin Ugedal
6a73c0899a
Fix shellcheck failures SC2251
...
https://github.com/koalaman/shellcheck/wiki/SC2251
This may be masking some test failures.
We have a bunch of test code like this:
set -o errexit
[...]
! kubectl get pod wrong-pod
[...]
This test will succeed no matter what the result (return code) of kubectl is.
2019-10-23 22:47:47 +02:00
Kubernetes Prow Robot
48b90db9c3
Merge pull request #83495 from tanjunchen/fix-typo
...
remove the repeat word in documents
2019-10-06 15:05:08 -07:00
tanjunchen
de3cf23414
remove the repeat word in documents
2019-10-06 23:32:01 +08:00
Kubernetes Prow Robot
791bfac90f
Merge pull request #83084 from yutedz/ns-prune
...
Prune should respect namespace option
2019-10-04 02:46:12 -07:00
Guangming Wang
c0a4c09040
fix wrong test in generic-resources.sh
...
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-10-01 20:45:17 +08:00
Ted Yu
88e2f8e04f
Prune should respect namespace
2019-09-25 16:43:08 -07:00
ZP-AlwaysWin
d777b6aa94
replace with
2019-09-15 13:55:48 +08:00
calmkart
d558a89437
MOD:fix spelling errors
2019-09-11 15:59:15 +08:00
Antoine Pelisse
a3f4e6e933
Rename --experimental-* flags to --* for server-side apply
2019-08-28 15:03:41 -07:00
Xiangyang Chu
23ce08a7d0
Fix review comments, will squash later.
2019-07-25 14:42:23 +08:00
Xiangyang Chu
4ef227c682
Fix of review comments. Will squash later.
...
Including:
- Remove external usage of resource name vars
- Add commments about why we export field helpers
2019-07-18 09:12:28 +08:00
Xiangyang Chu
313044abd7
Fix shellcheck failures in test/cmd/l.*.sh
2019-07-17 17:07:22 +08:00
Xiangyang Chu
3a344c7168
Fix shellcheck failures in test/cmd/d.*.sh
2019-07-17 17:07:22 +08:00
Kubernetes Prow Robot
1c99825adf
Merge pull request #79566 from sukeesh/auditlog
...
Cleanup: Audit log and error capitalization
2019-07-11 14:33:59 -07:00
Kubernetes Prow Robot
b130ff4502
Merge pull request #79724 from deads2k/update-raw
...
make kubectl --raw consistent for create, update, get, delete
2019-07-09 08:26:17 -07:00
David Eads
09c55bd117
make kubectl --raw consistent for create, update, get, delete
2019-07-09 09:03:56 -04:00
Kubernetes Prow Robot
dd9ae9a1d2
Merge pull request #76227 from sawlanipradeep/window-plugin-fix
...
Replace syscall.Execve with exec.Command.
2019-07-08 13:00:36 -07:00
Pradeep Sawlani
13be373ce7
For windows, use exec.Command instead of syscall.Execve.
...
sycall.Execve is not supported on windows.
2019-07-08 10:09:51 -07:00
Sukeesh
346fdbccf0
Cleanup: Audit log and error capitalization
2019-07-08 20:20:12 +09:00
Jordan Liggitt
cf3e75de70
Remove internal object printing from kubectl
2019-06-28 10:54:50 -07:00
Sean Sullivan
e851af0aab
Removes test-cmd inappropriate dependency on kubectl
2019-06-27 10:49:42 -07:00
Jordan Liggitt
6ca80760fd
Switch test manifests to apps/v1, remove beta workloads calls
2019-06-22 13:58:07 -07:00
Kubernetes Prow Robot
0f2b01ab33
Merge pull request #78022 from xychu/fix-shellchecks-g
...
Fix shellcheck failures in test/cmd/g.*sh
2019-06-20 20:46:35 -07:00