-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Closed
Copy link
Labels
bugSomething isn't workingSomething isn't workingcomponent:hydratorIssue related to the Source Hydrator and commit serverIssue related to the Source Hydrator and commit servertriage/pendingThis issue needs further triage to be correctly classifiedThis issue needs further triage to be correctly classified
Description
Checklist:
- I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
- I've included steps to reproduce the bug.
- I've pasted the output of
argocd version.
Describe the bug
With an argo application configured with sourceHydrator, new commits on the drySource are not trigger a refresh causing the hydration process not to trigger. A user would have to manually refresh the argocd App, then a hydration would start where a new commit on the hydrateTo branch would be seen.
To Reproduce
- Set
hydrator.enabled: 'true'in argocd-cmd-params-cm - Create an argocd Application point to a helm git repo with
sourceHydratorset
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: test-app-01-prod
namespace: argocd
labels:
app: test-app-01
spec:
project: default
sourceHydrator:
drySource:
repoURL: https://github.com/xxxxxx
targetRevision: HEAD
path: services/test-app-01
helm:
valueFiles:
- values-prod.yaml
releaseName: test-app-01
syncSource:
targetBranch: environments/prod
path: rendered
hydrateTo:
targetBranch: environments/prod-next
destination:
name: dev-prod
namespace: test-app-01
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true- make a new commit in the
drySourcebranch (main). - Wait 3 minutes, nothing happens
- Manually refresh the app, a hydration occurs
Expected behavior
Since the timeout.reconciliation is not modified, I would expect for the application to get auto refreshed within 3 minutes, this would trigger a hydration on the app. This should cause the hydrateTo branch to get updated.
Screenshots
Version
3.3.0-rc3
❯ argocd version
argocd: v3.3.0-rc3+51b595b
BuildDate: 2025-12-19T00:00:10Z
GitCommit: 51b595b1ee6b3bfc04ca0a648f94a7d69579faee
GitTreeState: clean
GoVersion: go1.25.3
Compiler: gc
Platform: darwin/arm64
argocd-server: v3.3.0-rc3+51b595b
BuildDate: 2025-12-19T00:00:10Z
GitCommit: 51b595b1ee6b3bfc04ca0a648f94a7d69579faee
GitTreeState: clean
GoVersion: go1.25.3
Compiler: gc
Platform: darwin/arm64
Kustomize Version: v5.6.0 2025-01-14T15:08:34Z
Helm Version: v3.19.0+g3d8990f
Kubectl Version: v0.34.0
Jsonnet Version: v0.21.0Logs
n/a
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcomponent:hydratorIssue related to the Source Hydrator and commit serverIssue related to the Source Hydrator and commit servertriage/pendingThis issue needs further triage to be correctly classifiedThis issue needs further triage to be correctly classified