Commit Graph

49 Commits

Author SHA1 Message Date
Morten Torkildsen ae80e561e2 Improve the event hierarchy 2021-05-18 14:58:41 -07:00
Morten Torkildsen a5f0741e1f Fix missing error property in PruneEventTransformer 2021-02-18 19:28:06 -08:00
Jingfang Liu 048e8867d6 add apply/preview/destroy flag: inventory-policy 2021-01-20 15:03:35 -08:00
Kubernetes Prow Robot 9854efe610
Merge pull request #297 from Liujingfang1/master
ingore the failed resources in wait task
2021-01-06 14:23:45 -08:00
Morten Torkildsen 96a28c8506 Fix missing identifier in delete event 2021-01-05 21:42:46 -08:00
Jingfang Liu a6bb8c2150 ingore the failed resources in wait task 2020-12-15 09:28:11 -08:00
Jingfang Liu a82c6f0f4f catch up the chagne in PruneEvent during destroy 2020-11-18 16:46:44 -08:00
Jingfang Liu 7915dc5de7 change the apply API to InventoryInfo 2020-11-11 15:07:46 -08:00
Jingfang Liu 4983152e59 split inventory and resources in the apply interface 2020-11-04 15:00:52 -08:00
Morten Torkildsen 24b7916df8 Change inventory package to use Unstructured instead of Info 2020-10-24 15:14:30 -07:00
Morten Torkildsen 321f0a0101 Change PruneOptions and Destroyer to use Unstructured instead of Info 2020-10-22 21:33:23 -07:00
Morten Torkildsen c0031a934a Remove IOStreams from the Applier 2020-10-15 17:07:11 -07:00
Morten Torkildsen a6c5f50abc Move ApplyOptions into ApplyTask 2020-10-14 17:33:49 -07:00
Morten Torkildsen 034d5c3456 Use the TaskContext for passing UIDs of applied resources to the pruner 2020-09-25 14:25:13 -07:00
Sean Sullivan 62bb7972ad Move ManifestReader creation into Provider 2020-09-22 10:36:53 -07:00
Sean Sullivan 2de4d86359 Applies inventory namespace first if necessary 2020-09-11 16:11:50 -07:00
Sean Sullivan 06594c1bca New factory wraps kubectl factory and inventory client 2020-08-31 11:49:18 -07:00
Morten Torkildsen 9135af4218 Improve error handling 2020-08-16 20:10:17 -07:00
Sean Sullivan 13c8cd4a51 Small destroyer fix removes unneeded code 2020-08-12 15:21:08 -07:00
Sean Sullivan 8e98780962 Fixes bug in destroy command 2020-08-12 13:44:00 -07:00
Sean Sullivan a4e3b45135 Inventory client uses factory function 2020-08-06 22:25:28 -07:00
Phani Teja Marupaka 73e5d60407 Server side preview 2020-08-04 18:01:46 -07:00
Sean R. Sullivan c9e7d329da Updates prune algorithm to use one inventory object 2020-07-29 18:33:49 -07:00
Sean R. Sullivan 0062a265b2 Creates InventoryClient to refactor prune 2020-06-15 13:25:05 -07:00
Sean R. Sullivan 0e01dd4817 Initial move of Inventory to its own package 2020-06-11 17:42:34 -07:00
Morten Torkildsen 35c1f6c836 Fix output from lifecycle directive with the destroy command 2020-05-29 10:39:35 -07:00
Sean R. Sullivan aa3a3280a2 Cleanup grouping nomenclature as inventory 2020-05-05 14:59:20 -07:00
Morten Torkildsen 59c9f7582a Allow users to specify deletion propagation for prune 2020-05-03 15:41:37 -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 7ac47303e0 Moves some grouping names to inventory 2020-04-27 15:20:42 -07:00
Morten Torkildsen e0d4c90b42 Fix hidden wait flag 2020-04-21 14:44:10 -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
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
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 5ff554be92 Handle errors from reading manifests in Destroyer 2020-02-28 14:31:37 -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 c9efbd6615 Destroy events rather than prune events for destroyer 2020-02-20 10:02:15 -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 eabc8d89b0 Remove -k -f flags destroyer and update tests 2020-02-13 14:44:39 -08:00
Sean Sullivan 2f315b0640 First attempt at hiding unused flags for commands 2020-02-13 10:24:54 -08:00
Sean Sullivan ccae5f9b3a Clear current grouping object before prune in destroyer 2020-02-12 10:42:54 -08:00
Sean Sullivan 70fb5d1095 Updates destroyer to use Prune with channel 2020-02-11 15:19:04 -08:00
Phani Teja Marupaka 28e314b173 Merge branch 'master' into destroy 2020-02-06 09:43:22 -08:00
Phani Teja Marupaka 64986cc929 Destroy command 2020-02-05 16:23:11 -08:00