You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DeploymentTemplate with empty parameters stays OutOfSync in Argo CD #13436
Re-syncing doesn't help: Argo CD re-applies parameters: {}, and the controller removes it again.
Cause: the live object's metadata.generation is 2 because the controller rewrites the spec when it adds its finalizer:
r.Client.Update in pkg/controller/reconciler/deploymenttemplate_reconciler.go (around line 326).
Parameters is a map[string]string with the tag json:"parameters,omitempty" in pkg/controller/api/radapp.io/v1alpha3/deploymenttemplate_types.go (line 30).
So the update serializes the empty map away.
Desired behavior
An applied DeploymentTemplate with no parameters shows Synced in Argo CD (and in any GitOps tool that compares desired and live state).
Possible fixes:
The generator leaves out parameters when it's empty.
The controller adds its finalizer with a patch instead of a full update.
Workaround
Either delete the parameters: {} line from the generated manifest, or add an ignoreDifferences entry for /spec/parameters to the Argo CD Application.
System information
rad Version
0.61.1
Operating system
macOS, Apple silicon (arm64); kind cluster
Additional context
Found while prototyping Argo CD support (design note in #13323).
Activity
radius-triage commentedon Oct 23, 2026
👋 @nithyatsu Thanks for filing this bug report.
A project maintainer will review this report and get back to you soon. If you'd like immediate help troubleshooting, please visit our Discord server.
For more information on our triage process please visit our triage overview