fix(hydrator): pass destination.namespace to manifest rendering (#25478) (#25699)

Signed-off-by: Sean Liao <sean@liao.dev>
This commit is contained in:
Sean Liao
2026-01-16 06:39:10 +09:00
committed by GitHub
parent ef40ba8805
commit 6994a42fa9
3 changed files with 9 additions and 4 deletions

View File

@@ -255,9 +255,6 @@ func (m *appStateManager) GetRepoObjs(ctx context.Context, app *v1alpha1.Applica
appNamespace := app.Spec.Destination.Namespace
apiVersions := argo.APIResourcesToStrings(apiResources, true)
if !sendRuntimeState {
appNamespace = ""
}
updateRevisions := processManifestGeneratePathsEnabled &&
// updating revisions result is not required if automated sync is not enabled