Commit Graph

4 Commits

Author SHA1 Message Date
Alexander Wels
1c4918eb8c
Fix up the validation of sources logic to be easier to understand and extend. (#1128)
Signed-off-by: Alexander Wels <awels@redhat.com>
2020-02-28 20:36:53 +01:00
Michael Henriksen
e4fa647eea Clone permission refactoring (#906)
* allow user with 'create pod' permission in source namespace to clone PVCs also refactored Kubevirt interface to clone permission check

* make sure DataVolume spec is immutable also don't check perms when clone source namespace = dest namespace
2019-08-05 11:04:03 -04:00
zvikorn
e96ed9f753 Adding webhook validation for length of DataVolume name (#903)
Signed-off-by: tavni <tavni@redhat.com>
2019-08-01 16:04:04 -04:00
Michael Henriksen
ec52c85a25 Validating webhook and token authorization for PVC cloning (#869)
* baseline refactoring of webhook package

* datavolume clone validation webhook

* rename datavolumes/clone-init to datavolumes/source

* add RBAC doc

* updates from review

* make clone permission check exportable function

* force dumb cloning in in functional test
2019-07-09 14:02:31 -04:00