Skip to content

Commit

Permalink
feat: change vm use sc
Browse files Browse the repository at this point in the history
  • Loading branch information
张启航 committed Nov 30, 2023
1 parent 469842f commit 9de736d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/appm/volume/share-file.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (v *ShareFileVolume) CreateVolume(define *Define) error {
"stateless": "",
})
annotations := map[string]string{"volume_name": v.svm.VolumeName}
claim := newVolumeClaim(volumeMountName, path.Join(volumeMountPath, volumeMountName), v.svm.AccessMode, v1.RainbondStatefuleShareStorageClass, v.svm.VolumeCapacity, labels, annotations)
claim := newVolumeClaim(volumeMountName, path.Join(volumeMountPath, volumeMountName), v.svm.AccessMode, v1.RainbondStatefuleLocalStorageClass, v.svm.VolumeCapacity, labels, annotations)
v.as.SetClaim(claim)
v.as.SetClaimManually(claim)
vo := kubevirtv1.Volume{
Expand Down

0 comments on commit 9de736d

Please sign in to comment.