From 71154cc36c9566df657809edfb39a2415e348a10 Mon Sep 17 00:00:00 2001 From: Steven Powell <44844360+spowelljr@users.noreply.github.com> Date: Tue, 24 Sep 2024 09:55:05 -0700 Subject: [PATCH] CI: Update volcano auto-updater (#19692) --- hack/update/volcano_version/update_volcano_version.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hack/update/volcano_version/update_volcano_version.go b/hack/update/volcano_version/update_volcano_version.go index 4d4225550a37..e196e691d02e 100644 --- a/hack/update/volcano_version/update_volcano_version.go +++ b/hack/update/volcano_version/update_volcano_version.go @@ -93,9 +93,9 @@ func updateYAML(version string) { klog.Fatalf("failed to read body: %v", err) } replacements := map[string]string{ - `volcanosh\/vc-webhook-manager:.*`: "{{.CustomRegistries.vc_webhook_manager | default .ImageRepository | default .Registries.vc_webhook_manager}}{{.Images.vc_webhook_manager}}", - `volcanosh\/vc-controller-manager:.*`: "{{.CustomRegistries.vc_controller_manager | default .ImageRepository | default .Registries.vc_controller_manager}}{{.Images.vc_controller_manager}}", - `volcanosh\/vc-scheduler:.*`: "{{.CustomRegistries.vc_scheduler | default .ImageRepository | default .Registries.vc_scheduler}}{{.Images.vc_scheduler}}", + `docker\.io\/volcanosh\/vc-webhook-manager:.*`: "{{.CustomRegistries.vc_webhook_manager | default .ImageRepository | default .Registries.vc_webhook_manager}}{{.Images.vc_webhook_manager}}", + `docker\.io\/volcanosh\/vc-controller-manager:.*`: "{{.CustomRegistries.vc_controller_manager | default .ImageRepository | default .Registries.vc_controller_manager}}{{.Images.vc_controller_manager}}", + `docker\.io\/volcanosh\/vc-scheduler:.*`: "{{.CustomRegistries.vc_scheduler | default .ImageRepository | default .Registries.vc_scheduler}}{{.Images.vc_scheduler}}", } for re, repl := range replacements { yaml = regexp.MustCompile(re).ReplaceAll(yaml, []byte(repl))