File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,17 @@ import (
1919 "github.com/openshift/microshift/pkg/assets"
2020 "github.com/openshift/microshift/pkg/config"
2121 "github.com/openshift/microshift/pkg/config/lvmd"
22+ "github.com/openshift/microshift/pkg/version"
2223)
2324
2425func startCSIPlugin (ctx context.Context , cfg * config.Config , kubeconfigPath string ) error {
26+ // Community builds should deploy upstream CSI drivers, e.g. TopoLVM, etc.
27+ // LVMS is not available without pull-secret access.
28+ if version .Get ().BuildVariant == version .BuildVariantCommunity {
29+ klog .Warningf ("CSI driver deployment is disabled for community builds" )
30+ return nil
31+ }
32+
2533 if ! cfg .Storage .IsEnabled () {
2634 klog .Warningf ("CSI driver deployment disabled, persistent storage will not be available" )
2735 return nil
You can’t perform that action at this time.
0 commit comments