Skip to content
Permalink
Browse files

upgrade api-version to fix azure file AuthorizationFailure

fix build failure
  • Loading branch information
andyzhangx committed Nov 20, 2019
1 parent 4c50ee9 commit 6b73c9f8c21ccc01ba41aad214ae5abec0d449bc
Showing with 788 additions and 92 deletions.
  1. +1 −1 pkg/volume/azure_dd/BUILD
  2. +1 −1 pkg/volume/azure_dd/azure_dd.go
  3. +1 −1 pkg/volume/azure_dd/azure_provision.go
  4. +1 −1 pkg/volume/azure_file/BUILD
  5. +1 −1 pkg/volume/azure_file/azure_provision.go
  6. +2 −2 staging/src/k8s.io/legacy-cloud-providers/azure/BUILD
  7. +3 −3 staging/src/k8s.io/legacy-cloud-providers/azure/azure_blobDiskController.go
  8. +1 −1 staging/src/k8s.io/legacy-cloud-providers/azure/azure_client.go
  9. +1 −1 staging/src/k8s.io/legacy-cloud-providers/azure/azure_fakes.go
  10. +1 −1 staging/src/k8s.io/legacy-cloud-providers/azure/azure_storage.go
  11. +1 −1 staging/src/k8s.io/legacy-cloud-providers/azure/azure_storage_test.go
  12. +1 −1 staging/src/k8s.io/legacy-cloud-providers/azure/azure_storageaccount.go
  13. +1 −1 staging/src/k8s.io/legacy-cloud-providers/azure/azure_storageaccount_test.go
  14. +1 −1 vendor/BUILD
  15. +4 −2 ...r/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-04-01 → 2019-06-01}/storage/BUILD
  16. +13 −13 ...ub.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-04-01 → 2019-06-01}/storage/accounts.go
  17. +18 −22 .../Azure/azure-sdk-for-go/services/storage/mgmt/{2019-04-01 → 2019-06-01}/storage/blobcontainers.go
  18. +3 −3 ...om/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-04-01 → 2019-06-01}/storage/blobservices.go
  19. +1 −1 ...thub.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-04-01 → 2019-06-01}/storage/client.go
  20. +3 −3 ...om/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-04-01 → 2019-06-01}/storage/fileservices.go
  21. +10 −14 ....com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-04-01 → 2019-06-01}/storage/fileshares.go
  22. +3 −3 ...re/azure-sdk-for-go/services/storage/mgmt/{2019-04-01 → 2019-06-01}/storage/managementpolicies.go
  23. +245 −9 ...thub.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-04-01 → 2019-06-01}/storage/models.go
  24. +1 −1 ....com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-04-01 → 2019-06-01}/storage/operations.go
  25. +332 −0 ...com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/privateendpointconnections.go
  26. +134 −0 ...ithub.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/privatelinkresources.go
  27. +1 −1 ...github.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-04-01 → 2019-06-01}/storage/skus.go
  28. +1 −1 ...thub.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-04-01 → 2019-06-01}/storage/usages.go
  29. +1 −1 ...hub.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-04-01 → 2019-06-01}/storage/version.go
  30. +1 −1 vendor/modules.txt
@@ -39,7 +39,7 @@ go_library(
"//staging/src/k8s.io/cloud-provider/volume/helpers:go_default_library",
"//staging/src/k8s.io/legacy-cloud-providers/azure:go_default_library",
"//vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute:go_default_library",
"//vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage:go_default_library",
"//vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage:go_default_library",
"//vendor/k8s.io/klog:go_default_library",
"//vendor/k8s.io/utils/mount:go_default_library",
"//vendor/k8s.io/utils/strings:go_default_library",
@@ -24,7 +24,7 @@ import (
"strings"

"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute"
"github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage"
"github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage"
"k8s.io/klog"

v1 "k8s.io/api/core/v1"
@@ -24,7 +24,7 @@ import (
"strconv"
"strings"

"github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage"
"github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage"
v1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/resource"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -21,7 +21,7 @@ go_library(
"//staging/src/k8s.io/cloud-provider:go_default_library",
"//staging/src/k8s.io/cloud-provider/volume/helpers:go_default_library",
"//staging/src/k8s.io/legacy-cloud-providers/azure:go_default_library",
"//vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage:go_default_library",
"//vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage:go_default_library",
"//vendor/k8s.io/klog:go_default_library",
"//vendor/k8s.io/utils/mount:go_default_library",
"//vendor/k8s.io/utils/strings:go_default_library",
@@ -22,7 +22,7 @@ import (
"fmt"
"strings"

"github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage"
"github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage"

v1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/resource"
@@ -69,7 +69,7 @@ go_library(
"//staging/src/k8s.io/legacy-cloud-providers/azure/auth:go_default_library",
"//vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute:go_default_library",
"//vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network:go_default_library",
"//vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage:go_default_library",
"//vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage:go_default_library",
"//vendor/github.com/Azure/azure-sdk-for-go/storage:go_default_library",
"//vendor/github.com/Azure/go-autorest/autorest:go_default_library",
"//vendor/github.com/Azure/go-autorest/autorest/adal:go_default_library",
@@ -118,7 +118,7 @@ go_test(
"//staging/src/k8s.io/legacy-cloud-providers/azure/auth:go_default_library",
"//vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute:go_default_library",
"//vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network:go_default_library",
"//vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage:go_default_library",
"//vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage:go_default_library",
"//vendor/github.com/Azure/go-autorest/autorest:go_default_library",
"//vendor/github.com/Azure/go-autorest/autorest/to:go_default_library",
"//vendor/github.com/stretchr/testify/assert:go_default_library",
@@ -30,7 +30,7 @@ import (
"sync/atomic"
"time"

"github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage"
"github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage"
azstorage "github.com/Azure/azure-sdk-for-go/storage"
"github.com/Azure/go-autorest/autorest/to"
"github.com/rubiojr/go-vhd/vhd"
@@ -344,7 +344,7 @@ func (c *BlobDiskController) ensureDefaultContainer(storageAccountName string) e
}

// account exists but not ready yet
if provisionState != storage.Succeeded {
if provisionState != storage.ProvisioningStateSucceeded {
// we don't want many attempts to validate the account readiness
// here hence we are locking
counter := 1
@@ -375,7 +375,7 @@ func (c *BlobDiskController) ensureDefaultContainer(storageAccountName string) e
return false, nil // error performing the query - retryable
}

if provisionState == storage.Succeeded {
if provisionState == storage.ProvisioningStateSucceeded {
return true, nil
}

@@ -26,7 +26,7 @@ import (

"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute"
"github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network"
"github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage"
"github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage"
"github.com/Azure/go-autorest/autorest"
"github.com/Azure/go-autorest/autorest/adal"

@@ -28,7 +28,7 @@ import (

"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute"
"github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network"
"github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage"
"github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage"
"github.com/Azure/go-autorest/autorest"
"github.com/Azure/go-autorest/autorest/to"

@@ -21,7 +21,7 @@ package azure
import (
"fmt"

"github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage"
"github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage"

"k8s.io/klog"
)
@@ -21,7 +21,7 @@ package azure
import (
"testing"

"github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage"
"github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage"
)

func TestCreateFileShare(t *testing.T) {
@@ -22,7 +22,7 @@ import (
"fmt"
"strings"

"github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage"
"github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage"
"github.com/Azure/go-autorest/autorest/to"

"k8s.io/klog"
@@ -22,7 +22,7 @@ import (
"fmt"
"testing"

"github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage"
"github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage"
)

func TestGetStorageAccessKeys(t *testing.T) {
@@ -14,7 +14,7 @@ filegroup(
"//vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute:all-srcs",
"//vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2019-05-01/containerregistry:all-srcs",
"//vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network:all-srcs",
"//vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage:all-srcs",
"//vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage:all-srcs",
"//vendor/github.com/Azure/azure-sdk-for-go/storage:all-srcs",
"//vendor/github.com/Azure/azure-sdk-for-go/version:all-srcs",
"//vendor/github.com/Azure/go-ansiterm:all-srcs",

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

0 comments on commit 6b73c9f

Please sign in to comment.
You can’t perform that action at this time.