Alexander Matyushentsev
ee64a4d9ca
fix: upgrade gitops engine dependency ( #3668 )
2020-05-28 18:42:01 -07:00
Josh Soref
a724574ede
chore: Spelling ( #3647 )
...
chore: Spelling (#3647 )
2020-05-27 10:22:13 -07:00
May Zhang
ac097f143c
Fixing how to compare two objects. ( #3636 )
2020-05-22 15:10:25 -07:00
Alexander Matyushentsev
4a12cbb231
fix: fix nil pointer dereference error after cluster deletion ( #3634 )
2020-05-22 09:35:04 -07:00
Alexander Matyushentsev
2f2f39c8a6
feat: upgrade gitops engine version ( #3624 )
2020-05-20 11:15:23 -07:00
Alexander Matyushentsev
fe8d47e0ea
feat: move engine code to argoproj/gitops-engine repo ( #3599 )
2020-05-15 14:39:29 -07:00
Alexander Matyushentsev
192ee93fc4
feat: Gitops engine ( #3066 )
...
* Move utils packages that are required for gitops engine under engine/pkg/utils package.
Following changes were implemented:
* util/health package is split into two parts: resource health assessement & resource health assessement and moved into engine/pkg/utils
* utils packages moved: Closer and Close method of util package moved into engine/pkg/utils/io package
* packages diff, errors, exec, json, kube and tracing moved into engine/pkg/utils
* Move single cluster caching into engine/kube/cache package
* move sync functionality to engine/kube/sync package
* remove dependency on metrics package from engine/pkg/utils/kube/cache
* move annotation label definitions into engine/pkg/utils/kube/sync
* make sure engine/pkg has no dependencies on other argo-cd packages
* allow importing engine as a go module
* implement a high-level interface that might be consumed by flux
* fix deadlock caused by cluster cache event handler
* ClusterCache should return error if requested group kind not found
* remove obsolete tests
* apply reviewer notes
2020-05-15 10:01:18 -07:00
jannfis
8ad928330f
chore: Fix a bunch of lint issues ( #3412 )
...
* chore: Fix linter complaints
2020-04-14 08:01:43 -07:00
Devan Goodwin
3d6ff9e903
Add a fake owner reference for ClusterServiceVersion. ( #3390 )
...
For anyone installing an Operator Lifecycle Manager operator, the ArgoCD
UI would show your OperatorGroup and Subscription, but would not detect
the resulting ClusterServiceVersion, and subsequent pods etc, limiting
the value of the UI in viewing overall status of your operator.
The CSV should not technically have an owner reference, so we add a fake
one in similar fashion to the pre-existing code above for endpoints. The
CSV then is linked to it's OperatorGroup via the olm.operatorGroup
annotation. The CSV has no link to it's Subscription or InstallPlan that
I can see. Adding an annotation to this might be something we could
pursue with OLM folks.
2020-04-09 11:20:37 -07:00
jannfis
c428e091ab
chore: Fix flaky test TestWatchCacheUpdated ( #3350 )
2020-04-03 18:26:37 +02:00
Alexander Matyushentsev
cdb8758b34
fix: use pagination while loading initial cluster state to avoid memory spikes ( #3299 )
2020-03-27 22:31:36 -07:00
jannfis
e26dace64d
Fix unparam errors from linter ( #3283 )
2020-03-26 09:31:22 -07:00
Alexander Matyushentsev
ab80a8126b
fix: prevent syncing the same cluster cache multiple times due to race condition ( #3256 )
2020-03-19 12:44:23 -07:00
Jesse Suen
4bbce1cb22
perf: reduce unnecessary K8s calls for CRDs during reconciliation ( #3246 )
...
* reduce K8s calls for CRDs during reconciliation
* additional metric labels to k8s API requests (server, verb, kind, namespace)
2020-03-18 03:28:31 -07:00
Bruno Clermont
127f50d697
fix: really skip app requeing for some types of resources ( #3225 )
...
* Really skip app requeing
* Add new user
2020-03-17 23:03:01 -07:00
Alexander Matyushentsev
42d572306d
feat: use --api-versions during helm chart rendering ( #3243 )
2020-03-17 14:20:36 -07:00
Jesse Suen
476b09cbbf
feat: improve api-server and controller performance ( #3222 )
...
* group read comparison settings during app reconciliation
* Reduce lock contention in clusterInfo::ensureSynced(). Add getRepoObj stats
* Remove additional source of lock contention
* Exclude the coordination.k8s.io/Lease resource
Co-authored-by: Alexander Matyushentsev <amatyushentsev@gmail.com>
2020-03-16 11:51:59 -07:00
Alexander Matyushentsev
32d5a05aef
fix: correctly replace cache in namespace isolation mode ( #3023 )
2020-01-23 16:19:29 -08:00
Alexander Matyushentsev
d4c0ee80ee
fix: collect cluster metrics in background; remove obsolete metrics ( #2923 )
2019-12-27 21:06:37 -08:00
Alexander Matyushentsev
9a23823f32
fix: removes redundant mutex usage in controller cache and adds cluster cache metrics ( #2898 )
2019-12-26 14:08:31 -08:00
Alexander Matyushentsev
e9ae87ae67
feat: namespace isolation ( #2176 ) ( #2839 )
...
feat: namespace isolation (#2176 ) (#2839 )
2019-12-17 07:50:11 -08:00
Alexander Matyushentsev
91b0cd0a47
Issue #2721 - cache parsed repositories, repo credentials to avoid unnecessary yaml parsing ( #2809 )
2019-12-04 15:23:18 -08:00
Zoltán Reegn
34a94bb060
Add missing externalURL for networking.k8s.io Ingress type ( #2390 )
2019-10-07 08:56:47 -07:00
Alex Collins
75cc094b88
codegen ( #2244 )
2019-09-04 10:46:14 -07:00
Rodolphe Prin
16883df273
Add path to externalURLs ( #2208 )
2019-08-23 08:26:03 -07:00
Alexander Matyushentsev
aa0f9a3aa7
Issue #1167 - Implement orphan resources support ( #2103 )
2019-08-19 20:14:48 +05:00
Alexander Matyushentsev
9a59e9ac28
Issue #2060 - Enpoint incorrectly considered top level managed resource ( #2129 )
2019-08-09 10:05:54 -07:00
Alexander Matyushentsev
31ec4cf615
Issue #2060 - Make sure endpoint is shown as a child of service ( #2080 )
2019-08-02 16:57:54 -07:00
Alexander Matyushentsev
a9fc89e8a5
Issue #1919 - Eliminate unnecessary git interactions for top-level resource changes ( #1929 )
...
* Issue #1919 - Eliminate unnecessary git interactions for top-level resource changes
* Apply reviewer notes
2019-07-15 13:34:26 -07:00
Alex Collins
4296a87e6b
Enables unparam linter and fixes linting issues ( #1872 )
2019-07-03 14:17:58 -07:00
Alex Collins
e5f9f9df14
Display the revision of resources in the labels. Closes #1367 ( #1802 )
2019-06-21 17:48:21 -07:00
Alexander Matyushentsev
933877a179
Issue #1676 - Move remove AppInstanceLabelKey, ConfigManagementPlugins, ResourceOverrides, ResourceExclusions, ResourceInclusions settings from ArgoCDSettings structure ( #1799 )
...
* Issue #1676 - Move remove AppInstanceLabelKey, ConfigManagementPlugins, ResourceOverrides, ResourceExclusions, ResourceInclusions settings from ArgoCDSettings structure
* Add missing tests
2019-06-21 15:59:05 -07:00
Alex Collins
4660456ad9
Adds Validate=false that disables validation when applying resources.… ( #1750 )
2019-06-18 14:07:26 -07:00
Alexander Matyushentsev
c214ed9546
Issue #1668 - Replicasets ordering is not stable on app tree view ( #1669 )
2019-05-31 17:42:20 -07:00
Alexander Matyushentsev
b93143381f
Issue #1352 - Dedupe live resourced by UID instead of group/kind/namespace/name ( #1575 )
2019-05-13 15:56:40 -07:00
Alexander Matyushentsev
847b7f5e11
Issue #1533 - Prevent reconciliation loop for self-managed apps ( #1608 )
2019-05-13 11:17:32 -07:00
Alexander Matyushentsev
e85eb01831
Issue #1552 - Improve rendering app image information ( #1584 )
2019-05-08 09:00:45 -07:00
Alexander Matyushentsev
e6697274f4
Fix ingress browsable url formatting if port is not string ( #1576 )
2019-05-07 16:07:34 -07:00
Alexander Matyushentsev
0b945ef616
Issue #1570 - Application controller is unable to delete self-referenced app ( #1574 )
2019-05-06 12:49:29 -07:00
Alexander Matyushentsev
8ea785892f
Fix invalid URL for ingress without hostname ( #1553 )
2019-05-01 15:38:24 -07:00
Alexander Matyushentsev
96d0beeaaf
Issue #1533 - Prevent reconciliation loop for self-managed apps ( #1547 )
2019-05-01 09:42:45 -07:00
Alexander Matyushentsev
686fab7fec
Issue #1414 - Load target resource using K8S if conversion fails ( #1527 )
2019-04-29 12:42:59 -07:00
Alexander Matyushentsev
a12124512e
Fix flaky TestGetIngressInfo unit test ( #1529 )
2019-04-25 16:53:43 -07:00
Alexander Matyushentsev
8577114e2e
Ingress resource might get invalid ExternalURL ( #1522 ) ( #1523 )
2019-04-24 13:39:59 -07:00
Alexander Matyushentsev
60273ba84f
Issue #1499 - Use ingress host information to populate application external URL ( #1511 )
2019-04-23 10:34:53 -07:00
Alexander Matyushentsev
2eac7bf457
Issue #1476 - Fix racing condition in controller cache ( #1485 )
2019-04-18 08:12:18 -07:00
Alex Collins
76d25d3795
Perform health assessments on all resource nodes in the tree. Closes #1382 ( #1422 )
2019-04-09 18:15:24 -07:00
Alex Collins
88a1c2a593
Pod health ( #1365 )
2019-04-08 14:49:57 -07:00
Alexander Matyushentsev
86f6b657e2
Issue #1374 - Add k8s objects circular dependency protection to getApp method ( #1379 )
2019-04-04 17:52:30 -07:00
Alex Collins
723228598e
Adds images to resource tree ( #1351 )
2019-04-03 15:11:48 -07:00