Skip to content

Comments

Feat | Add support for Source Hydrator applications#350

Merged
dag-andersen merged 1 commit intomainfrom
support-source-hydrator
Feb 15, 2026
Merged

Feat | Add support for Source Hydrator applications#350
dag-andersen merged 1 commit intomainfrom
support-source-hydrator

Conversation

@dag-andersen
Copy link
Owner

Summary

  • Add support for ArgoCD's Source Hydrator feature by converting sourceHydrator applications to regular applications
  • Move spec.sourceHydrator.drySource to spec.source so manifests can be rendered directly without hydration infrastructure
  • Disable the hydrator in ArgoCD config to prevent push attempts to non-existent branches

Reference: https://argo-cd.readthedocs.io/en/stable/user-guide/source-hydrator/

Convert sourceHydrator applications to regular applications by moving
spec.sourceHydrator.drySource to spec.source. This allows argocd-diff-preview
to render manifests from the dry source directly without needing the
hydration infrastructure.

- Disable hydrator in ArgoCD config to prevent push attempts
- Call RedirectSourceHydrator before RedirectSources so converted
  applications get their targetRevision redirected properly
- Add comprehensive tests including Helm-specific drySource fields
@dag-andersen dag-andersen merged commit 6d09d7f into main Feb 15, 2026
3 checks passed
@dag-andersen dag-andersen deleted the support-source-hydrator branch February 15, 2026 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant