Antoine Pelisse
eb904d8fa8
Add "fieldManager" to flag to PATCH/CREATE/UPDATE
...
And add a corresponding flag in kubectl (for apply), even though the
value is defaulted in kubectl with "kubectl".
The flag is required for Apply patch-type, and optional for other PATCH,
CREATE and UPDATE (in which case we fallback on the user-agent).
2019-03-08 16:03:03 -08:00
Kubernetes Prow Robot
81e6407393
Merge pull request #74140 from Liujingfang1/kflag
...
add -k flag in cli-runtime and kubectl to process kustomization directories
2019-02-26 19:40:16 -08:00
Jingfang Liu
127c2f1e74
address comments
2019-02-26 14:12:58 -08:00
Jingfang Liu
beacc87ebf
add cmdline tests for -k
2019-02-25 16:31:03 -08:00
Katharine Berry
dd4f1c1990
Turn off command echoing to avoid illegal bytes in XML.
2019-02-21 09:30:41 -08:00
Antoine Pelisse
308c981633
Add basic server-side apply test to test-cmd
2019-02-08 16:51:29 -08:00
Antoine Pelisse
d3d4d268ac
Add test for CRD server-dry-run and fix bug
...
Add a new test to make sure we can server-dry-run CRDs and also fix a
typo now that we have a test, we could notice that it doesn't work.
2018-11-12 11:06:27 -08:00
Antoine Pelisse
967280b58e
Add --server-dry-run flag to `kubectl apply`
2018-09-02 13:13:46 -07:00
Di Xu
0af6faed09
kubectl: recreating resources for immutable fields when force is applied
2018-08-09 22:59:02 +08:00
David Eads
aa8110044d
straight split of test-cmd
2018-07-05 11:38:26 -04:00