Skip to content

Commit f485c02

Browse files
authored
gitops addon ManagedClusterAddOn failure with ManagedClusterAddOnLeaseNotFound error, disable concurrent reconcile for ArgoCD pull model propagation controller (#125)
Signed-off-by: Xiangjing Li <[email protected]>
1 parent f8d354e commit f485c02

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

cmd/propagation/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ var options = PropagationCMDOptions{
5858
LeaderElectionLeaseDuration: 137 * time.Second,
5959
LeaderElectionRenewDeadline: 107 * time.Second,
6060
LeaderElectionRetryPeriod: 26 * time.Second,
61-
MaxConcurrentReconciles: 10,
61+
MaxConcurrentReconciles: 1,
6262
}
6363

6464
var (

gitopsaddon/addonTemplates/clusterManagementAddon.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ apiVersion: addon.open-cluster-management.io/v1alpha1
22
kind: ClusterManagementAddOn
33
metadata:
44
name: gitops-addon
5-
annotations:
6-
addon.open-cluster-management.io/lifecycle: "gitops-addon"
75
spec:
86
addOnMeta:
97
description: gitops-addon

0 commit comments

Comments
 (0)