Skip to content

Commit

Permalink
fix(vi): hide dvcr url in pvc stored vi (#488)
Browse files Browse the repository at this point in the history
Do not show DVCR URL in PVC stored VirtualImage in status.

Signed-off-by: Valeriy Khorunzhin <[email protected]>
  • Loading branch information
eofff authored Oct 30, 2024
1 parent 7efe3d9 commit 85396ba
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ func (ds UploadDataSource) StoreToPVC(ctx context.Context, vi *virtv2.VirtualIma
condition.Reason = vicondition.WaitForUserUpload
condition.Message = "Waiting for the user upload."

vi.Status.Target.RegistryURL = ds.statService.GetDVCRImageName(pod)
vi.Status.ImageUploadURLs = &virtv2.ImageUploadURLs{
External: ds.uploaderService.GetExternalURL(ctx, ing),
InCluster: ds.uploaderService.GetInClusterURL(ctx, svc),
Expand Down

0 comments on commit 85396ba

Please sign in to comment.