Papapetrou Patroklos
b2df60414c
chore: bumps go redis client 9.17.2 ( #25643 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Patroklos Papapetrou <ppapapetrou76@gmail.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-17 09:25:04 +02:00
Mangaal Meetei
fe02a8f410
feat(redis): Secrets credentials via volume mount ( #24597 )
...
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com >
Co-authored-by: Nitish Kumar <justnitish06@gmail.com >
2025-11-24 07:48:15 -05:00
Matthieu MOREL
fa25f278c0
chore(lint): enable sloppyReassign rule from go-critic ( #23443 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-06-17 11:46:50 -04:00
Matthieu MOREL
54501c05a8
chore(lint): enable builtinShadow rule from go-critic ( #23430 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-06-16 21:20:57 +00:00
Michael Crenshaw
30a0088c84
chore: enable lint for unused private fields ( #23242 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-06-05 07:47:55 -04:00
Kanika Rana
e8f568a70d
chore: use name imports for argocd Utilio ( #22836 )
...
Signed-off-by: Kanika Rana <krana@redhat.com >
2025-05-21 16:25:32 +00: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
sivchari
922d080ae5
chore: upgrade Go to 1.24 ( #22242 )
...
Signed-off-by: sivchari <shibuuuu5@gmail.com >
2025-03-10 10:14:41 -04:00
Nitish Kumar
967126860c
test: add get cluster info test case ( #21831 )
...
Signed-off-by: nitishfy <justnitish06@gmail.com >
2025-02-10 16:02:22 -08:00
Matthieu MOREL
bf082c26c2
chore: enable ifElseChain from gocritic ( #21636 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-22 16:13:51 -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
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
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
Andrii Korotkov
45e488657b
chore: Graceful shutdown for API Server ( #18642 ) ( #21224 )
...
* fix: Graceful shutdown for the API server (#18642 ) (#20981 )
* fix: Graceful shutdown for the API server (#18642 )
Closes #18642
Implements a graceful shutdown the the API server. Without this, ArgoCD API server will eventually return 502 during rolling update. However, healthcheck would return 503 if the server is terminating.
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com >
Co-authored-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* Init server only once, but keep re-initializing listeners
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com >
* Check error for SetParamInSettingConfigMap as needed after fresh master
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com >
* Prevent a data race
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com >
* Remove unused variable, don't pass lock when not necessary
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com >
* Try overriding URL instead of additional URLs
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com >
* Use a more specific url
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com >
---------
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com >
Co-authored-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* Use a custom signal for graceful restart
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com >
* Re-run tests
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com >
---------
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com >
Co-authored-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2024-12-17 16:51:18 -05:00
Pasha Kostohrys
46bfc10e4d
Revert "fix: Graceful shutdown for the API server ( #18642 ) ( #20981 )" ( #21221 )
2024-12-17 18:56:00 +02:00
Andrii Korotkov
730363f14b
fix: Graceful shutdown for the API server ( #18642 ) ( #20981 )
...
* fix: Graceful shutdown for the API server (#18642 )
Closes #18642
Implements a graceful shutdown the the API server. Without this, ArgoCD API server will eventually return 502 during rolling update. However, healthcheck would return 503 if the server is terminating.
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com >
Co-authored-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* Init server only once, but keep re-initializing listeners
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com >
* Check error for SetParamInSettingConfigMap as needed after fresh master
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com >
* Prevent a data race
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com >
* Remove unused variable, don't pass lock when not necessary
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com >
* Try overriding URL instead of additional URLs
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com >
* Use a more specific url
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com >
---------
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com >
Co-authored-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2024-12-03 15:32:26 -05:00
Matthieu MOREL
1c6ec19a86
fix: use ErrorContains(t, err instead of Contains(t, err.Error() ( #20220 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-10-04 09:36:05 -04:00
Alexander Matyushentsev
0acecad8f8
feat: reduce redis traffic caused by app resource tree updates in redis ( #19722 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2024-08-29 17:16:48 +00:00
Pavel
0894ddc89e
fix( #19306 ): close redis cache gzip writer ( #19307 )
...
* close redis cache writer
flush is not enough, we need to close the writer too
Signed-off-by: Pavel Aborilov <aborilov@gmail.com >
* test compressed redis value
Signed-off-by: Pavel Aborilov <aborilov@gmail.com >
---------
Signed-off-by: Pavel Aborilov <aborilov@gmail.com >
2024-07-31 08:57:46 +05:30
Matthieu MOREL
3dcddee199
chore: enable float-compare rule from testifylint ( #18721 )
...
* chore: enable float-compare rule from testifylint
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update managed_fields_test.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update managed_fields_test.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
---------
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-21 14:16:32 -04:00
Matthieu MOREL
eac08dcf79
chore: extend require-error rule from testifylint ( #18681 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-15 13:51:18 -04:00
Matthieu MOREL
9f1e2e8453
chore: enable gocritic linter ( #18633 )
...
* chore: enable gocritic linter
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update settings.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update app.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update grpcproxy.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update grpcproxy.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update util.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update server.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update app_management_ns_test.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update app_management_test.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update path_traversal.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update sessionmanager.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update .golangci.yaml
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
---------
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-13 15:10:00 -04:00
Matthieu MOREL
3160369469
chore: enable compare and nil-compare rules from testifylint linter ( #18581 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-11 16:38:35 +00: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
Matthieu MOREL
d7e99224d4
chore: enable errorlint linter on util folder ( #18588 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-11 10:42:32 -04:00
Matthieu MOREL
4a01f8a69a
chore: enable expected-actual rule from testifylint linter ( #18575 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-10 20:33:00 +00:00
Matthieu MOREL
32519c70a5
chore: enable error-nil rule from testifylint linter ( #18544 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-10 10:38:55 -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
Matthieu MOREL
71e1f30741
fix: enable bool-compare rule from testifylint linter ( #18414 )
2024-06-05 18:13:45 -04:00
Matthieu MOREL
9fe1dbfcad
fix: enable misspell linter ( #18412 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-05-28 12:51:04 +03:00
Alexy Mantha
4e46a5e8fa
feat(controller): use manifest generate path during comparison ( #14242 ) ( #15636 )
...
* squash commits
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* Update util/git/client.go
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* fix error message
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* add git client options
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* Update generated code
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* run fmt
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* fix tests
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* failed gen
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* tweak logs and rename cache
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* validate revisions
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* fix tests
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* fix tests
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* fmt
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* fix linting
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* fixes from review
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* generate
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* fix
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* use log context
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
---------
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2024-04-04 16:01:11 -04:00
Nathan Romriell
c4fdc54195
fix(repo-server): excess git requests, add shared cache lock on revisions (Issue #14725 ) ( #17109 )
...
* fix(repo-server): excess git requests, cache lock on revisions
Signed-off-by: nromriell <nateromriell@gmail.com >
* fix: pr feedback, simplify, add configurable variable
Signed-off-by: nromriell <nateromriell@gmail.com >
* fix: codegen, lint
Signed-off-by: nromriell <nateromriell@gmail.com >
* fix: test print, no opts set, var type nit
Signed-off-by: nromriell <nateromriell@gmail.com >
* chore: add additional logging for unexpected cache error
Signed-off-by: nromriell <nateromriell@gmail.com >
---------
Signed-off-by: nromriell <nateromriell@gmail.com >
Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com >
2024-03-25 11:26:14 -04:00
shlomi tubul
adceae9ec8
feat: Add support for passing Redis Sentinel username(ACL) and password ( #17168 )
...
* Add support for passing Sentinel username and password
Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai >
* fix align with var naming
Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai >
* fix align with var naming
Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai >
---------
Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai >
Co-authored-by: ShlomiTubul <shlomi.tubul@placer.ai >
2024-02-11 00:48:15 -05:00
Yudi A Phanama
be1f0eafb8
fix(redis): go-redis v9 regression missing metrics and reconnect hook ( #13415 ) ( #15275 )
...
* fix(redis): go-redis v9 regression missing metrics and reconnect hook
Signed-off-by: phanama <yudiandreanp@gmail.com >
* fix: golangci lint return values not checked in tests
Signed-off-by: phanama <yudiandreanp@gmail.com >
* chore: move dnsError var locally into func
Signed-off-by: phanama <yudiandreanp@gmail.com >
---------
Signed-off-by: phanama <yudiandreanp@gmail.com >
2024-01-29 10:31:15 -05:00
Alexander Matyushentsev
c5b9c67073
fix: support specifying username/password for redis holding manifests in argocd-server ( #16786 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2024-01-09 00:04:46 +00:00
Alexander Matyushentsev
4afddf71cc
feat: webhook should use 'rename' to copy app manifests of previous commit ( #16754 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2024-01-05 08:53:52 -08:00
Nathan Romriell
5c187a1955
fix(repo-server): excess git requests, resolveReferencedSources and runManifestGenAsync not using cache (Issue #14725 ) ( #16410 )
...
* fix(repo-server): excess git requests part 1, resolveReferencedSources and runManifestGenAsync
Signed-off-by: nromriell <nateromriell@gmail.com >
* fix: remove unnecessary settings instantiation
Signed-off-by: nromriell <nateromriell@gmail.com >
---------
Signed-off-by: nromriell <nateromriell@gmail.com >
2023-11-30 10:03:34 -05:00
Yudi A Phanama
23f2767250
fix(cli): pass redis compression to cluster stats and shards commands ( #16060 ) ( #16421 )
2023-11-29 17:56:40 +05:30
Nathanael Liechti
819f0b3e87
feat(oidc): optionally query OIDC UserInfo to gather group claims ( #12062 )
...
Signed-off-by: Nathanael Liechti <technat@technat.ch >
2023-11-21 10:16:50 -05:00
Michael Crenshaw
460ecf3ac2
feat: enable gzip compression in Redis by default ( #13458 ) ( #13459 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2023-05-04 17:56:47 -04:00
Nolan Emirot
7b74e1993e
chore: update redis client to v9 ( #12746 )
...
* chore: update redis
Signed-off-by: emirot <emirot.nolan@gmail.com >
* chore: update redis
Signed-off-by: emirot <emirot.nolan@gmail.com >
* chore: update redis
Signed-off-by: emirot <emirot.nolan@gmail.com >
---------
Signed-off-by: emirot <emirot.nolan@gmail.com >
2023-03-08 09:42:10 -05:00
Nick Miyake
ba86be2fcb
fix: fix typo in local variable name ( #11624 )
...
Signed-off-by: Nick Miyake <nmiyake@palantir.com >
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2023-02-20 01:12:01 +00:00
Mitsuo Heijo
f0975b9ad3
chore: remove incompatible miniredis dependency ( #10566 )
...
Signed-off-by: Mitsuo Heijo <mitsuo.heijo@gmail.com >
Signed-off-by: Mitsuo Heijo <mitsuo.heijo@gmail.com >
2022-09-15 08:10:29 -04:00
Alexander Matyushentsev
9b4f468f72
feat: support gzip compression for data stored in redis ( #10190 )
...
* feat: support gzip compression for data stored in redis
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
* allow using different redis compression algorithms
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2022-08-15 16:15:27 -04:00
Soumya Ghosh Dastidar
3ea72eb489
feat: add support for redis acl username/password flow ( #8676 )
...
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com >
2022-03-04 10:29:19 -08:00
pasha-codefresh
91fea1470f
feat: add test to redis_hook.go ( #7233 )
...
* add test to redis_hook.go
Signed-off-by: pashavictorovich <pavel@codefresh.io >
* restart action
Signed-off-by: pashavictorovich <pavel@codefresh.io >
2021-09-16 08:06:29 -07:00