k3s/pkg/credentialprovider
Kubernetes Submit Queue d62fca231e Merge pull request #40142 from colemickens/colemickens-acr-login-server
Automatic merge from submit-queue (batch tested with PRs 37055, 40142)

azure: azure container registry: fix login server

**What this PR does / why we need it**:

Fixes the Azure Container Registry integration

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
n/a

**Special notes for your reviewer**:

Before this change, if I created an ACR with name `colemicktest`, then the login server would be `colemicktest-microsoft.azurecr.io`. This code was concating to form `colemicktest.azurecr.io` which does not work.

The fix is to reach into RegistryProperties and read out the login server domain name directly.

Also, this should eliminate that existed when ACR gets to sovereign clouds.

**Release note**:

```release-note
azure: fix Azure Container Registry integration
```
2017-01-25 00:40:02 -08:00
..
aws AWS: trust region if found from AWS metadata 2017-01-18 09:17:55 -05:00
azure azure: acr fix login server 2017-01-19 05:08:16 -08:00
gcp Merge pull request #36516 from apelisse/owners-pkg-credentialprovider 2017-01-13 14:34:02 -08:00
BUILD start the apimachinery repo 2017-01-11 09:09:48 -05:00
OWNERS Update OWNERS 2016-12-22 09:57:56 -05:00
config.go make invocation ReadDockerConfigFile can handle .dockerconfigjson file 2016-11-17 09:32:32 +08:00
config_test.go make function ReadDockerConfigFile more flexible 2016-10-14 23:23:46 +08:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
keyring.go start the apimachinery repo 2017-01-11 09:09:48 -05:00
keyring_test.go
plugins.go
provider.go Check if service accounts exist in gcr credential provider 2016-07-15 11:41:02 -07:00
provider_test.go