This repository has been archived by the owner on Oct 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 519
chore: update Kubernetes libraries to v0.24.7 #4990
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ linters: | |
- errcheck | ||
- goimports | ||
- gosimple | ||
- golint | ||
- revive | ||
- govet | ||
- ineffassign | ||
- misspell | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,16 +25,13 @@ import ( | |
. "github.com/onsi/gomega" | ||
) | ||
|
||
//mockAuthProvider implements AuthProvider and allows in particular to stub out getClient() | ||
// mockAuthProvider implements AuthProvider and allows in particular to stub out getClient() | ||
type mockAuthProvider struct { | ||
getClientMock armhelpers.AKSEngineClient | ||
*authArgs | ||
} | ||
|
||
func (provider *mockAuthProvider) getClient() (armhelpers.AKSEngineClient, error) { | ||
if provider.getClientMock == nil { | ||
return &armhelpers.MockAKSEngineClient{}, nil | ||
} | ||
return provider.getClientMock, nil | ||
|
||
} | ||
|
@@ -216,7 +213,7 @@ func TestWriteCustomCloudProfile(t *testing.T) { | |
t.Fatalf("failed to write custom cloud profile: can not read file %s ", environmentFilePath) | ||
} | ||
azurestackenvironmentStr := string(azurestackenvironment) | ||
expectedResult := `{"name":"azurestackcloud","managementPortalURL":"https://management.local.azurestack.external/","publishSettingsURL":"https://management.local.azurestack.external/publishsettings/index","serviceManagementEndpoint":"https://management.azurestackci15.onmicrosoft.com/36f71706-54df-4305-9847-5b038a4cf189","resourceManagerEndpoint":"https://management.local.azurestack.external/","activeDirectoryEndpoint":"https://login.windows.net/","galleryEndpoint":"https://portal.local.azurestack.external=30015/","keyVaultEndpoint":"https://vault.azurestack.external/","graphEndpoint":"https://graph.windows.net/","serviceBusEndpoint":"https://servicebus.azurestack.external/","batchManagementEndpoint":"https://batch.azurestack.external/","storageEndpointSuffix":"core.azurestack.external","sqlDatabaseDNSSuffix":"database.azurestack.external","trafficManagerDNSSuffix":"trafficmanager.cn","keyVaultDNSSuffix":"vault.azurestack.external","serviceBusEndpointSuffix":"servicebus.azurestack.external","serviceManagementVMDNSSuffix":"chinacloudapp.cn","resourceManagerVMDNSSuffix":"cloudapp.azurestack.external","containerRegistryDNSSuffix":"azurecr.io","cosmosDBDNSSuffix":"","tokenAudience":"https://management.azurestack.external/","resourceIdentifiers":{"graph":"","keyVault":"","datalake":"","batch":"","operationalInsights":"","storage":""}}` | ||
expectedResult := `{"name":"azurestackcloud","managementPortalURL":"https://management.local.azurestack.external/","publishSettingsURL":"https://management.local.azurestack.external/publishsettings/index","serviceManagementEndpoint":"https://management.azurestackci15.onmicrosoft.com/36f71706-54df-4305-9847-5b038a4cf189","resourceManagerEndpoint":"https://management.local.azurestack.external/","activeDirectoryEndpoint":"https://login.windows.net/","galleryEndpoint":"https://portal.local.azurestack.external=30015/","keyVaultEndpoint":"https://vault.azurestack.external/","graphEndpoint":"https://graph.windows.net/","serviceBusEndpoint":"https://servicebus.azurestack.external/","batchManagementEndpoint":"https://batch.azurestack.external/","storageEndpointSuffix":"core.azurestack.external","sqlDatabaseDNSSuffix":"database.azurestack.external","trafficManagerDNSSuffix":"trafficmanager.cn","keyVaultDNSSuffix":"vault.azurestack.external","serviceBusEndpointSuffix":"servicebus.azurestack.external","serviceManagementVMDNSSuffix":"chinacloudapp.cn","resourceManagerVMDNSSuffix":"cloudapp.azurestack.external","containerRegistryDNSSuffix":"azurecr.io","cosmosDBDNSSuffix":"","tokenAudience":"https://management.azurestack.external/","apiManagementHostNameSuffix":"","synapseEndpointSuffix":"","resourceIdentifiers":{"graph":"","keyVault":"","datalake":"","batch":"","operationalInsights":"","storage":"","synapse":"","serviceBus":""}}` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @jadarsie FYI updates to Azure go libs brought in some additional data here, UT have been updated. Let me know if this is a concern. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No concerns that I can think of |
||
if azurestackenvironmentStr != expectedResult { | ||
t.Fatalf("failed to write custom cloud profile: expected %s , got %s ", expectedResult, azurestackenvironmentStr) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,100 @@ | ||
module github.com/Azure/aks-engine | ||
|
||
go 1.16 | ||
go 1.17 | ||
|
||
require ( | ||
github.com/Azure/azure-sdk-for-go v43.0.0+incompatible | ||
github.com/Azure/azure-storage-blob-go v0.7.0 | ||
github.com/Azure/go-autorest/autorest v0.9.6 | ||
github.com/Azure/go-autorest/autorest/adal v0.9.10 | ||
github.com/Azure/go-autorest/autorest v0.11.18 | ||
github.com/Azure/go-autorest/autorest/adal v0.9.13 | ||
github.com/Azure/go-autorest/autorest/azure/cli v0.3.0 | ||
github.com/Azure/go-autorest/autorest/date v0.3.0 | ||
github.com/Azure/go-autorest/autorest/to v0.3.0 | ||
github.com/Azure/go-autorest/autorest/validation v0.2.0 // indirect | ||
github.com/BurntSushi/toml v0.3.1 | ||
github.com/Jeffail/gabs v1.1.1 | ||
github.com/blang/semver v3.5.1+incompatible | ||
github.com/davecgh/go-spew v1.1.1 | ||
github.com/dnaeon/go-vcr v1.0.1 // indirect | ||
github.com/fatih/structs v1.1.0 | ||
github.com/go-playground/locales v0.12.1 // indirect | ||
github.com/go-playground/universal-translator v0.16.0 // indirect | ||
github.com/golang/mock v1.2.0 | ||
github.com/google/go-cmp v0.4.0 | ||
github.com/google/uuid v1.1.1 | ||
github.com/googleapis/gnostic v0.2.0 // indirect | ||
github.com/golang/mock v1.5.0 | ||
github.com/google/go-cmp v0.5.5 | ||
github.com/google/uuid v1.1.2 | ||
github.com/imdario/mergo v0.3.6 | ||
github.com/inconshreveable/mousetrap v1.0.0 // indirect | ||
github.com/jarcoal/httpmock v1.0.1 | ||
github.com/kr/pretty v0.2.1 // indirect | ||
github.com/leodido/go-urn v1.1.0 // indirect | ||
github.com/leonelquinteros/gotext v1.4.0 | ||
github.com/mattn/go-colorable v0.0.9 | ||
github.com/mattn/go-isatty v0.0.10 // indirect | ||
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect | ||
github.com/mitchellh/go-homedir v1.1.0 | ||
github.com/onsi/ginkgo v1.15.0 | ||
github.com/onsi/gomega v1.10.1 | ||
github.com/pkg/errors v0.9.1 | ||
github.com/satori/go.uuid v1.2.0 // indirect | ||
github.com/sirupsen/logrus v1.8.0 | ||
github.com/smartystreets/goconvey v0.0.0-20190731233626-505e41936337 // indirect | ||
github.com/spf13/cobra v0.0.3 | ||
github.com/spf13/pflag v1.0.5 | ||
github.com/x-cray/logrus-prefixed-formatter v0.5.2 | ||
golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0 | ||
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9 | ||
golang.org/x/time v0.0.0-20190921001708-c4c64cad1fd0 // indirect | ||
gopkg.in/go-playground/assert.v1 v1.2.1 // indirect | ||
golang.org/x/crypto v0.0.0-20220214200702-86341886e292 | ||
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c | ||
gopkg.in/go-playground/validator.v9 v9.25.0 | ||
gopkg.in/ini.v1 v1.41.0 | ||
k8s.io/api v0.16.15 | ||
k8s.io/apimachinery v0.16.15 | ||
k8s.io/client-go v0.16.15 | ||
k8s.io/api v0.24.7 | ||
k8s.io/apimachinery v0.24.7 | ||
k8s.io/client-go v0.24.7 | ||
) | ||
|
||
require ( | ||
github.com/Azure/azure-pipeline-go v0.2.1 // indirect | ||
github.com/Azure/go-autorest v14.2.0+incompatible // indirect | ||
github.com/Azure/go-autorest/autorest/validation v0.2.0 // indirect | ||
github.com/Azure/go-autorest/logger v0.2.1 // indirect | ||
github.com/Azure/go-autorest/tracing v0.6.0 // indirect | ||
github.com/PuerkitoBio/purell v1.1.1 // indirect | ||
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect | ||
github.com/dimchansky/utfbom v1.1.0 // indirect | ||
github.com/dnaeon/go-vcr v1.0.1 // indirect | ||
github.com/emicklei/go-restful v2.9.5+incompatible // indirect | ||
github.com/form3tech-oss/jwt-go v3.2.3+incompatible // indirect | ||
github.com/fsnotify/fsnotify v1.4.9 // indirect | ||
github.com/go-logr/logr v1.2.0 // indirect | ||
github.com/go-openapi/jsonpointer v0.19.5 // indirect | ||
github.com/go-openapi/jsonreference v0.19.5 // indirect | ||
github.com/go-openapi/swag v0.19.14 // indirect | ||
github.com/go-playground/locales v0.12.1 // indirect | ||
github.com/go-playground/universal-translator v0.16.0 // indirect | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/golang/protobuf v1.5.2 // indirect | ||
github.com/google/gnostic v0.5.7-v3refs // indirect | ||
github.com/google/gofuzz v1.1.0 // indirect | ||
github.com/inconshreveable/mousetrap v1.0.0 // indirect | ||
github.com/josharian/intern v1.0.0 // indirect | ||
github.com/json-iterator/go v1.1.12 // indirect | ||
github.com/leodido/go-urn v1.1.0 // indirect | ||
github.com/magefile/mage v1.10.0 // indirect | ||
github.com/mailru/easyjson v0.7.6 // indirect | ||
github.com/mattn/go-ieproxy v0.0.0-20190610004146-91bb50d98149 // indirect | ||
github.com/mattn/go-isatty v0.0.10 // indirect | ||
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect | ||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
github.com/modern-go/reflect2 v1.0.2 // indirect | ||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect | ||
github.com/nxadm/tail v1.4.4 // indirect | ||
github.com/satori/go.uuid v1.2.0 // indirect | ||
github.com/smartystreets/goconvey v0.0.0-20190731233626-505e41936337 // indirect | ||
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect | ||
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect | ||
golang.org/x/sys v0.0.0-20220209214540-3681064d5158 // indirect | ||
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect | ||
golang.org/x/text v0.3.7 // indirect | ||
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect | ||
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect | ||
google.golang.org/appengine v1.6.7 // indirect | ||
google.golang.org/protobuf v1.27.1 // indirect | ||
gopkg.in/go-playground/assert.v1 v1.2.1 // indirect | ||
gopkg.in/inf.v0 v0.9.1 // indirect | ||
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
k8s.io/klog/v2 v2.60.1 // indirect | ||
k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42 // indirect | ||
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 // indirect | ||
sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 // indirect | ||
sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect | ||
sigs.k8s.io/yaml v1.2.0 // indirect | ||
) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@CecileRobertMichon @mboersma this is the change that skips shellcheck