Kubernetes Prow Robot
aaa5c94bf9
Merge pull request #188 from mortent/SimplifyInfoHelper
...
Simplify the InfoHelper and ApplyTask
2020-06-14 23:51:56 -07:00
Kubernetes Prow Robot
54e401f8b5
Merge pull request #189 from seans3/inventory-refactor
...
Initial move of Inventory to its own package
2020-06-12 11:13:56 -07:00
Sean R. Sullivan
0e01dd4817
Initial move of Inventory to its own package
2020-06-11 17:42:34 -07:00
Morten Torkildsen
ae77d32ad6
Simplify the InfoHelper and ApplyTask
2020-06-10 22:22:06 -07:00
Kubernetes Prow Robot
0bf530f31e
Merge pull request #182 from fsommar/non-zero-exit-code
...
Exit with non-zero exit code on error
2020-06-10 15:54:57 -07:00
Kubernetes Prow Robot
f18d7c260f
Merge pull request #181 from mortent/ManifestReader
...
Separate reading manifests into Info objects from the apply logic
2020-06-09 01:17:19 -07:00
Fredrik Sommar
fab8593a16
Use exit code 3 for timeouts
...
Picked arbitrarily in the 3-124 span of non-reserved exit codes.
2020-06-09 08:45:15 +02:00
Morten Torkildsen
2381432e70
Separate reading manifests into Info objects from the apply logic
2020-06-08 16:59:03 -07:00
Kubernetes Prow Robot
e8bb88266b
Merge pull request #186 from seans3/export-command
...
Exports cobra command in ApplyRunner
2020-06-08 16:39:18 -07:00
Sean R. Sullivan
322135f7e9
Expors cobra command
2020-06-08 15:00:32 -07:00
Kubernetes Prow Robot
e7ae3a064b
Merge pull request #185 from seans3/applier-export
...
Export Applier within the ApplyRunner
2020-06-05 16:03:45 -07:00
Kubernetes Prow Robot
b17c21e148
Merge pull request #178 from mortent/CRDAndCRPreview
...
Support preview when resource set contains both CRD and CR
2020-06-05 15:03:46 -07:00
Kubernetes Prow Robot
d246e8e8f3
Merge pull request #177 from mortent/PrintAdapterToApplyTask
...
Move the printer adapter into the ApplyTask
2020-06-05 13:43:46 -07:00
Sean R. Sullivan
86d4dd3efc
Export Applier within the ApplyRunner
2020-06-05 13:41:54 -07:00
Kubernetes Prow Robot
391d893e83
Merge pull request #171 from seans3/inventory-polymorphism
...
First pass at inventory polymorphism POC
2020-06-05 09:53:44 -07:00
Kubernetes Prow Robot
3f76d530c2
Merge pull request #183 from mortent/WaitBeforeUnschedulable
...
Only mark pods as unschedulable if they have been in that state for a while
2020-06-05 09:39:43 -07:00
Morten Torkildsen
d984d5ec8d
Only mark pods as unschedulable if they have been in that state for a while
2020-06-05 09:27:40 -07:00
Sean R. Sullivan
ad6f42477d
First pass at implementing inventory polymorphism for Load()
2020-06-05 00:36:17 -07:00
Kubernetes Prow Robot
2b720b0bc9
Merge pull request #184 from mortent/kstatusCRDSupport
...
Add support for CRDs in the status library
2020-06-04 22:25:43 -07:00
Morten Torkildsen
689e16e708
Add support for CRDs in the kstatus library
2020-06-04 20:43:00 -07:00
Sean R. Sullivan
deaa215f57
First pass at inventory polymorphism POC
2020-06-04 16:40:18 -07:00
Kubernetes Prow Robot
f12ac72c6e
Merge pull request #175 from seans3/diff-stdin-fix
...
Expand stdin and filter inventory object for diff
2020-06-04 16:11:44 -07:00
Sean R. Sullivan
a2532f9e36
Expand stdin and filter inventory object for diff
2020-06-04 16:03:52 -07:00
Fredrik Sommar
b0bfb0451c
Exit with non-zero exit code on error
...
A change in exit code behavior was introduced in #166 , where printing an
error used to also cause the application to exit with a non-zero exit
code. As a result, errors in e.g. `kpt live apply` exits the process
with a 0 exit code.
This change should bring it in line with how it works before, but I'm open to
other solutions if there's a cleaner way to accomplish this without
having an error log automatically mean that the application needs to
exit.
2020-06-04 15:26:40 +02:00
Kubernetes Prow Robot
03aba2693b
Merge pull request #180 from mortent/FixPruneDeleteSkipped
...
Fix output from lifecycle directive with the destroy command
2020-05-29 13:31:33 -07:00
Morten Torkildsen
35c1f6c836
Fix output from lifecycle directive with the destroy command
2020-05-29 10:39:35 -07:00
Kubernetes Prow Robot
31b261c29f
Merge pull request #173 from mortent/AllowSettingCustomPoller
...
Make Poller property on Applier public to allow Custom poller implementation
2020-05-29 10:17:15 -07:00
Kubernetes Prow Robot
e8b480c7ca
Merge pull request #179 from seans3/diff-fix
...
Disallow stdin as input for diff command
2020-05-28 20:59:15 -07:00
Sean R. Sullivan
3851ddaa84
Disallow stdin as input for diff command
2020-05-28 20:14:18 -07:00
Morten Torkildsen
639a191b22
Support preview when resource set contains both CRD and CR
2020-05-27 19:43:08 -07:00
Morten Torkildsen
b76b6e7563
Move the printer adapter into the ApplyTask
2020-05-22 14:16:38 -07:00
Kubernetes Prow Robot
561a132c70
Merge pull request #176 from mortent/HandleDryRunWithCRDs
...
Handle dryrun when applying CRDs
2020-05-22 13:43:10 -07:00
Morten Torkildsen
be97f4b60b
Handle dryrun when applying CRDs
2020-05-22 13:00:13 -07:00
Kubernetes Prow Robot
0de5204ee5
Merge pull request #174 from mortent/FixApplyFlags
...
Reduce the number of flags for apply and improve the naming
2020-05-20 09:54:19 -07:00
Morten Torkildsen
0058932245
Reduce the number of flags for apply and improve the naming
2020-05-20 09:27:29 -07:00
Kubernetes Prow Robot
3013ad031d
Merge pull request #172 from mortent/MoveClientGetter
...
Move CachingRESTClientGetter into its own package
2020-05-19 10:37:38 -07:00
Morten Torkildsen
b598bfd8bd
Make Poller property on Applier public to allow Custom poller implementation
2020-05-18 21:23:46 -07:00
Morten Torkildsen
7f4ec70de2
Move CachingRESTClientGetter into its own package
2020-05-18 20:54:29 -07:00
Morten Torkildsen
eb10caede9
Merge pull request #165 from mortent/crdE2Etest
...
E2E-test to verify apply with CRD and CR
2020-05-17 21:30:57 -07:00
Morten Torkildsen
b2e6ff739d
E2E-test to verify apply with CRD and CR
2020-05-17 17:30:23 -07:00
Kubernetes Prow Robot
fde6a97711
Merge pull request #168 from mortent/SupportWaitForPrune
...
Add flags for waiting for pruned resources to be deleted
2020-05-14 16:50:59 -07:00
Kubernetes Prow Robot
e5e0e515c1
Merge pull request #153 from mortent/ReadManifestsWithoutClient
...
Handle CRDs and CRs in the same set of resources
2020-05-14 10:44:22 -07:00
Morten Torkildsen
55ace21d79
Add flags for waiting for pruned resources to be deleted
2020-05-12 21:43:26 -07:00
Morten Torkildsen
0d7f2b323d
Handle CRDs and CRs in the same set of resources
2020-05-12 13:20:53 -07:00
Kubernetes Prow Robot
6f8fba789a
Merge pull request #152 from mortent/RefreshRESTMapper
...
Polling package should handle missing resource types in RESTMapper
2020-05-11 13:20:21 -07:00
Kubernetes Prow Robot
10f9d21756
Merge pull request #161 from seans3/levelled-logging
...
Adds klog to kapply; initial log statements in prune
2020-05-11 13:02:21 -07:00
Sean R. Sullivan
d96d18eb04
Adds klog to kapply; initial log statements in prune
2020-05-11 11:47:34 -07:00
Kubernetes Prow Robot
b75a8b7272
Merge pull request #166 from mortent/BetterErrorForBasicPrinter
...
Print more info on wait timeout for basicprinter
2020-05-10 23:23:51 -07:00
Morten Torkildsen
4f71cf96bd
Print more info on wait timeout for basicprinter
2020-05-10 13:40:36 -07:00
Morten Torkildsen
5a34f96b10
Polling package should handle missing resource types in RESTMapper
2020-05-09 21:17:24 -07:00