Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vendor: upgrade storage account api-version as 2023-05-01 #2142

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions pkg/azurefile/controllerserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,11 @@ func (d *Driver) CreateVolume(ctx context.Context, req *csi.CreateVolumeRequest)
}
}

// use v2 account kind for v2 sku
if strings.Contains(strings.ToLower(sku), "v2") {
accountKind = string(armstorage.KindFileStorage)
}

// replace pv/pvc name namespace metadata in fileShareName
validFileShareName := replaceWithMap(fileShareName, fileShareNameReplaceMap)
if validFileShareName == "" {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading