Jon Cope
785424cd8f
Refactor Controller to internally setup event handlers
...
Make CDI selector label a global constant
Parameterize selectorlabel
Handled nil selector case
Handel NewController error in testing, use constant importer tag
Changed informer factory back to un-filtered, fixed nil ptr error
removed labels, to be handled in a separate pr
To accomodate testing, NewController takes a pre-created Informer, not a factory
Add global constant for default resync
fix makefile bug
fix bug in deployent manifest
2018-04-26 15:34:35 -05:00
Jon Cope
d9dc1c92c8
Update makefile to push releases to kubevirt repo; Modify controller bin to accept non-default importer images
...
rename varibales to change 'tag' to 'image' references
2018-04-16 21:11:56 -05:00
jeff vance
cfeae65502
refactor unit tests
2018-04-06 13:08:08 -07:00
jeff vance
f9d6bf4f08
multiple namespaces
2018-04-02 15:55:51 -07:00
Jon Cope
a87c85b417
generate importer pod name, remote linux specific
2018-03-19 13:45:45 -05:00
Shiyang Wang
d06b6da42f
add controller test
2018-03-13 17:49:54 +08:00
jeff vance
fcb2791de5
use Patch to update pvc anno
2018-03-05 20:59:30 -08:00
jeff vance
417df8890d
replace status anno with importPodName, remove UpdateFunc and DeleteFunc
2018-03-01 23:57:28 -08:00
jeff vance
38d50cf051
support IMPORTER_TAG env var, include pvc name in importer pod name
2018-03-01 16:54:08 -08:00
jeff vance
d0906c4ff1
add common pkg and fix some err msgs to be more consistent
2018-02-27 13:11:42 -08:00
jeff vance
163fd1202c
no explicit pvc requeue, use only secret name, and retry setting pvc status anno if stale
2018-02-27 09:41:58 -08:00
jeff vance
ae1d92ffd5
secret added to pod
2018-02-25 22:49:58 -08:00
jeff vance
e9f1fdd3e2
generate podName, create pod
2018-02-25 00:13:04 -08:00
jeff vance
d3587b4cf6
begin pod creation code, be retry is secret is missing
2018-02-24 00:24:04 -08:00
jeff vance
dcf163e0e8
look for pvc status annotation
2018-02-23 12:37:31 -08:00
jeff vance
4e9662b7af
secret err handling
2018-02-22 18:24:18 -08:00
jeff vance
13c1c1209c
secret and ep progress
2018-02-21 18:41:51 -08:00
jeff vance
ea293130ec
controller action skeleton
2018-02-21 15:17:35 -08:00