Skip to content

Commit

Permalink
fix: set imageOpts ref to the correct value to ensure plugin charts c…
Browse files Browse the repository at this point in the history
…an be pulled when stored on a private registry
  • Loading branch information
ahmad-ibra committed Aug 1, 2024
1 parent 2bd4a57 commit 87adfc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/validatorconfig_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit 87adfc6

Please sign in to comment.