Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 329 Bytes

DeployFromPrivateRegistry.md

File metadata and controls

12 lines (8 loc) · 329 Bytes

Deploy image from Private Registry

Creating Kubernetes secret to access private registry.

As example, connecting AKS to ACR using secret

$query="join(' ', ['docker login $RegistryName.azurecr.io', '-u', username, '-p', passwords[0].value])"

az acr credential show -n $RegistryName --query $query --output tsv ` | cmd