Shoubhik Bose
6aee524e0a
chore: compile-time validation of adherence to interface contract ( #5850 )
...
* fix: compile time validation of interface contract
Signed-off-by: Shoubhik Bose <shbose@redhat.com>
* fix: application specific parameter override is not reflected in application parameters tab (#5845 )
Signed-off-by: May Zhang <may_zhang@intuit.com>
Signed-off-by: Shoubhik Bose <shbose@redhat.com>
* chore: compile time resolution
Signed-off-by: Shoubhik Bose <shbose@redhat.com>
* chore: adherance to contract
Signed-off-by: Shoubhik Bose <shbose@redhat.com>
* Revert "fix: application specific parameter override is not reflected in application parameters tab (#5845 )"
This reverts commit 43c8012062 .
Signed-off-by: Shoubhik Bose <shbose@redhat.com>
Co-authored-by: May Zhang <may_zhang@intuit.com>
2021-04-15 12:45:57 -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
Jonathan West
2166fea351
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 Matyushentsev
a96b476f16
refactor: upgrade gitops-engine version ( breaking API changes related to logr mirgation ) ( #4652 )
2020-10-27 14:10:24 -07:00
Alexander Matyushentsev
303925f4a0
feat: Support controller horizontal scaling ( #4285 )
2020-10-09 13:16:54 -07:00
Alexander Matyushentsev
d60486fb47
fix: use redis pub-sub with correct context ( #4300 )
2020-09-10 09:57:32 -07: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
5d5d6a4ad6
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 Soref
a724574ede
chore: Spelling ( #3647 )
...
chore: Spelling (#3647 )
2020-05-27 10:22:13 -07:00
Alexander Matyushentsev
cd1de6e680
fix: redis request failed with nil error should not be counted as failed ( #3576 )
2020-05-12 18:02:22 -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
jannfis
76bacfdea4
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 <amatyushentsev@gmail.com>
2020-04-21 11:10:25 -07:00
jannfis
1b1df76ef2
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 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
Alex Collins
cd25c4b3c9
Enables default lint checks, fixes lint and bugs ( #1330 )
2019-03-28 13:37:53 -07:00
Alex Collins
5e7b48c9a2
Migrates from gometalinter to golangci-lint. Closes #1225 ( #1226 )
2019-03-08 16:22:04 -08: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
Alexander Matyushentsev
aa2afcd47b
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 Matyushentsev
3dbbcf8918
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 Suen
5f65a5128a
Introduce caching layer to repo server to improve query response times ( #165 )
2018-05-07 11:31:00 -07:00