Commit Graph
157 Commits
Author SHA1 Message Date
Alexandre GaudreaultandGitHub 5f79c9a8bf fix(ssa): do not run auth reconcile with SSA (#26175) (#27601)
Signed-off-by: Alexandre Gaudreault <[email protected]>
2026-05-14 10:13:09 -04:00
Vilius PuskunalisandGitHub cccb5f931a feat: add sync overrun option to sync windows (#25361) (#25510)
Signed-off-by: Vilius Puškunalis <[email protected]>
2026-04-20 06:55:13 +00:00
Alexy ManthaandGitHub dd980721de feat: use impersonation for server operations (logs, delete, etc) #22996 (#26898)
Signed-off-by: Alexy Mantha <[email protected]>
2026-04-02 05:48:29 -04:00
Andy Lo-A-FoeandGitHub 43770a6fe7 fix: prevent panic on nil APIResource in permission validator (#26610)
Signed-off-by: Andy Lo-A-Foe <[email protected]>
2026-03-18 14:27:24 -04:00
Arthur Outhenin-ChalandreandGitHub 30f35b5ad4 feat: add Prune and Delete as application level sync option (#23370)
Signed-off-by: Arthur Outhenin-Chalandre <[email protected]>
2026-03-13 13:50:34 -04:00
Leonardo Luz AlmeidaandGitHub 3795f840c3 chore: fix gitops-engine mod name so it can be referenced by external repos (#26407)
Signed-off-by: Leonardo Luz Almeida <[email protected]>
2026-02-12 09:29:40 -05:00
7340eb5414 feat: PreDelete hooks support (Issue #13975) (#22288)
Signed-off-by: Dan Garfield <[email protected]>
Signed-off-by: Pedro Ribeiro <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Andrii Korotkov <[email protected]>
Co-authored-by: Dan Garfield <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrii Korotkov <[email protected]>
Co-authored-by: Ishita Sequeira <[email protected]>
Co-authored-by: pedro-ribeiro-rci <[email protected]>
Co-authored-by: Pedro Ribeiro <[email protected]>
Co-authored-by: Blake Pettersson <[email protected]>
Co-authored-by: Alexandre Gaudreault <[email protected]>
2025-12-05 20:27:03 +00:00
83a66413fa feat: allow limiting clusterResourceWhitelist by resource name (#12208) (#24674)
Signed-off-by: Michael Crenshaw <[email protected]>
Co-authored-by: Alexandre Gaudreault <[email protected]>
2025-12-03 20:55:28 +00:00
Blake PetterssonandGitHub 1c149ae478 fix: revert #24197 (#25294)
Signed-off-by: Blake Pettersson <[email protected]>
2025-11-17 11:21:44 -08:00
Nitish KumarandGitHub 7446c4f96b fix: respect ignore differences for individual array elements in CRDs (#24197)
Signed-off-by: nitishfy <[email protected]>
2025-09-15 10:28:13 -04:00
Alexandre GaudreaultandGitHub 0477d161e8 fix(sync): operations in errors without status cause infinite auto-sync loop (#23356)
Signed-off-by: Alexandre Gaudreault <[email protected]>
2025-07-16 10:39:30 -07:00
Alexandre GaudreaultandGitHub 7a3a1fd528 chore(refactor): project as SyncAppState parameter (#23629)
Signed-off-by: Alexandre Gaudreault <[email protected]>
2025-07-03 13:16:58 -04:00
Alexandre GaudreaultandGitHub af5b199e6a chore(refactor): remove redundant rollback argument (#23627)
Signed-off-by: Alexandre Gaudreault <[email protected]>
2025-07-02 18:32:31 -04:00
Alexandre GaudreaultandGitHub d723b8edd6 fix(sync): auto-sync loop when FailOnSharedResource (#23357) (#23641)
Signed-off-by: Alexandre Gaudreault <[email protected]>
2025-07-02 15:00:57 -04:00
Alexandre GaudreaultandGitHub 57707f0cfb fix(tests): race condition creating the sync id (#23460)
Signed-off-by: Alexandre Gaudreault <[email protected]>
2025-06-22 22:39:49 -04:00
Michael CrenshawandGitHub 0a62a0e562 fix(controller): impersonation with destination name (#23309) (#23504)
Signed-off-by: Michael Crenshaw <[email protected]>
2025-06-22 21:32:19 -04:00
Alexandre GaudreaultandGitHub 8b69aa71ad fix(tests): race condition creating the sync id (#23481)
Signed-off-by: Alexandre Gaudreault <[email protected]>
2025-06-18 20:37:57 +00:00
Peter JiangandGitHub a56442d954 feat: add SSA field manager migration options (#23337)
Signed-off-by: Peter Jiang <[email protected]>
Signed-off-by: Peter Jiang <[email protected]>
2025-06-13 21:58:07 +00:00
Aaron HoffmanandGitHub d7a4b74085 feat: Add images to resources in sync result #20896 (#20954)
Signed-off-by: Aaron Hoffman <[email protected]>
2025-05-27 19:58:28 +00:00
dhawosandGitHub cc4615ad43 chore(logs): standardize application logging (#20731) (#21442)
Signed-off-by: Louis Gérard <[email protected]>
2025-05-20 15:48:09 -04:00
Michael CrenshawandGitHub 3849be9cb3 chore(refactor): initialize slice to exact length (#22981)
Signed-off-by: Michael Crenshaw <[email protected]>
2025-05-15 06:26:34 -07:00
020649d764 fix: settings request doesn't return default tracking method (#22965)
Signed-off-by: oleksandr-codefresh <[email protected]>
Co-authored-by: Regina Voloshin <[email protected]>
2025-05-15 11:26:47 +03:00
bd6bb1e821 feat: Enable SkipDryRunOnMissingResource sync option on Application level (#22679)
Co-authored-by: pasha <[email protected]>
2025-04-20 14:54:38 +03:00
Michael CrenshawGitHubrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
7caee1cfbb chore(ci): upgrade golangci-lint to v2 (#22484)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Michael Crenshaw <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-27 12:37:52 -04:00
Andrii KorotkovandGitHub 887e6fccba fix: New kube applier for server side diff dry run with refactoring (#21488) (#21749)
Signed-off-by: Andrii Korotkov <[email protected]>
2025-02-07 12:26:03 -05:00
Michael CrenshawandGitHub e0f3b47846 chore(refactor): remove app destination inferrence logic (#21189)
* refactor: remove app destination inferrence logic

Signed-off-by: Michael Crenshaw <[email protected]>

* simplify

Signed-off-by: Michael Crenshaw <[email protected]>

* more fixes

Signed-off-by: Michael Crenshaw <[email protected]>

* more fixes

Signed-off-by: Michael Crenshaw <[email protected]>

* codegen

Signed-off-by: Michael Crenshaw <[email protected]>

* fix mocks

Signed-off-by: Michael Crenshaw <[email protected]>

* simplify

Signed-off-by: Michael Crenshaw <[email protected]>

* clusters all the way down

Signed-off-by: Michael Crenshaw <[email protected]>

* simplify

Signed-off-by: Michael Crenshaw <[email protected]>

* test

Signed-off-by: Michael Crenshaw <[email protected]>

* lint

Signed-off-by: Michael Crenshaw <[email protected]>

* tidy

Signed-off-by: Michael Crenshaw <[email protected]>

* be less radical

Signed-off-by: Michael Crenshaw <[email protected]>

---------

Signed-off-by: Michael Crenshaw <[email protected]>
2025-01-13 13:15:42 -05:00
8334da36f2 Bump major version to 3 (#21410)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: crenshaw-dev <[email protected]>
2025-01-10 16:14:00 -05:00
Matthieu MORELandGitHub 064b5ae081 chore: enable indent-error-flow from revive (#21394)
Signed-off-by: Matthieu MOREL <[email protected]>
2025-01-07 10:25:22 -05:00
Matthieu MORELandGitHub eec6f8526a chore: enable unused-parameter from revive (#21365)
* chore: enable unused-parameter from revive

Signed-off-by: Matthieu MOREL <[email protected]>

* apply recommandations

Signed-off-by: Matthieu MOREL <[email protected]>

---------

Signed-off-by: Matthieu MOREL <[email protected]>
2025-01-07 10:12:56 -05:00
Matthieu MORELandGitHub 3e3bcf0246 chore: enable context-as-argument from revive (#21371)
Signed-off-by: Matthieu MOREL <[email protected]>
2025-01-07 10:08:51 -05:00
Matthieu MORELandGitHub 75e3d10f27 chore: enable var-declaration from revive (#21370)
Signed-off-by: Matthieu MOREL <[email protected]>
2025-01-03 18:44:23 -05:00
Matthieu MORELandGitHub 7a212a833c chore: enable use-any from revive (#21282)
Signed-off-by: Matthieu MOREL <[email protected]>
2025-01-02 18:26:59 -05:00
Matthieu MORELandGitHub 6a8208c4ca chore: enable importas for k8s.io/apimachinery/pkg/apis/meta/v1 (#21284)
Signed-off-by: Matthieu MOREL <[email protected]>
2024-12-31 10:34:11 +02:00
Matthieu MORELandGitHub c85bb38a83 chore: enable errorf of perfsprint linter (#21280)
Signed-off-by: Matthieu MOREL <[email protected]>
2024-12-30 10:56:41 +02:00
Matthieu MORELandGitHub 4156151f8f chore: enable err-error and strconcat of perfsprint linter (#21267)
Signed-off-by: Matthieu MOREL <[email protected]>
2024-12-20 16:22:28 +00:00
Alexander MatyushentsevandGitHub 8b6ffe3c02 feat: application resource deletion protection (#20497)
Signed-off-by: Alexander Matyushentsev <[email protected]>
2024-10-24 00:08:24 -07:00
Kunho LeeandGitHub e0c6797ffd fix: check err before use schedule and duration (#20043)
* fix: check err before use schedule and duration

Signed-off-by: daengdaengLee <[email protected]>

* test: add tests for invalid schedule and duration

Signed-off-by: daengdaengLee <[email protected]>

* feat: change to return error when sync window is invalid

Signed-off-by: daengdaengLee <[email protected]>

* fix: use assert.Error or assert.NoError

Signed-off-by: daengdaengLee <[email protected]>

* fix: use require instead of assert

Signed-off-by: daengdaengLee <[email protected]>

---------

Signed-off-by: daengdaengLee <[email protected]>
2024-10-12 13:32:46 -04:00
ABBOUD MoncefandGitHub 590263c8d2 fix: handle incorrect cluster RESTconfig without panic (#20150)
Signed-off-by: cef <[email protected]>
2024-10-06 17:55:26 +03:00
Alexander MatyushentsevandGitHub bd895ce9c9 fix: support managing cluster with multiple argocd instances and annotation based tracking (#20222)
Signed-off-by: Alexander Matyushentsev <[email protected]>
2024-10-04 17:54:37 -07:00
Anand Francis JosephandGitHub 0931a86aa4 chore: Added unit tests and fix e2e tests for application sync decoupling feature (#19966)
* fixed doc comments and added unit tests

Signed-off-by: anandf <[email protected]>

* Added comments for the newly added unit tests

Signed-off-by: anandf <[email protected]>

* Refactored method name to deriveServiceAccountToImpersonate

Signed-off-by: anandf <[email protected]>

* Using const name in return value

Signed-off-by: anandf <[email protected]>

* Added unit tests for argocd proj add-destination-service-accounts

Signed-off-by: anandf <[email protected]>

* Fixed failing e2e tests

Signed-off-by: anandf <[email protected]>

* Fix linting errors

Signed-off-by: anandf <[email protected]>

* Using require package instead of assert and fixed code generation

Signed-off-by: anandf <[email protected]>

* Removed parallel execution of tests for sync with impersonate

Signed-off-by: anandf <[email protected]>

* Added err checks for glob validations

Signed-off-by: anandf <[email protected]>

* Fixed e2e tests for sync impersonation

Signed-off-by: anandf <[email protected]>

* Using consistently based expects in E2E tests

Signed-off-by: anandf <[email protected]>

* Added more unit tests and fixed go generate

Signed-off-by: anandf <[email protected]>

* Fixed failed lint errors, unit and e2e test failures

Signed-off-by: anandf <[email protected]>

* Fixed goimports linter issue

Signed-off-by: anandf <[email protected]>

* Added code comments and added few missing unit tests

Signed-off-by: anandf <[email protected]>

* Added missing unit test for GetDestinationServiceAccounts method

Signed-off-by: anandf <[email protected]>

* Fixed goimports formatting with local for project_test.go

Signed-off-by: anandf <[email protected]>

* Corrected typo in a field name additionalObjs

Signed-off-by: anandf <[email protected]>

* Fixed failing unit tests

Signed-off-by: anandf <[email protected]>

---------

Signed-off-by: anandf <[email protected]>
2024-10-03 07:37:50 -07:00
afc53cc903 feat: Decoupling application sync using impersonation (#17403)
* Implementation of app sync with impersonation support

Signed-off-by: anandf <[email protected]>

* negation test

Signed-off-by: Mangaal <[email protected]>

* Update doc comments to remove server name as its not supported.

Co-authored-by: Ishita Sequeira <[email protected]>
Signed-off-by: Anand Francis Joseph <[email protected]>

* Update glob pattern check for matching destinations.

Co-authored-by: Ishita Sequeira <[email protected]>
Signed-off-by: Anand Francis Joseph <[email protected]>

* Corrected the code comments for namespace field and destination matching logic

Signed-off-by: anandf <[email protected]>

* Added missing generated files

Signed-off-by: anandf <[email protected]>

* Fixed golint errors caused due to to gofumpt validations

Signed-off-by: anandf <[email protected]>

* Fix golint errors with unit test code

Signed-off-by: anandf <[email protected]>

* Updated the go import ordering with local packages at the end

Signed-off-by: anandf <[email protected]>

* Addressed review comments

Signed-off-by: anandf <[email protected]>

* Fixed ES lint error caused due to missing class

Signed-off-by: anandf <[email protected]>

* Updated the documentation to address the review comments

Signed-off-by: anandf <[email protected]>

* Simplified the sync code and improved logs and error handling

Signed-off-by: anandf <[email protected]>

* Fixed E2E tests to fail when no sa is configured

Signed-off-by: anandf <[email protected]>

* Updated help message generated for CLI commands

Signed-off-by: anandf <[email protected]>

* Fixed failing tests due to default service account not used for sync operation

Signed-off-by: anandf <[email protected]>

* Fixed the error message when sync fails due to no matching sa

Signed-off-by: anandf <[email protected]>

* Removed repeating logs and added impersonation fields to logger

Signed-off-by: anandf <[email protected]>

* Made changes in the proposal to match the behaviour when no matching sa is found

Signed-off-by: Anand Francis Joseph <[email protected]>

---------

Signed-off-by: anandf <[email protected]>
Signed-off-by: Mangaal <[email protected]>
Signed-off-by: Anand Francis Joseph <[email protected]>
Signed-off-by: Anand Francis Joseph <[email protected]>
Co-authored-by: Mangaal <[email protected]>
Co-authored-by: Ishita Sequeira <[email protected]>
2024-09-04 14:18:47 -04:00
Michael CrenshawandGitHub e6877a6bc2 chore: remove unused params (#19473)
* chore: remove unused params

Signed-off-by: Michael Crenshaw <[email protected]>

* more

Signed-off-by: Michael Crenshaw <[email protected]>

---------

Signed-off-by: Michael Crenshaw <[email protected]>
2024-08-15 07:29:51 -04:00
Matthieu MORELandGitHub 417ff7b19e chore: enable gofumpt and whitespace linters (#18567)
Signed-off-by: Matthieu MOREL <[email protected]>
2024-06-11 15:41:55 +00:00
1796b8821e feat(application-controller): Add support for rollback multi-source applications (#14124)
* feat(application-controller): Add support for rollback multi-source applications

Signed-off-by: Jorge Turrado <[email protected]>

* regenerate codegen after rebase

Signed-off-by: Jorge Turrado <[email protected]>

* fix tests

Signed-off-by: Jorge Turrado <[email protected]>

* fix front linting

Signed-off-by: Jorge Turrado <[email protected]>

* update test

Signed-off-by: Jorge Turrado <[email protected]>

* update codegen

Signed-off-by: Jorge Turrado <[email protected]>

* Update server/application/application.go

Co-authored-by: Ishita Sequeira <[email protected]>
Signed-off-by: Jorge Turrado Ferrero <[email protected]>

* apply feedback

Signed-off-by: Jorge Turrado <[email protected]>

* fix errors

Signed-off-by: Jorge Turrado <[email protected]>

* add support for switching between single and multi

Signed-off-by: Jorge Turrado <[email protected]>

* fix dereference issue

Signed-off-by: Jorge Turrado <[email protected]>

* remove unnecesary code

Signed-off-by: Jorge Turrado <[email protected]>

* Rebase master

Signed-off-by: Jorge Turrado <[email protected]>

* fix style

Signed-off-by: Jorge Turrado <[email protected]>

* fix reference

Signed-off-by: Jorge Turrado <[email protected]>

* add a comment

Signed-off-by: Jorge Turrado <[email protected]>

---------

Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado Ferrero <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Co-authored-by: Ishita Sequeira <[email protected]>
2024-06-10 17:54:07 -04:00
Matthieu MORELandGitHub eb14360d0b chore: enable goimports linter (#18564)
Signed-off-by: Matthieu MOREL <[email protected]>
2024-06-10 09:18:12 -04:00
9f667f77de fix: fix calculating patch for respect ignore diff feature (#17693)
* test: unit test for respectIgnoreDifferences bug

Signed-off-by: Jesse Suen <[email protected]>

* test: simplify unit test

Signed-off-by: Jesse Suen <[email protected]>

* fix: fix calculating patch for respect ignore diff feature

Signed-off-by: Alexander Matyushentsev <[email protected]>

---------

Signed-off-by: Jesse Suen <[email protected]>
Signed-off-by: Alexander Matyushentsev <[email protected]>
Co-authored-by: Jesse Suen <[email protected]>
2024-04-03 22:56:59 +00:00
812473cf92 fix: Appcontroller respects sync windows (#16492)
* fix: Appcontroller keeps op running when denied by sync window

Signed-off-by: Charles Coupal-Jetté <[email protected]>

* fix: Update test name

Signed-off-by: Charles Coupal-Jetté <[email protected]>

---------

Signed-off-by: Charles Coupal-Jetté <[email protected]>
Co-authored-by: Blake Pettersson <[email protected]>
2024-03-26 08:45:35 -04:00
Sorav Kumar SharmaandGitHub b64559d732 fix the typo (#17116) 2024-02-07 18:32:07 +05:30
Robin LiebandGitHub 085bff8651 feat: add initiated by in history and rollback view (#16654)
Signed-off-by: Robin Lieb <[email protected]>
2023-12-22 16:50:33 +00:00
Leonardo Luz AlmeidaandGitHub 1946addd6f feat: Implement Server-Side Diff (#13663)
* feat: Implement Server-Side Diff

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* propagate the refreshtype to the diff config

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Create the serverSideDiff config

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* chore: add featureflag utility package

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* remove featureflag package

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* add param

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* make ssd configurable with app annotation

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* add server-side-diff flags

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* apply the same logic regardless of the refresh type

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* fix gitops-engine reference

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* address review comments

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Address review comments

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* docs: add docs related to server-side-diff

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* docs: update doc

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Add config to include mutation webhooks

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Address review comments

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* go mod update

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Add sdd cache test case

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* fix ssd cache unit test

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Update clidocs

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* update manifests

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Fix procfile

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* additional doc changes

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* update gitops-engine version

Signed-off-by: Leonardo Luz Almeida <[email protected]>

---------

Signed-off-by: Leonardo Luz Almeida <[email protected]>
2023-12-18 20:37:13 +00:00