Skip to content

Commit

Permalink
patch for ssa
Browse files Browse the repository at this point in the history
  • Loading branch information
avinashkatamreddy-sg authored and zhammer committed Jun 10, 2024
1 parent 2547abc commit 8b0cfd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controller/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ func (m *appStateManager) CompareAppState(app *v1alpha1.Application, project *v1
conditions = append(conditions, v1alpha1.ApplicationCondition{Type: v1alpha1.ApplicationConditionUnknownError, Message: err.Error(), LastTransitionTime: &now})
}
diffConfigBuilder.WithGVKParser(gvkParser)
diffConfigBuilder.WithManager(common.ArgoCDSSAManager)
diffConfigBuilder.WithManager(app.GetName() + "-" + app.GetNamespace())

diffConfigBuilder.WithServerSideDiff(serverSideDiff)

Expand Down
2 changes: 1 addition & 1 deletion controller/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ func (m *appStateManager) SyncAppState(app *v1alpha1.Application, state *v1alpha
sync.WithPrunePropagationPolicy(&prunePropagationPolicy),
sync.WithReplace(syncOp.SyncOptions.HasOption(common.SyncOptionReplace)),
sync.WithServerSideApply(syncOp.SyncOptions.HasOption(common.SyncOptionServerSideApply)),
sync.WithServerSideApplyManager(cdcommon.ArgoCDSSAManager),
sync.WithServerSideApplyManager(app.GetName() + "-" + app.GetNamespace()),
}

if syncOp.SyncOptions.HasOption("CreateNamespace=true") {
Expand Down

0 comments on commit 8b0cfd6

Please sign in to comment.