Commit Graph
42 Commits
Author SHA1 Message Date
Mitsuo HeijoandGitHub 53f8b5d196 chore: remove incompatible miniredis dependency (#10566)
Signed-off-by: Mitsuo Heijo <[email protected]>

Signed-off-by: Mitsuo Heijo <[email protected]>
2022-09-15 08:10:29 -04:00
Alexander MatyushentsevandGitHub 8cfcd97c8c feat: support gzip compression for data stored in redis (#10190)
* feat: support gzip compression for data stored in redis

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

* allow using different redis compression algorithms

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

Signed-off-by: Alexander Matyushentsev <[email protected]>
2022-08-15 16:15:27 -04:00
Soumya Ghosh DastidarandGitHub 3e8909053c feat: add support for redis acl username/password flow (#8676)
Signed-off-by: Soumya Ghosh Dastidar <[email protected]>
2022-03-04 10:29:19 -08:00
pasha-codefreshandGitHub 51a3ac6c0d feat: add test to redis_hook.go (#7233)
* add test to redis_hook.go

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

* restart action

Signed-off-by: pashavictorovich <[email protected]>
2021-09-16 08:06:29 -07:00
pasha-codefreshandGitHub 6de64f36eb fix: Redis should reconnect on connectivity issue (#7207)
fix: Redis should reconnect on connectivity issue (#7207)

Signed-off-by: pashavictorovich <[email protected]>
2021-09-15 09:05:48 -07:00
Noam GalandGitHub 4ba654349b fixed max to use MaxInt64 value (#6911)
Signed-off-by: Noam Gal <[email protected]>
2021-08-04 11:07:54 -07:00
Eldar YusupovandGitHub 4915fadc89 feat: Add Redis SSL support. Fixes #4688 (#6742)
* feat: Add Redis SSL support

Signed-off-by: Eldar Yusupov <[email protected]>
2021-07-21 10:07:24 -07:00
Ishita SequeiraandGitHub 00c561cac9 feat: simplify parametrization of Argo CD server processes (#6328)
feat: simplify parametrization of Argo CD server processes  (#6328)

Signed-off-by: Ishita Sequeira <[email protected]>
2021-06-10 13:03:47 -07:00
0bf70f75f1 chore: compile-time validation of adherence to interface contract (#5850)
* fix: compile time validation of interface contract

Signed-off-by: Shoubhik Bose <[email protected]>

* fix: application specific parameter override is not reflected in application parameters tab (#5845)

Signed-off-by: May Zhang <[email protected]>
Signed-off-by: Shoubhik Bose <[email protected]>

* chore: compile time resolution

Signed-off-by: Shoubhik Bose <[email protected]>

* chore: adherance to contract

Signed-off-by: Shoubhik Bose <[email protected]>

* Revert "fix: application specific parameter override is not reflected in application parameters tab (#5845)"

This reverts commit 43c801206262032967ef0b477db668c1bb17bfca.

Signed-off-by: Shoubhik Bose <[email protected]>

Co-authored-by: May Zhang <[email protected]>
2021-04-15 12:45:57 -07:00
1d472ba293 chore: Upgrade Go module to v2 (#5931)
* chore: Upgrade Go module to v2

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

* Restore import order

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

* fix knowntypes_normalizer codegen error

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

* fix codegen

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

* fix Procfile

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

Co-authored-by: Alexander Matyushentsev <[email protected]>
2021-04-01 20:44:18 +02:00
Alexander MatyushentsevandGitHub fe5375ff74 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 <[email protected]>
2021-01-29 11:42:40 -08:00
Alexander MatyushentsevandGitHub cc4524d4d8 fix: use json serialization to store cache instead of github.com/vmihailenco/msgpack (#4965)
Signed-off-by: Alexander Matyushentsev <[email protected]>
2020-12-03 10:24:47 -08:00
Jonathan WestandGitHub ea8a15adbc fix: Repo-server has silent unmarshalling errors leading to empty applications (#4423) (#4708)
* fix: Repo-server has silent unmarshalling errors leading to empty applications (#4423)
2020-11-02 14:15:31 -08:00
Alexander MatyushentsevandGitHub 301d9bf4c9 refactor: upgrade gitops-engine version ( breaking API changes related to logr mirgation ) (#4652) 2020-10-27 14:10:24 -07:00
Alexander MatyushentsevandGitHub d351d134e3 feat: Support controller horizontal scaling (#4285) 2020-10-09 13:16:54 -07:00
Alexander MatyushentsevandGitHub 8ffc9ae9f8 fix: use redis pub-sub with correct context (#4300) 2020-09-10 09:57:32 -07:00
dhermanandGitHub 046719f076 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 MatyushentsevandGitHub b5b1297a31 refactor: Replace status.observedAt with redis pub/sub channels for resource tree updates (#1340) (#4208) 2020-08-31 10:18:12 -07:00
Alexander MatyushentsevandGitHub ca0967a624 feat: Display cluster info on cluster details page (#3793)
* feat: Display cluster info on cluster details page

* Store cluster info in cache instead of secret
2020-06-22 17:51:20 -07:00
Josh SorefandGitHub 53500a12b8 chore: Spelling (#3647)
chore: Spelling (#3647)
2020-05-27 10:22:13 -07:00
Alexander MatyushentsevandGitHub e99d704b05 fix: redis request failed with nil error should not be counted as failed (#3576) 2020-05-12 18:02:22 -07:00
Alexander MatyushentsevandGitHub c492677c59 fix: enable redis retries; add redis request duration metric (#3575) 2020-05-12 14:39:18 -07:00
Alexander MatyushentsevandGitHub 1c1add334d 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
b94e9a27f6 fix: Add initial implementation for rate limiting failed logins (#3404)
* fix: Add initial implementation  for rate limiting failed logins

* Trigger test build

* Remove deprecated code and fix new project tests

* move cache related code from sessionmanager to cache access wrapper

* avoid using sleep in sessionmanager tests

* mention SECONDS in session manager environment variables to make it easier to understand meaning of each variable

* Login button should be disabled while user is waiting for login result

* prevent timing-based user enumeration attack

* reject too many failed attempts; always compute hash and introduce random delay

* remove unused constants

* fix linter errors

Co-authored-by: Alexander Matyushentsev <[email protected]>
2020-04-21 11:10:25 -07:00
jannfisandGitHub f6027d0423 chore: Code coverage offensive 03: util/cache (#3335)
* Add dependency for miniredis, used for unit testing Redis cache

* Add more tests
2020-04-02 09:16:42 -07:00
Alex CollinsandGitHub 48f0838637 Fix bug where manifests are not cached. Fixes #2770 (#2771) 2019-12-02 12:08:06 -08:00
Alex CollinsandGitHub 1b8ab98873 Makes cache timeouts configurable (#2412) 2019-10-16 15:46:45 -07:00
Alexander MatyushentsevandGitHub ab6445b2a8 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 MatyushentsevandGitHub 2559d184ae 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 CollinsandGitHub d0bfa6559d Re-enable caching when listing apps. (#2295) 2019-09-13 16:50:53 -07:00
Alex CollinsandGitHub 206cc78710 Adds support for Helm 1st-class. Closes #1145 (#1865) 2019-09-06 15:37:25 -07:00
Alex CollinsandGitHub e588083a2b Adds more commit data. Closes #1219 (#1762) 2019-06-21 15:51:48 -07:00
Alexander MatyushentsevandGitHub 0f56346d08 Issue #357 - Expose application nodes networking information (#1333) 2019-03-29 20:59:25 -07:00
Alex CollinsandGitHub d1bd5490eb Enables default lint checks, fixes lint and bugs (#1330) 2019-03-28 13:37:53 -07:00
Alex CollinsandGitHub e83b9cc419 Migrates from gometalinter to golangci-lint. Closes #1225 (#1226) 2019-03-08 16:22:04 -08:00
Jesse SuenandGitHub d7b4cd86ec 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 SuenandGitHub ea403b21e0 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 MatyushentsevandGitHub ab4bbdfc16 Issue #937 - Use redis as a shared throwaway cache (#1120) 2019-02-13 15:20:40 -08:00
Jesse SuenandGitHub f7cbe76ab4 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
Alexander MatyushentsevandGitHub f31bde1638 Issue #330 - Projects need controls on cluster-scoped resources (#558)
* Issue #330 - Projects need controls on cluster-scoped resources

* Issue #330 - Introduce namespace resources black-list
2018-09-11 15:10:47 -07:00
Alexander MatyushentsevandGitHub 758efd244c Move sync logic to contoller (#180)
* Issue #119 - Move sync logic to contoller

* Implement app compare/sycn e2e test

* Fix panic in kube ApplyResource method

* Apply reviewer notes: add separate rollback operation instead of reusing sync for sync and rollback
2018-05-11 11:50:32 -07:00
Jesse SuenandGitHub 61383aee36 Introduce caching layer to repo server to improve query response times (#165) 2018-05-07 11:31:00 -07:00