Add a --why
to zarf dev find-images
to show the chart and resource that generated the image reference
#2272
Labels
enhancement ✨
New feature or request
Is your feature request related to a problem? Please describe.
As Ezra I want a way to find out how Zarf came to find an image reference so that I can more easily track down where this reference came from in my manifests or helm charts.
Describe the solution you'd like
zarf.yaml
that returns images fromzarf dev find-images
zarf dev find-images <path-to-zarf-yaml> --why <image-ref>
i.e.
should return:
component: baseline
manifest: multi-games
resource:
Describe alternatives you've considered
We could try to dig into the values files ourselves but this would only work for charts and may not be useful in all cases (it also assumes the images are not hardcoded)
Additional context
Zarf should do its best to highlight the image reference in the templated manifest by changing its color or bolding it.
The text was updated successfully, but these errors were encountered: