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 #47611
pull/6/head
Kubernetes Submit Queue 2017-06-15 21:54:30 -07:00 committed by GitHub
commit 7831a5426f
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}