Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow usage of PVCTemplate as storage pool source. (#175)
* Add mounter binary that attempts to mount a volume on the host so the hostpath provisioner can use it. Signed-off-by: Alexander Wels <awels@redhat.com> * Refactor unit tests. Add unit tests for storage pool. Refactor mounter to be easier to read. Signed-off-by: Alexander Wels <awels@redhat.com> * Refactored mounter so it will remount if something unmounts the mount. Signed-off-by: Alexander Wels <awels@redhat.com> * Added unmounting when deployment is no longer available on a node. Signed-off-by: Alexander Wels <awels@redhat.com> * generated crd files Signed-off-by: Alexander Wels <awels@redhat.com> * Moved PVCTemplate up to the storage pool level. Signed-off-by: Alexander Wels <awels@redhat.com> * Add SA to mount and unmount deployment/job Signed-off-by: Alexander Wels <awels@redhat.com> * Don't clobber existing finalizers, add/remove properly. Signed-off-by: Alexander Wels <awels@redhat.com> * Don't remove finalizer from hpp until all the unmount jobs finish Signed-off-by: Alexander Wels <awels@redhat.com> * Delete daemonset and deployments associated with SA instead of pods. Signed-off-by: Alexander Wels <awels@redhat.com>
- Loading branch information