--download-only should download drivers
parent
6208b6cc27
commit
98508253a5
|
@ -304,10 +304,8 @@ func runStart(cmd *cobra.Command, args []string) {
|
||||||
validateFlags(cmd, driverName)
|
validateFlags(cmd, driverName)
|
||||||
validateUser(driverName)
|
validateUser(driverName)
|
||||||
|
|
||||||
// No need to install a driver in download-only mode
|
// Download & update the driver, even in --download-only mode
|
||||||
if !viper.GetBool(downloadOnly) {
|
|
||||||
updateDriver(driverName)
|
updateDriver(driverName)
|
||||||
}
|
|
||||||
|
|
||||||
k8sVersion, isUpgrade := getKubernetesVersion(existing)
|
k8sVersion, isUpgrade := getKubernetesVersion(existing)
|
||||||
config, err := generateCfgFromFlags(cmd, k8sVersion, driverName)
|
config, err := generateCfgFromFlags(cmd, k8sVersion, driverName)
|
||||||
|
|
Loading…
Reference in New Issue