From cf8f9e37bee7b5f114fbcb1acc8928d6a2e31b62 Mon Sep 17 00:00:00 2001 From: Nick Baker Date: Thu, 5 Sep 2024 22:17:16 +0000 Subject: [PATCH] Additional ecr provder patterns --- .../expected-image-credential-provider-config-126.json | 4 +++- templates/al2/runtime/ecr-credential-provider-config.json | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/nodeadm/test/e2e/cases/image-credential-provider/expected-image-credential-provider-config-126.json b/nodeadm/test/e2e/cases/image-credential-provider/expected-image-credential-provider-config-126.json index 7dff03d67..8a60d283e 100644 --- a/nodeadm/test/e2e/cases/image-credential-provider/expected-image-credential-provider-config-126.json +++ b/nodeadm/test/e2e/cases/image-credential-provider/expected-image-credential-provider-config-126.json @@ -9,7 +9,9 @@ "*.dkr.ecr.*.amazonaws.com.cn", "*.dkr.ecr-fips.*.amazonaws.com", "*.dkr.ecr.*.c2s.ic.gov", - "*.dkr.ecr.*.sc2s.sgov.gov" + "*.dkr.ecr.*.sc2s.sgov.gov", + "*.dkr.ecr.*.cloud.adc-e.uk", + "*.dkr.ecr.*.csp.hci.ic.gov" ], "defaultCacheDuration": "12h", "apiVersion": "credentialprovider.kubelet.k8s.io/v1alpha1" diff --git a/templates/al2/runtime/ecr-credential-provider-config.json b/templates/al2/runtime/ecr-credential-provider-config.json index 6b251d69c..582c576da 100644 --- a/templates/al2/runtime/ecr-credential-provider-config.json +++ b/templates/al2/runtime/ecr-credential-provider-config.json @@ -9,7 +9,9 @@ "*.dkr.ecr.*.amazonaws.com.cn", "*.dkr.ecr-fips.*.amazonaws.com", "*.dkr.ecr.*.c2s.ic.gov", - "*.dkr.ecr.*.sc2s.sgov.gov" + "*.dkr.ecr.*.sc2s.sgov.gov", + "*.dkr.ecr.*.cloud.adc-e.uk", + "*.dkr.ecr.*.csp.hci.ic.gov" ], "defaultCacheDuration": "12h", "apiVersion": "credentialprovider.kubelet.k8s.io/v1"