From 251a31c1c17dd712d0cd519a8cb262193c48c821 Mon Sep 17 00:00:00 2001 From: Rafi Barash Date: Tue, 23 Jul 2024 08:58:42 -0700 Subject: [PATCH 1/2] Add US and 3 EU REP endpoints to credential helper --- config/const.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/config/const.go b/config/const.go index f5c9ea98..29e930f5 100644 --- a/config/const.go +++ b/config/const.go @@ -89,10 +89,13 @@ var DefaultARRegistries = [...]string{ "europe-west1-docker.pkg.dev", "europe-west2-docker.pkg.dev", "europe-west3-docker.pkg.dev", + "docker.europe-west3.rep.pkg.dev", "europe-west4-docker.pkg.dev", "europe-west6-docker.pkg.dev", "europe-west8-docker.pkg.dev", + "docker.europe-west8.rep.pkg.dev", "europe-west9-docker.pkg.dev", + "docker.europe-west9.rep.pkg.dev", "europe-west10-docker.pkg.dev", "europe-west12-docker.pkg.dev", "me-central1-docker.pkg.dev", @@ -105,15 +108,25 @@ var DefaultARRegistries = [...]string{ "southamerica-west1-docker.pkg.dev", "us-docker.pkg.dev", "us-central1-docker.pkg.dev", + "docker.us-central1.rep.pkg.dev", "us-east1-docker.pkg.dev", + "docker.us-east1.rep.pkg.dev", "us-east4-docker.pkg.dev", + "docker.us-east4.rep.pkg.dev", "us-east5-docker.pkg.dev", + "docker.us-east5.rep.pkg.dev", "us-south1-docker.pkg.dev", + "docker.us-south1.rep.pkg.dev" "us-west1-docker.pkg.dev", + "docker.us-west1.rep.pkg.dev" "us-west2-docker.pkg.dev", + "docker.us-west2.rep.pkg.dev", "us-west3-docker.pkg.dev", + "docker.us-west3.rep.pkg.dev" "us-west4-docker.pkg.dev", + "docker.us-west4.rep.pkg.dev", "us-west8-docker.pkg.dev", + "docker.us-west8.rep.pkg.dev", } // SupportedGCRTokenSources maps config keys to plain english explanations for From d174878866622f9d112aeca2a55a3798f7a2809f Mon Sep 17 00:00:00 2001 From: Rafi Barash Date: Tue, 23 Jul 2024 16:02:56 +0000 Subject: [PATCH 2/2] add commas where missing :) --- config/const.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/const.go b/config/const.go index 29e930f5..7d5687f6 100644 --- a/config/const.go +++ b/config/const.go @@ -116,13 +116,13 @@ var DefaultARRegistries = [...]string{ "us-east5-docker.pkg.dev", "docker.us-east5.rep.pkg.dev", "us-south1-docker.pkg.dev", - "docker.us-south1.rep.pkg.dev" + "docker.us-south1.rep.pkg.dev", "us-west1-docker.pkg.dev", - "docker.us-west1.rep.pkg.dev" + "docker.us-west1.rep.pkg.dev", "us-west2-docker.pkg.dev", "docker.us-west2.rep.pkg.dev", "us-west3-docker.pkg.dev", - "docker.us-west3.rep.pkg.dev" + "docker.us-west3.rep.pkg.dev", "us-west4-docker.pkg.dev", "docker.us-west4.rep.pkg.dev", "us-west8-docker.pkg.dev",