Files
Aleksei Sviridkin 82c09baca6 feat(argocd): support OCI Helm charts without explicit chart field (#39149)
* fix(argocd): support OCI Helm charts without explicit chart field

Add OCI registry detection for ArgoCD Applications that specify
Helm charts via oci:// URL without an explicit chart field.

Previously, any repoURL containing :// (including oci://) would
be treated as a git repository when the chart field was absent,
causing "Failed to look up git-tags package" errors.

The fix checks for oci:// prefix before falling back to git-tags
datasource, ensuring proper docker datasource usage for OCI registries.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>

* test(argocd): remove duplicate test for OCI without chart field

The test case is already covered by the 'full test' which includes
all fixtures from validApplication.yml, including the new OCI chart
without explicit chart field.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>

---------

Signed-off-by: Aleksei Sviridkin <f@lex.la>
Co-authored-by: Claude <noreply@anthropic.com>
2025-11-10 08:25:03 +00:00
..