From 87adfc66ea0afa7d4dd4820bcee1252ca78c3e2d Mon Sep 17 00:00:00 2001 From: Ahmad Ibrahim Date: Wed, 31 Jul 2024 18:59:40 -0700 Subject: [PATCH] fix: set imageOpts ref to the correct value to ensure plugin charts can be pulled when stored on a private registry --- internal/controller/validatorconfig_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/controller/validatorconfig_controller.go b/internal/controller/validatorconfig_controller.go index e9ee8d94..d3a86eb3 100644 --- a/internal/controller/validatorconfig_controller.go +++ b/internal/controller/validatorconfig_controller.go @@ -202,7 +202,7 @@ func (r *ValidatorConfigReconciler) redeployIfNeeded(ctx context.Context, vc *v1 continue } ociOpts := oci.ImageOptions{ - Ref: fmt.Sprintf("%s/%s/%s:%s", strings.TrimPrefix(opts.Registry, oci.Scheme), opts.Repo, opts.Chart, opts.Version), + Ref: fmt.Sprintf("%s/%s:%s", strings.TrimPrefix(opts.Registry, oci.Scheme), opts.Repo, opts.Version), OutDir: opts.Path, OutFile: opts.Chart, }