Commit Graph

23 Commits

Author SHA1 Message Date
Mikhail Mazurskiy 36cb2cea5e
Use rand from apimachinery to avoid seeding rng every time 2021-05-12 12:13:02 +10:00
Sean Sullivan d0c91b1c01 Adds e2e test for init command 2020-11-18 11:59:06 -08:00
Sean Sullivan 449575652c Fixes namespace calculation for cluster-scoped resources 2020-11-02 13:45:56 -08:00
Sean Sullivan bd46527179 Exports IsDir function with cleanup 2020-09-28 16:13:55 -07:00
Sean Sullivan 6e16212c12 Export some init functions for reuse 2020-09-24 18:04:02 -07:00
Sean Sullivan 9006d9a1dc Refactor inventory template intialization 2020-09-14 13:11:23 -07:00
Morten Torkildsen a22f5fb6c7 Ignore files with the LocalConfig annotation 2020-09-13 13:57:10 -07:00
Morten Torkildsen e43565ef80 Handle the --namespace flag 2020-09-03 19:39:15 -07:00
Nik Skoufis e3e42e6cb1
Fix name of flag 2020-08-18 16:24:44 +10:00
Sean Sullivan 09f09c56ed Adds random suffix to legacy default inventory name 2020-08-03 13:16:22 -07:00
Sean R. Sullivan c9e7d329da Updates prune algorithm to use one inventory object 2020-07-29 18:33:49 -07:00
Jijie Wei 2da9da4e26 return inventory namespace as output 2020-07-28 12:04:05 -07:00
Jijie Wei a6f98bc844 namespaced kpt live init 2020-07-27 14:07:30 -07:00
Sean R. Sullivan 12ce49863f Change grouping object to inventory object 2020-04-01 15:20:27 -07:00
Sean R. Sullivan 0c5578d63b Default grouping label is a UUID 2020-03-24 13:23:41 -07:00
Sean Sullivan 6d97537b10 Fixes minor issue in init command and current directory (.) 2020-03-16 15:15:09 -07:00
Kubernetes Prow Robot cbf3f235bd
Merge pull request #97 from seans3/init-cmd-fix
Fixes grouping object namespace calculation
2020-03-13 16:06:34 -07:00
Sean Sullivan f9d1251ca1 Fixes grouping object namespace calculation 2020-03-13 14:41:58 -07:00
Sean Sullivan fdb5a3770a Fixes validation problem with invalid label values 2020-03-12 16:27:59 -07:00
Sean Sullivan 207a3bf16f Move hard-coded default namespace to proper constants 2020-03-10 16:13:07 -07:00
Sean Sullivan 0d07ebd83a Added more comments to auto-generated grouping object template file 2020-03-06 15:38:54 -08:00
Sean Sullivan 513a77eeea Adds warning to fields in auto-generated grouping object 2020-03-06 12:14:11 -08:00
Sean Sullivan c02e0964dc First version of InitOptions and tests 2020-03-04 18:05:58 -08:00