Commit Graph

58 Commits

Author SHA1 Message Date
Kubernetes Prow Robot aaa5c94bf9
Merge pull request #188 from mortent/SimplifyInfoHelper
Simplify the InfoHelper and ApplyTask
2020-06-14 23:51: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
Morten Torkildsen 2381432e70 Separate reading manifests into Info objects from the apply logic 2020-06-08 16:59:03 -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 ad6f42477d First pass at implementing inventory polymorphism for Load() 2020-06-05 00:36:17 -07:00
Sean R. Sullivan deaa215f57 First pass at inventory polymorphism POC 2020-06-04 16:40:18 -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
Morten Torkildsen b76b6e7563 Move the printer adapter into the ApplyTask 2020-05-22 14:16:38 -07:00
Morten Torkildsen 0058932245 Reduce the number of flags for apply and improve the naming 2020-05-20 09:27:29 -07:00
Morten Torkildsen b598bfd8bd Make Poller property on Applier public to allow Custom poller implementation 2020-05-18 21:23:46 -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
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
Morten Torkildsen 85631c267c Support wait for prune in the applier 2020-05-06 17:28:10 -07:00
Morten Torkildsen 59c9f7582a Allow users to specify deletion propagation for prune 2020-05-03 15:41:37 -07:00
Sean R. Sullivan c318f41867 Rename grouping to inventory in applier 2020-04-30 16:24:59 -07:00
Sean R. Sullivan 0ebf0cd2a1 Move grouping errors to inventory errors 2020-04-29 12:35:56 -07:00
Kubernetes Prow Robot 23f4d8879e
Merge pull request #148 from mortent/RemoveDryRunFlags
Remove DryRun and NoPrune fields on Applier and PruneOptions
2020-04-29 10:20:25 -07:00
Morten Torkildsen 5eb94594c3 Remove DryRun and NoPrune fields on Applier and PruneOptions 2020-04-28 20:55:43 -07:00
Sean R. Sullivan 776077ceb6 Renames grouping.go to inventory.go 2020-04-28 12:29:24 -07:00
Sean R. Sullivan 7ac47303e0 Moves some grouping names to inventory 2020-04-27 15:20:42 -07:00
Morten Torkildsen a2a4ed6d12 Remove wait flags from the preview command 2020-04-22 17:03:03 -07:00
Morten Torkildsen e88ffb1904 Wait for CRDs to become established before applying CRs 2020-04-22 15:45:19 -07:00
Morten Torkildsen e0d4c90b42 Fix hidden wait flag 2020-04-21 14:44:10 -07:00
Morten Torkildsen 260f419d8b Add TaskContext to be passed between tasks 2020-04-17 14:04:58 -07:00
Kubernetes Prow Robot 860529f244
Merge pull request #127 from mortent/AllowNoStatusEvents
Only send status events if we are waiting for reconcile
2020-04-15 14:22:45 -07:00
Morten Torkildsen 0d8186ce96 Only send status events if we are waiting for reconcile 2020-04-15 13:51:17 -07:00
Sean R. Sullivan 6c114e0905 cli-utils diff command with one directory argument 2020-04-15 13:41:22 -07:00
Morten Torkildsen 6ab759f17e Fix handling of clusterscoped resources in status poller 2020-04-09 18:41:47 -07:00
Sean R. Sullivan 0290ba5c63 Adds unit tests for Prune() 2020-04-08 12:15:45 -07:00
Sean R. Sullivan 52db385b3c Updates prune to use UID instead of ObjMetadata 2020-04-08 10:11:34 -07:00
Morten Torkildsen 7d06fad676 Add init event to Applier 2020-03-26 10:24:09 -07:00
Morten Torkildsen a8a3e0d034 Implement the applier as a queue of tasks 2020-03-23 14:47:40 -07:00
Morten Torkildsen 01abccc2f0 Update sorting of resources in Applier 2020-03-16 11:43:03 -07:00
Morten Torkildsen e46d77564d Fix issue that causes wait-for-reconcile to never finish 2020-03-12 20:03:42 -07:00
Sean Sullivan 1f61230c2d Accomodates cluster-scoped resources when validating namespace 2020-03-10 14:05:11 -07:00
Morten Torkildsen 4209c55b8f Refactor the apply command to use the polling package rather than the wait package 2020-03-09 09:33:12 -07:00
Sean Sullivan 0962c25f7f Ensures all applied objects are in the same namespace 2020-03-05 09:58:53 -08:00
Sean Sullivan 172e65b72c Use current grouping object namespace in prune 2020-03-05 00:07:45 -08:00
jregan f7324fa5f3 apply, preview and destroy take exactly one dir arg 2020-03-04 15:21:07 -08:00
Morten Torkildsen 354f4c5ab3 Handle errors from reading manifests 2020-02-26 21:37:41 -08:00
Sean Sullivan 88eb44789a Turn off default kubectl prune 2020-02-26 14:09:52 -08:00
Morten Torkildsen 29248c292a
Merge pull request #47 from mortent/AddCompletedEvents
New events that signal when all resources have been applied and pruned
2020-02-20 14:10:54 -08:00
Sean Sullivan da9ee4c2f9 Hides server-side and record flags. More comments 2020-02-20 14:00:20 -08:00
Morten Torkildsen e64e73cd08 New events that signal when all resources have been applied and pruned 2020-02-19 18:25:19 -08:00
Phani Teja Marupaka 48106005cf Order resources for apply 2020-02-14 09:26:49 -08:00
Sean Sullivan 2f315b0640 First attempt at hiding unused flags for commands 2020-02-13 10:24:54 -08:00
Jeff Regan 49df515719
Merge pull request #27 from mortent/NoFlags
Remove the -f and -k flags for apply
2020-02-13 10:08:56 -08:00
Morten Torkildsen 3ca5916ce9 Remove the -f and -k flags for apply 2020-02-10 21:36:22 -08:00