tools/get_image_refs.py: regression on Rancher chart source artifact identification
@aseitz noticed the following (comment here):
I think the "improvement" in this MR causes a side effect in get_image_refs.py.
Previously, we used to parse helmreleases to detect source ref.
- with sylva 1.6, we were able to identify Rancher Helm Chart source_ref (it works well)
- with sylva 1.7 (and with ExternalArtifact), we can't anymore identify Rancher Helm Chart source_ref, maybe an idea could be to add an annotation and keep original source_ref so we can add a statement in
get_helm_artifactsto parse the annotation in case the source_ref kind is ExternalArtifact
Indeed, we need to adjust tools/get_image_refs.py to have it know about ExternalArtifact.