Leonardo Luz Almeida
0cdd44bda7
chore: fix gitops-engine mod name so it can be referenced by external repos ( #26407 )
...
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
2026-02-12 09:29:40 -05:00
pedro-cs-ribeiro
3bf3d8a212
feat: PreDelete hooks support (Issue #13975 ) ( #22288 )
...
Signed-off-by: Dan Garfield <dan@codefresh.io >
Signed-off-by: Pedro Ribeiro <pedro.ribeiro@cross-join.com >
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com >
Co-authored-by: Dan Garfield <dan@codefresh.io >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrii Korotkov <137232734+andrii-korotkov-verkada@users.noreply.github.com >
Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com >
Co-authored-by: pedro-ribeiro-rci <pedro.ribeiro@rci.rogers.ca >
Co-authored-by: Pedro Ribeiro <pedro.ribeiro@cross-join.com >
Co-authored-by: Blake Pettersson <blake.pettersson@gmail.com >
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2025-12-05 20:27:03 +00:00
Michael Crenshaw
e77acec858
feat: allow limiting clusterResourceWhitelist by resource name ( #12208 ) ( #24674 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2025-12-03 20:55:28 +00:00
Blake Pettersson
5444415c86
fix: revert #24197 ( #25294 )
...
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
2025-11-17 11:21:44 -08:00
Nitish Kumar
22d3ef0ef6
fix: respect ignore differences for individual array elements in CRDs ( #24197 )
...
Signed-off-by: nitishfy <justnitish06@gmail.com >
2025-09-15 10:28:13 -04:00
Alexandre Gaudreault
9dfa9db097
fix(sync): operations in errors without status cause infinite auto-sync loop ( #23356 )
...
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2025-07-16 10:39:30 -07:00
Alexandre Gaudreault
3b1ac4b22d
chore(refactor): project as SyncAppState parameter ( #23629 )
...
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2025-07-03 13:16:58 -04:00
Alexandre Gaudreault
5ca752429e
chore(refactor): remove redundant rollback argument ( #23627 )
...
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2025-07-02 18:32:31 -04:00
Alexandre Gaudreault
1fbd63d095
fix(sync): auto-sync loop when FailOnSharedResource ( #23357 ) ( #23641 )
...
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2025-07-02 15:00:57 -04:00
Alexandre Gaudreault
c880373aae
fix(tests): race condition creating the sync id ( #23460 )
...
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2025-06-22 22:39:49 -04:00
Michael Crenshaw
83d553ca51
fix(controller): impersonation with destination name ( #23309 ) ( #23504 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-06-22 21:32:19 -04:00
Alexandre Gaudreault
1d09c8c8a1
fix(tests): race condition creating the sync id ( #23481 )
...
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2025-06-18 20:37:57 +00:00
Peter Jiang
dc1d148a5d
feat: add SSA field manager migration options ( #23337 )
...
Signed-off-by: Peter Jiang <peterjiang823@gmail.com >
Signed-off-by: Peter Jiang <35584807+pjiang-dev@users.noreply.github.com >
2025-06-13 21:58:07 +00:00
Aaron Hoffman
18ce5c271f
feat: Add images to resources in sync result #20896 ( #20954 )
...
Signed-off-by: Aaron Hoffman <31711338+Aaron-9900@users.noreply.github.com >
2025-05-27 19:58:28 +00:00
dhawos
7d58ca3ef7
chore(logs): standardize application logging ( #20731 ) ( #21442 )
...
Signed-off-by: Louis Gérard <louis.gerard.pro@proton.me >
2025-05-20 15:48:09 -04:00
Michael Crenshaw
8398380d46
chore(refactor): initialize slice to exact length ( #22981 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-05-15 06:26:34 -07:00
Oleksandr Saulyak
be3efbd98f
fix: settings request doesn't return default tracking method ( #22965 )
...
Signed-off-by: oleksandr-codefresh <oleksandr.saulyak@octopus.com >
Co-authored-by: Regina Voloshin <regina.voloshin@codefresh.io >
2025-05-15 11:26:47 +03:00
Pasha Kostohrys
2bd2488989
feat: Enable SkipDryRunOnMissingResource sync option on Application level ( #22679 )
...
Co-authored-by: pasha <pasha.k@fyxt.com >
2025-04-20 14:54:38 +03:00
Michael Crenshaw
0ec46f6857
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 <350466+crenshaw-dev@users.noreply.github.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-27 12:37:52 -04:00
Andrii Korotkov
5b79c34c72
fix: New kube applier for server side diff dry run with refactoring ( #21488 ) ( #21749 )
...
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com >
2025-02-07 12:26:03 -05:00
Michael Crenshaw
bd37458896
chore(refactor): remove app destination inferrence logic ( #21189 )
...
* refactor: remove app destination inferrence logic
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* simplify
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* more fixes
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* more fixes
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* codegen
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* fix mocks
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* simplify
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* clusters all the way down
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* simplify
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* test
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* lint
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* tidy
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* be less radical
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-01-13 13:15:42 -05:00
github-actions[bot]
4d9835927d
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 <350466+crenshaw-dev@users.noreply.github.com >
2025-01-10 16:14:00 -05:00
Matthieu MOREL
947a7b84d7
chore: enable indent-error-flow from revive ( #21394 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-07 10:25:22 -05:00
Matthieu MOREL
53bc19b5f2
chore: enable unused-parameter from revive ( #21365 )
...
* chore: enable unused-parameter from revive
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* apply recommandations
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
---------
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-07 10:12:56 -05:00
Matthieu MOREL
b04a7c101d
chore: enable context-as-argument from revive ( #21371 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-07 10:08:51 -05:00
Matthieu MOREL
e66068c11b
chore: enable var-declaration from revive ( #21370 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-03 18:44:23 -05:00
Matthieu MOREL
9ea979bbcd
chore: enable use-any from revive ( #21282 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-02 18:26:59 -05:00
Matthieu MOREL
812650847c
chore: enable importas for k8s.io/apimachinery/pkg/apis/meta/v1 ( #21284 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-12-31 10:34:11 +02:00
Matthieu MOREL
8a6f53d044
chore: enable errorf of perfsprint linter ( #21280 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-12-30 10:56:41 +02:00
Matthieu MOREL
f245e8beb5
chore: enable err-error and strconcat of perfsprint linter ( #21267 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-12-20 16:22:28 +00:00
Alexander Matyushentsev
7c9bd2d2d3
feat: application resource deletion protection ( #20497 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2024-10-24 00:08:24 -07:00
Kunho Lee
9b11b21f00
fix: check err before use schedule and duration ( #20043 )
...
* fix: check err before use schedule and duration
Signed-off-by: daengdaengLee <gunho1020@gmail.com >
* test: add tests for invalid schedule and duration
Signed-off-by: daengdaengLee <gunho1020@gmail.com >
* feat: change to return error when sync window is invalid
Signed-off-by: daengdaengLee <gunho1020@gmail.com >
* fix: use assert.Error or assert.NoError
Signed-off-by: daengdaengLee <gunho1020@gmail.com >
* fix: use require instead of assert
Signed-off-by: daengdaengLee <gunho1020@gmail.com >
---------
Signed-off-by: daengdaengLee <gunho1020@gmail.com >
2024-10-12 13:32:46 -04:00
ABBOUD Moncef
fe7771cc83
fix: handle incorrect cluster RESTconfig without panic ( #20150 )
...
Signed-off-by: cef <moncef.abboud95@gmail.com >
2024-10-06 17:55:26 +03:00
Alexander Matyushentsev
03a16099b0
fix: support managing cluster with multiple argocd instances and annotation based tracking ( #20222 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2024-10-04 17:54:37 -07:00
Anand Francis Joseph
5f8de971c6
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 <anjoseph@redhat.com >
* Added comments for the newly added unit tests
Signed-off-by: anandf <anjoseph@redhat.com >
* Refactored method name to deriveServiceAccountToImpersonate
Signed-off-by: anandf <anjoseph@redhat.com >
* Using const name in return value
Signed-off-by: anandf <anjoseph@redhat.com >
* Added unit tests for argocd proj add-destination-service-accounts
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed failing e2e tests
Signed-off-by: anandf <anjoseph@redhat.com >
* Fix linting errors
Signed-off-by: anandf <anjoseph@redhat.com >
* Using require package instead of assert and fixed code generation
Signed-off-by: anandf <anjoseph@redhat.com >
* Removed parallel execution of tests for sync with impersonate
Signed-off-by: anandf <anjoseph@redhat.com >
* Added err checks for glob validations
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed e2e tests for sync impersonation
Signed-off-by: anandf <anjoseph@redhat.com >
* Using consistently based expects in E2E tests
Signed-off-by: anandf <anjoseph@redhat.com >
* Added more unit tests and fixed go generate
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed failed lint errors, unit and e2e test failures
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed goimports linter issue
Signed-off-by: anandf <anjoseph@redhat.com >
* Added code comments and added few missing unit tests
Signed-off-by: anandf <anjoseph@redhat.com >
* Added missing unit test for GetDestinationServiceAccounts method
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed goimports formatting with local for project_test.go
Signed-off-by: anandf <anjoseph@redhat.com >
* Corrected typo in a field name additionalObjs
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed failing unit tests
Signed-off-by: anandf <anjoseph@redhat.com >
---------
Signed-off-by: anandf <anjoseph@redhat.com >
2024-10-03 07:37:50 -07:00
Anand Francis Joseph
1028808bb7
feat: Decoupling application sync using impersonation ( #17403 )
...
* Implementation of app sync with impersonation support
Signed-off-by: anandf <anjoseph@redhat.com >
* negation test
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com >
* Update doc comments to remove server name as its not supported.
Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com >
Signed-off-by: Anand Francis Joseph <anandfrancis.joseph@gmail.com >
* Update glob pattern check for matching destinations.
Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com >
Signed-off-by: Anand Francis Joseph <anandfrancis.joseph@gmail.com >
* Corrected the code comments for namespace field and destination matching logic
Signed-off-by: anandf <anjoseph@redhat.com >
* Added missing generated files
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed golint errors caused due to to gofumpt validations
Signed-off-by: anandf <anjoseph@redhat.com >
* Fix golint errors with unit test code
Signed-off-by: anandf <anjoseph@redhat.com >
* Updated the go import ordering with local packages at the end
Signed-off-by: anandf <anjoseph@redhat.com >
* Addressed review comments
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed ES lint error caused due to missing class
Signed-off-by: anandf <anjoseph@redhat.com >
* Updated the documentation to address the review comments
Signed-off-by: anandf <anjoseph@redhat.com >
* Simplified the sync code and improved logs and error handling
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed E2E tests to fail when no sa is configured
Signed-off-by: anandf <anjoseph@redhat.com >
* Updated help message generated for CLI commands
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed failing tests due to default service account not used for sync operation
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed the error message when sync fails due to no matching sa
Signed-off-by: anandf <anjoseph@redhat.com >
* Removed repeating logs and added impersonation fields to logger
Signed-off-by: anandf <anjoseph@redhat.com >
* Made changes in the proposal to match the behaviour when no matching sa is found
Signed-off-by: Anand Francis Joseph <anjoseph@redhat.com >
---------
Signed-off-by: anandf <anjoseph@redhat.com >
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com >
Signed-off-by: Anand Francis Joseph <anandfrancis.joseph@gmail.com >
Signed-off-by: Anand Francis Joseph <anjoseph@redhat.com >
Co-authored-by: Mangaal <angommeeteimangaal@gmail.com >
Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com >
2024-09-04 14:18:47 -04:00
Michael Crenshaw
6aa4de62c8
chore: remove unused params ( #19473 )
...
* chore: remove unused params
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* more
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2024-08-15 07:29:51 -04:00
Matthieu MOREL
7cf5ed06d4
chore: enable gofumpt and whitespace linters ( #18567 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-11 15:41:55 +00:00
Jorge Turrado Ferrero
0e531c956e
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 <jorge_turrado@hotmail.es >
* regenerate codegen after rebase
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* fix tests
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* fix front linting
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* update test
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* update codegen
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* Update server/application/application.go
Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com >
Signed-off-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es >
* apply feedback
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* fix errors
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* add support for switching between single and multi
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* fix dereference issue
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* remove unnecesary code
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* Rebase master
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl >
* fix style
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* fix reference
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* add a comment
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl >
---------
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
Signed-off-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es >
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl >
Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com >
2024-06-10 17:54:07 -04:00
Matthieu MOREL
33df2ce698
chore: enable goimports linter ( #18564 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-10 09:18:12 -04:00
Alexander Matyushentsev
44da2063c7
fix: fix calculating patch for respect ignore diff feature ( #17693 )
...
* test: unit test for respectIgnoreDifferences bug
Signed-off-by: Jesse Suen <jesse@akuity.io >
* test: simplify unit test
Signed-off-by: Jesse Suen <jesse@akuity.io >
* fix: fix calculating patch for respect ignore diff feature
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
---------
Signed-off-by: Jesse Suen <jesse@akuity.io >
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
Co-authored-by: Jesse Suen <jesse@akuity.io >
2024-04-03 22:56:59 +00:00
Charles Coupal-Jetté
295dff6a38
fix: Appcontroller respects sync windows ( #16492 )
...
* fix: Appcontroller keeps op running when denied by sync window
Signed-off-by: Charles Coupal-Jetté <charles.coupaljette@goto.com >
* fix: Update test name
Signed-off-by: Charles Coupal-Jetté <charles.coupaljette@goto.com >
---------
Signed-off-by: Charles Coupal-Jetté <charles.coupaljette@goto.com >
Co-authored-by: Blake Pettersson <blake.pettersson@gmail.com >
2024-03-26 08:45:35 -04:00
Sorav Kumar Sharma
93a668ac09
fix the typo ( #17116 )
2024-02-07 18:32:07 +05:30
Robin Lieb
0e67ed89ac
feat: add initiated by in history and rollback view ( #16654 )
...
Signed-off-by: Robin Lieb <robin.j.lieb@gmail.com >
2023-12-22 16:50:33 +00:00
Leonardo Luz Almeida
82ca7a7f9c
feat: Implement Server-Side Diff ( #13663 )
...
* feat: Implement Server-Side Diff
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* propagate the refreshtype to the diff config
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* Create the serverSideDiff config
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* chore: add featureflag utility package
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* remove featureflag package
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* add param
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* make ssd configurable with app annotation
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* add server-side-diff flags
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* apply the same logic regardless of the refresh type
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* fix gitops-engine reference
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* address review comments
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* Address review comments
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* docs: add docs related to server-side-diff
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* docs: update doc
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* Add config to include mutation webhooks
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* Address review comments
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* go mod update
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* Add sdd cache test case
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* fix ssd cache unit test
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* Update clidocs
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* update manifests
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* Fix procfile
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* additional doc changes
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
* update gitops-engine version
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
---------
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
2023-12-18 20:37:13 +00:00
Alexander Matyushentsev
dcc17f70bf
feat: PostDelete hook support ( #16595 )
...
* feat: PostDelete hooks support
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
---------
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2023-12-18 08:40:23 -08:00
gdsoumya
be2a01c231
feat: grace period for repo errors to prevent aggressive unknown sync state ( #16085 )
...
* feat: added grace period for repo errors to prevent aggressive sync state unknowns
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com >
* feat: updated docs
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com >
* fix: e2e test
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com >
* feat: resolved review comments
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com >
* feat: update unit test
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com >
* fix: codegen
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com >
---------
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com >
Signed-off-by: gdsoumya <44349253+gdsoumya@users.noreply.github.com >
2023-11-02 11:51:16 -04:00
Blake Pettersson
aed1be6388
fix: update managed namespace metadata ( #13074 )
...
* fix: update managed namespace metadata
This commit fixes an issue where a namespace does not get updated
unless a sync is performed. Since the `managedNamespaceMetadata` is not
a part of the Application Git state, we need a way to force a sync once
the metadata has changed. In order to do that, we need to add state
to compare with.
Once a sync is performed, the `ManagedNamespaceMetadata` gets copied
to `SyncResult`, which will then be compared with on subsequent syncs.
If there's a mismatch between
`app.Spec.SyncPolicy.ManagedNamespaceMetadata` and
`app.Status.OperationState.SyncResult.ManagedNamespaceMetadata` we mark
the Application as `OutOfSync`.
Fixes #12661 .
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* fix: nil check
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* fix: allow empty apps to be updated
If an app is empty but still differs in terms of
`managedNamespaceMetadata`, it should still be kept up to date.
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* test: add unit tests in appcontroller
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* fix: rebase
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* refactor: extract method
Consolidate checks to `app.HasChangedManagedNamespaceMetadata()`
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* chore: make codegen
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
---------
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
2023-05-19 09:55:08 -04:00
asingh
696631e69c
fix: Add more context to the sync failed message when resource kind doesn't exist ( #12980 )
...
* fix: add more context to k8s message
Signed-off-by: ashutosh16 <11219262+ashutosh16@users.noreply.github.com >
* fix: add more context to k8s message
Signed-off-by: ashutosh16 <11219262+ashutosh16@users.noreply.github.com >
* fix: add more context to k8s message
Signed-off-by: ashutosh16 <11219262+ashutosh16@users.noreply.github.com >
* fix: add more context to k8s message
Signed-off-by: ashutosh16 <11219262+ashutosh16@users.noreply.github.com >
* fix: add more context to k8s message
Signed-off-by: ashutosh16 <11219262+ashutosh16@users.noreply.github.com >
* fix: add more context to k8s message
Signed-off-by: ashutosh16 <11219262+ashutosh16@users.noreply.github.com >
* Update util/argo/argo.go
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: asingh <11219262+ashutosh16@users.noreply.github.com >
* Update util/argo/argo.go
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: asingh <11219262+ashutosh16@users.noreply.github.com >
* improvements, maybe
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* remove unnecessary end quote
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* avoid conflicts with other tests
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: ashutosh16 <11219262+ashutosh16@users.noreply.github.com >
Signed-off-by: asingh <11219262+ashutosh16@users.noreply.github.com >
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2023-04-03 15:48:50 +00:00
Ishita Sequeira
c6fa942e94
feat: Multiple sources for applications ( #2789 ) ( #10432 )
...
* feat: support multiple sources for application
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
remove debug logging and unwanted code
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
fix lint and unit test errors
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
fix lint and unit test errors
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix bug introduced after rebase
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
executed make codegen
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* rebase with master
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
remove unwanted logging
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
fix ci failures
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix index out of bounds error
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* ui fixes
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* add revisions to SyncOperation for rollback
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* change Source to *ApplicationSource in ApplicationSpec
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix env variable read logic for ValueFiles
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* update multiple sources doc
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* add repository lock and checkout target revision
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
fix codegen
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* checkout all sources before generating manifest
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
generate mock reposerverclient
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* update logic for returning ManifestResponse to avoid nil pointer issues
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix nil reference and key mismatch bugs; add more logs (#6 )
* fix nil reference and key mismatch bugs; add more logs
* remove temporary comment
* addressed the lint failure and added chart to RefTargeRevisionMapping
* normalize git repo (#7 )
* do not leak lock releases
* prevent deadlock
* allow spec update
* move settings fetch outside loop
* cache busing
* return err instead of logging it
* no caching in test
* fix cache key marshaling
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Rebase with master
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* update grpc field numbers
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* path resolution tests (#12 )
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
do things in better ways
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
consolidate
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* add regex check for value of source.ref
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* add webhook tests
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
change Source to *ApplicationSource in ApplicationSpec
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
address PR comments
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
rebase with master
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
Retrigger CI pipeline
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
rebased with master
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix env variable read logic for ValueFiles
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
Address PR comments
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* add repository lock and checkout target revision
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
fix codegen
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* checkout all sources before generating manifest
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* generate mock reposerverclient
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* address comments
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* update logic for returning ManifestResponse to avoid nil pointer issues
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix nil reference and key mismatch bugs; add more logs (#6 )
* fix nil reference and key mismatch bugs; add more logs
* remove temporary comment
* addressed the lint failure and added chart to RefTargeRevisionMapping
* normalize git repo (#7 )
* do not leak lock releases
* prevent deadlock
* allow spec update
* move settings fetch outside loop
* cache busing
* return err instead of logging it
* no caching in test
* fix cache key marshaling
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Rebase with master
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* update grpc field numbers
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* add regex check for value of source.ref
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* Rebase with master
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* Added unit tests (#15 )
* add unit tests 1
* fix lint
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix application parameters tab, rebased UI changes, tests
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* More tests (#16 )
* more tests
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
fix lint error
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
Test get ref sources (#17 )
* test GetRefSources
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* fix lint
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Co-authored-by: ishitasequeira <ishiseq29@gmail.com >
GenerateManifests test (#18 )
* GenerateManifests test
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Fix broken tests (#19 )
* fix broken tests
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Symlink test (#20 )
* check referenced sources for out-of-bounds symlinks
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* unlock the values file repo before doing a symlink check (#22 )
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* multi source docs (#21 )
* multi source docs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* fix warning title
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* clarify
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* clarify
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* add e2e tests for multiple sources and fix UI lint (#23 )
* add e2e tests for multiple sources and fix UI lint
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* add auto-sync and hard refresh to e2e tests
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* change refresh type to RefreshTypeNormal for e2e
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* update e2e testcase with helm data
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* add TestMultiSourceAppWithSourceOverride
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* add missing yaml file
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* rebase with master
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* rebase with master
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix lint
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2022-12-16 15:47:08 -05:00