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
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
33df2ce698
chore: enable goimports linter ( #18564 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-10 09:18:12 -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
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
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
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
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
6f794d0dc9
fix: Redis should reconnect on connectivity issue ( #7207 )
...
fix: Redis should reconnect on connectivity issue (#7207 )
Signed-off-by: pashavictorovich <pavel@codefresh.io >
2021-09-15 09:05:48 -07:00
Noam Gal
f7614e0c4e
fixed max to use MaxInt64 value ( #6911 )
...
Signed-off-by: Noam Gal <noam.gal@codefresh.io >
2021-08-04 11:07:54 -07:00
Eldar Yusupov
2497679dcb
feat: Add Redis SSL support. Fixes #4688 ( #6742 )
...
* feat: Add Redis SSL support
Signed-off-by: Eldar Yusupov <eyusupov@gmail.com >
2021-07-21 10:07:24 -07:00
Ishita Sequeira
f533ed17f0
feat: simplify parametrization of Argo CD server processes ( #6328 )
...
feat: simplify parametrization of Argo CD server processes (#6328 )
Signed-off-by: Ishita Sequeira <isequeir@redhat.com >
2021-06-10 13:03:47 -07:00
jannfis
ae49b45249
chore: Upgrade Go module to v2 ( #5931 )
...
* chore: Upgrade Go module to v2
Signed-off-by: jannfis <jann@mistrust.net >
* Restore import order
Signed-off-by: jannfis <jann@mistrust.net >
* fix knowntypes_normalizer codegen error
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
* fix codegen
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
* fix Procfile
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2021-04-01 20:44:18 +02:00
Alexander Matyushentsev
21670820a4
refactor: optimize argocd-application-controller redis usage ( #5345 )
...
* refactor: controller uses two level caching to reduce number of redis calls
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2021-01-29 11:42:40 -08:00
Alexander Matyushentsev
4417cc8180
fix: use json serialization to store cache instead of github.com/vmihailenco/msgpack ( #4965 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2020-12-03 10:24:47 -08:00
dherman
b3be910465
perf: upgrade redis deps to enable compression ( #4259 )
...
Newer versions of the redis go libraries include built-in support for
compression of values going to and from redis. Since the controller
is extremely chatty and makes heavy use of redis for caching, this
reduces the amount of bandwidth requires significantly.
This change should be backwards compatible since the redis libraries
detect whether or not compression was used and does not error in the
no compression case.
Fixes #4256
2020-09-04 13:59:59 -07:00
Alexander Matyushentsev
fca0f69b5e
refactor: Replace status.observedAt with redis pub/sub channels for resource tree updates ( #1340 ) ( #4208 )
2020-08-31 10:18:12 -07:00
Alexander Matyushentsev
24fa758444
fix: enable redis retries; add redis request duration metric ( #3575 )
2020-05-12 14:39:18 -07:00
Alexander Matyushentsev
f5b600d4af
feat: limit the maximum number of concurrent login attempts ( #3467 )
...
* feat: limit the maximum number of concurrent login attempts
* unit test rate limiter
* address reviewer questions
2020-04-23 12:33:17 -07:00
Alex Collins
aeb48b0a69
Fix bug where manifests are not cached. Fixes #2770 ( #2771 )
2019-12-02 12:08:06 -08:00
Alex Collins
bbdbe364b0
Makes cache timeouts configurable ( #2412 )
2019-10-16 15:46:45 -07:00
Alexander Matyushentsev
f75984fbf5
Issue #1944 - Gracefully handle missing cached app state ( #2464 )
...
* Issue #1944 - Gracefully handle missing cached app state
* Unit test getCachedAppState method
2019-10-10 15:17:13 -07:00
Alexander Matyushentsev
0f7e9a1d28
Issue #2261 - Refactor Helm first class support ( #2364 )
...
* Issue #2261 - Refactor Helm first class support
* Address code review comments
* Remove unused field from GetAppDetails method
2019-09-26 12:05:12 -07:00
Alex Collins
bc226dcd6f
Re-enable caching when listing apps. ( #2295 )
2019-09-13 16:50:53 -07:00
Alex Collins
4e9772e19b
Adds support for Helm 1st-class. Closes #1145 ( #1865 )
2019-09-06 15:37:25 -07:00
Alex Collins
f8a4d662f2
Adds more commit data. Closes #1219 ( #1762 )
2019-06-21 15:51:48 -07:00
Alexander Matyushentsev
15dfa79708
Issue #357 - Expose application nodes networking information ( #1333 )
2019-03-29 20:59:25 -07:00
Jesse Suen
39174ab969
Move parameters listing from GenerateManifests to GetAppDetails ( #1221 )
...
* Move parameters listing from GenerateManifests to GetAppDetails
* Fix logging to use standard logger to honor CLI loglevel
2019-03-05 14:56:47 -08:00
Jesse Suen
cc7b283f23
Deprecate componentParameterOverrides in favor of source specific config ( #1207 )
...
* Deprecate componentParameterOverrides in favor of source specific config
* Support rollback when application source changes
* Removes the legacy spec.source.environment and spec.source.valuesFiles which were deprecated in v0.11
* Fix issue where argocd app create APPNAME --file didn't fail when there were name conflicts
* Fix issue where auto-sync and app deletion would cause infighting
2019-03-04 00:56:36 -08:00
Alexander Matyushentsev
cb9eb0a9bb
Issue #937 - Use redis as a shared throwaway cache ( #1120 )
2019-02-13 15:20:40 -08:00
Jesse Suen
16ff90c070
Defer deletion of app object until all resources have been deleted (issue #636 ) ( #807 )
...
Purge app cache after deletion is successful (issue #802 )
2018-11-19 12:25:45 -08:00
Jesse Suen
5f65a5128a
Introduce caching layer to repo server to improve query response times ( #165 )
2018-05-07 11:31:00 -07:00