diff --git a/pkg/resources/statefulsets/minio-statefulset.go b/pkg/resources/statefulsets/minio-statefulset.go index c97ca9cf44f..1359d28668a 100644 --- a/pkg/resources/statefulsets/minio-statefulset.go +++ b/pkg/resources/statefulsets/minio-statefulset.go @@ -191,7 +191,7 @@ func minioServerContainer(mi *miniov1.MinIOInstance, serviceName string) corev1. if mi.Spec.Zones[0].Servers == 1 { // to run in standalone mode we must pass the path - args = append(args, mi.Spec.Mountpath) + args = append(args, mi.VolumePath()) } else { // append all the MinIOInstance replica URLs for _, h := range mi.MinIOHosts() {