mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
Change Container permissions to Private.
This commit is contained in:
parent
1ecb40c7ac
commit
f07ac3efc6
@ -45,7 +45,7 @@ func (az *Cloud) createVhdBlob(accountName, accountKey, name string, sizeGB int6
|
|||||||
// if container doesn't exist, create one and retry PutPageBlob
|
// if container doesn't exist, create one and retry PutPageBlob
|
||||||
detail := err.Error()
|
detail := err.Error()
|
||||||
if strings.Contains(detail, errContainerNotFound) {
|
if strings.Contains(detail, errContainerNotFound) {
|
||||||
err = blobClient.CreateContainer(vhdContainerName, azs.ContainerAccessTypeContainer)
|
err = blobClient.CreateContainer(vhdContainerName, azs.ContainerAccessTypePrivate)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
err = blobClient.PutPageBlob(vhdContainerName, name, vhdSize, tags)
|
err = blobClient.PutPageBlob(vhdContainerName, name, vhdSize, tags)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user