Azure / acr

Azure Container Registry samples, troubleshooting tips and references
https://aka.ms/acr
Other
162 stars 106 forks source link

Custom Certificate Authority for ACR Task Credentials #696

Open gusfcarvalho opened 1 year ago

gusfcarvalho commented 1 year ago

What is the problem you're trying to solve As part of the Private Agent Pool option, ACR Tasks now can run in private network for large enterprise companies and run builds from/to private registries available in the private network. However, for most of these registries, the certificate authority is an internal PKI, meaning that ACR Tasks as of right now cannot connect to it.

Describe the solution you'd like a way to configure certificate authority bundle on the ACR Task credentials, like this:

{
  "type": "Microsoft.ContainerRegistry/registries/tasks",
  "apiVersion": "2019-06-01-preview",
  "name": "string",
  "location": "string",
 # omited for brevity
  "properties": {
    "credentials": {
      "customRegistries": {
    "private-registry.private-dns.net" : { 
       "certificateAuthority": "b64 encoded CA Certificate bundle",   # <------------- This line here
      "username": "foo",
}
#omited for brevity
}

Additional context Add any other context or screenshots about the feature request here.

github-actions[bot] commented 9 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] commented 7 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.