Merge pull request #108458 from pohly/csi-test-image-mirroring

e2e: support CSI images in -list-images
This commit is contained in:
Kubernetes Prow Robot
2022-03-10 21:17:06 -08:00
committed by GitHub
3 changed files with 200 additions and 0 deletions

View File

@@ -277,6 +277,11 @@ func initImageConfigs(list RegistryList) (map[int]Config, map[int]Config) {
configs[VolumeRBDServer] = Config{list.PromoterE2eRegistry, "volume/rbd", "1.0.4"}
configs[WindowsServer] = Config{list.MicrosoftRegistry, "windows", "1809"}
// This adds more config entries. Those have no pre-defined index number,
// but will be used via ReplaceRegistryInImageURL when deploying
// CSI drivers (test/e2e/storage/util/create.go).
appendCSIImageConfigs(configs)
// if requested, map all the SHAs into a known format based on the input
originalImageConfigs := configs
if repo := os.Getenv("KUBE_TEST_REPO"); len(repo) > 0 {