Skip to content

Commit 8e05d5f

Browse files
Merge pull request #773 from MaysaMacedo/fix-storage-class-name
Fix storageClass name when creating PVC
2 parents 5095610 + c8b7efa commit 8e05d5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/operator/bootstrap.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ func (c *Controller) createPVC(accessMode corev1.PersistentVolumeAccessMode, cla
108108
return err
109109
}
110110

111-
// "standard" is the default StorageClass name, that was provisioned by the cloud provider
112-
storageClassName := "standard"
111+
// "standard-csi" is the default StorageClass name in 4.11 and newer versions, that was provisioned by the cloud provider
112+
storageClassName := "standard-csi"
113113

114114
// This is a Workaround for Bug#1862991 Tracker for removel on Bug#1866240
115115
if infra, err := util.GetInfrastructure(c.listers); err != nil {

0 commit comments

Comments
 (0)