-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This removes the limitation that the driver can only be deployed for one mode or the other. Instead the driver depends on the new csi.storage.k8s.io/ephemeral field (kubernetes/kubernetes#79624) in the volume context to determine how it should behave in NodePublishVolume. Supporting both modes in the same deployment makes it possible to test ephemeral mode without having to change how the Prow jobs deploy the driver, which is once as part of the cluster setup. The --ephemeral parameter is deprecated and will trigger a warning when still used. The shared code for handling deprecated flags uses klog for logging, so as part of importing it, we also need to switch over to more recent Kubernetes code which uses klog. For now, only minimal changes to the source code are made by switching only to Kubernetes 1.14.4. Going all the way up to Kubernetes 1.15.0 requires further changes and should be done separately.
- Loading branch information
Showing
454 changed files
with
121,027 additions
and
32,948 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Oops, something went wrong.