Closed superseb closed 2 years ago
Would it make sense to convert the code in rancher/rancher into a Go module and pull it here to avoid duplication?
Yeah thought about that but it would mean a change in Rancher code as its not identical code currently, this also means we are blocked by Rancher to make changes. Also I think we will pull in too many dependencies if we depend on Rancher.
@PennyScissors @aiyengar2 Can you review to see if this is constructed correctly or if this needs a different approach/layout so I can work on getting it ready to merge
@aiyengar2 said this will be included in the next charts validation/testing tool
First attempt at checking if all images start with
rancher/
. This is to catch this issue as early as possible, most of the code was taken fromrancher/rancher
as the test also happens there. Seepkg/image
for the code inrancher/rancher
.I also added a
list-asset-images
command that I want to use to get the images from added assets in a PR and check if the images actually exist in DockerHub to avoid issues later in the Rancher release.Let me know if this needs to be done differently, or maybe added somewhere else.