mirror of https://github.com/k3s-io/k3s
Merge pull request #47605 from brendandburns/container
Automatic merge from submit-queue (batch tested with PRs 47562, 47605) Change Container permissions to Private for provisioned Azure Volumes @rootfs @philips #47611pull/6/head
commit
7831a5426f
|
@ -45,7 +45,7 @@ func (az *Cloud) createVhdBlob(accountName, accountKey, name string, sizeGB int6
|
|||
// if container doesn't exist, create one and retry PutPageBlob
|
||||
detail := err.Error()
|
||||
if strings.Contains(detail, errContainerNotFound) {
|
||||
err = blobClient.CreateContainer(vhdContainerName, azs.ContainerAccessTypeContainer)
|
||||
err = blobClient.CreateContainer(vhdContainerName, azs.ContainerAccessTypePrivate)
|
||||
if err == nil {
|
||||
err = blobClient.PutPageBlob(vhdContainerName, name, vhdSize, tags)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue