Skip to content

Commit 1d513a0

Browse files
committed
Merge pull request 'clean: remove the unnecessary code which was supposed to be removed in previous PR' (#252) from sync-apps/remove-logic-to-update-argocd-at-last into main
Reviewed-on: https://gitea.obmondo.com/EnableIT/kubeaid-bootstrap-script/pulls/252
2 parents 77af5c9 + f670e55 commit 1d513a0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

pkg/utils/kubernetes/argo.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -235,17 +235,9 @@ func SyncAllArgoCDApps(ctx context.Context) {
235235
assert.AssertErrNil(ctx, err, "Failed listing ArgoCD apps")
236236

237237
for _, item := range response.Items {
238-
// Skip syncing argocd ArgoCD app while syncing other ArgoCD apps.
239-
if item.Name == constants.ArgoCDAppArgoCD {
240-
continue
241-
}
242-
243238
SyncArgoCDApp(ctx, item.Name, []*argoCDV1Aplha1.SyncOperationResource{})
244239
}
245240
}
246-
247-
// Lastly, sync the argocd ArgoCD app.
248-
SyncArgoCDApp(ctx, constants.ArgoCDAppArgoCD, []*argoCDV1Aplha1.SyncOperationResource{})
249241
}
250242

251243
// Syncs the ArgoCD App (if not synced already).

0 commit comments

Comments
 (0)