-
Notifications
You must be signed in to change notification settings - Fork 349
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR extends the supported DataSources handled by the external-provisioner to include PVCs (Clone) and external API Object types. It removes the restriction of of the provisioner erroring when a DataSource.Kind of anything other than VolumeSnapshot is supplied and adds handling for a DataSource.Kind of PersistentVolumeClaim. In the case of specified DataSources that the provisioner doesn't deal with, we just log that the provisioner doesn't take any action on the specified type, and continue with provisioning ignoring the DataSource field. This not only enables Clone requests, but it also allows development of external controllers to initialize newly created volumes. Additional improvements/enhancements will be added via PV/PVC taints and tolerations when they're implemented. Addresses: Issue #172
- Loading branch information
j-griffith
committed
Feb 15, 2019
1 parent
cbad731
commit b5e553f
Showing
2 changed files
with
260 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters