Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions test/e2e/es/volume_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ func TestVolumeMultiDataPath(t *testing.T) {
},
},
},
}},
},
},
VolumeClaimTemplates: []corev1.PersistentVolumeClaim{
{
ObjectMeta: metav1.ObjectMeta{
Expand Down Expand Up @@ -214,9 +215,7 @@ func getResizeableStorageClass(k8sClient k8s.Client) (string, error) {
return "", err
}
for _, sc := range scs.Items {
// TODO https://github.com/Azure/AKS/issues/1477 azure-disk does not support resizing of "attached" disks, despite
// advertising it allows volume expansion. Remove the azure special case once this issue is resolved.
if sc.AllowVolumeExpansion != nil && *sc.AllowVolumeExpansion && sc.Provisioner != "kubernetes.io/azure-disk" {
if sc.AllowVolumeExpansion != nil && *sc.AllowVolumeExpansion {
return sc.Name, nil
}
}
Expand Down