Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3 from gardener/skip-images
Browse files Browse the repository at this point in the history
skip images with no matching target versions
  • Loading branch information
robertgraeff authored Jan 18, 2022
2 parents 6be5d54 + 33e4646 commit b97d21c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/overwrite.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,8 @@ func (io *imageOverwrite) parseGenericImages(ctx context.Context, ca *cdv2.Compo
return nil, err
}
if len(entries) == 0 {
return nil, fmt.Errorf("no corresponding resource found for %s", image.Name)
io.log.V(1).Info("no image for target version found", "image", image.Name, "targetVersion", image.TargetVersion)
continue
}
images = append(images, entries...)
}
Expand Down

0 comments on commit b97d21c

Please sign in to comment.