Add base image option to csi plugin
@@ -41,6 +41,10 @@ func getVolumeOptions(volOptions map[string]string) (*longhornclient.Volume, err
vol.NumberOfReplicas = defaultNumberOfReplicas
}
+ if baseImage, ok := volOptions["baseImage"]; ok {
+ vol.BaseImage = baseImage
+ }
+
return vol, nil
}
