Commit Graph
101 Commits
Author SHA1 Message Date
Isaac GaskinandGitHub 506d14b2e7 fix(info.go): omitting wildcard paths from controller cache (#4479)
edge case where /* should not be appended to path
2020-10-05 08:36:26 +02:00
Carson AandGitHub ccfb26cdd5 feat: Add external link annotation support (#4380)
Example implementation of https://github.com/argoproj/argo-cd/issues/3487
2020-09-30 07:39:10 +02:00
jheydukandGitHub a6e3c84c2d fix: application external url falsely uses backend servicePort (#4339)
* fix: application external url falsely uses backend servicePort #2318

Use https if spec.tls is specified for the related host. Otherwise use http

* refactor / add new test
2020-09-16 16:18:28 -07:00
Alexander MatyushentsevandGitHub 8698c5d42c fix: limit concurrent list requests accross all clusters (#4328) 2020-09-14 14:45:02 -07:00
Alexander MatyushentsevandGitHub 07374b294a fix: cluster settings change is not applied correctly (#4070) 2020-08-10 16:13:06 -07:00
Alexander MatyushentsevandGitHub dff8d5e81b feat: support overriding default cluster re-sync duration (#4014) 2020-07-30 10:00:19 -07:00
May ZhangandGitHub afda2020fa feat: auto create namespace (#3976)
* feat: auto create namespace

* feat: fixing yarn lint error.

* feat: fixing yarn lint error.

* update to the latest gitops-engine

* fix tidiness of go.sum
2020-07-27 13:33:08 -07:00
Hiroki SakamotoandGitHub d4b37b4007 feat: add resource's age & creation time (#3931)
* feat: add resource creation time to api response

* feat: add creation time to model

* feat: add resource's age to app detail page

* feat: add created_at to resource summary page
2020-07-14 16:54:00 +02:00
Alexander MatyushentsevandGitHub 59f07746cd fix: avoid lock contention in GetClustersInfo method (#3844) 2020-06-24 17:19:39 -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
Alexander MatyushentsevandGitHub 09f9e991db fix: application controller should not modify cached applications (#3821) 2020-06-22 11:04:25 -07:00
Alexander MatyushentsevandGitHub b46eeb2209 fix: cluster state cache should be initialized before using (#3752) (#3763) 2020-06-12 15:05:01 -07:00
Alexander MatyushentsevandGitHub 7eff98e2dd fix: ensure cache settings read/writes are protected by mutex (#3753) 2020-06-11 12:54:10 -07:00
May ZhangandGitHub 518e28be40 feat: get cluster connection status from cluster synced time (#3604)
feat: get cluster connection status from cluster synced time (#3604)
2020-06-04 11:36:26 -07:00
Alexander MatyushentsevandGitHub 853075ea25 refactor: upgrade gitops engine (#3687) 2020-06-01 20:23:07 +02:00
Alexander MatyushentsevandGitHub d57d53f49d fix: upgrade gitops engine dependency (#3668) 2020-05-28 18:42:01 -07:00
Josh SorefandGitHub 53500a12b8 chore: Spelling (#3647)
chore: Spelling (#3647)
2020-05-27 10:22:13 -07:00
May ZhangandGitHub d29238e176 Fixing how to compare two objects. (#3636) 2020-05-22 15:10:25 -07:00
Alexander MatyushentsevandGitHub 295c74ddfc fix: fix nil pointer dereference error after cluster deletion (#3634) 2020-05-22 09:35:04 -07:00
Alexander MatyushentsevandGitHub 5b721367aa feat: upgrade gitops engine version (#3624) 2020-05-20 11:15:23 -07:00
Alexander MatyushentsevandGitHub a68b34dd33 feat: move engine code to argoproj/gitops-engine repo (#3599) 2020-05-15 14:39:29 -07:00
Alexander MatyushentsevandGitHub 171127a40f 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
jannfisandGitHub b9b378f632 chore: Fix a bunch of lint issues (#3412)
* chore: Fix linter complaints
2020-04-14 08:01:43 -07:00
Devan GoodwinandGitHub 325486bd92 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
jannfisandGitHub 9a11f8246d chore: Fix flaky test TestWatchCacheUpdated (#3350) 2020-04-03 18:26:37 +02:00
Alexander MatyushentsevandGitHub 0c6a429874 fix: use pagination while loading initial cluster state to avoid memory spikes (#3299) 2020-03-27 22:31:36 -07:00
jannfisandGitHub cd25062e4e Fix unparam errors from linter (#3283) 2020-03-26 09:31:22 -07:00
Alexander MatyushentsevandGitHub b6b7c7f0b6 fix: prevent syncing the same cluster cache multiple times due to race condition (#3256) 2020-03-19 12:44:23 -07:00
Jesse SuenandGitHub 2d2a484649 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 ClermontandGitHub beefec7169 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 MatyushentsevandGitHub 53365beda7 feat: use --api-versions during helm chart rendering (#3243) 2020-03-17 14:20:36 -07:00
4df619adde 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 <[email protected]>
2020-03-16 11:51:59 -07:00
Alexander MatyushentsevandGitHub ebfc903266 fix: correctly replace cache in namespace isolation mode (#3023) 2020-01-23 16:19:29 -08:00
Alexander MatyushentsevandGitHub d77a0eefa9 fix: collect cluster metrics in background; remove obsolete metrics (#2923) 2019-12-27 21:06:37 -08:00
Alexander MatyushentsevandGitHub d4974e1d8e fix: removes redundant mutex usage in controller cache and adds cluster cache metrics (#2898) 2019-12-26 14:08:31 -08:00
Alexander MatyushentsevandGitHub 138c63ab1d feat: namespace isolation (#2176) (#2839)
feat: namespace isolation (#2176) (#2839)
2019-12-17 07:50:11 -08:00
Alexander MatyushentsevandAlex Collins 496e07bb39 Issue #2721 - cache parsed repositories, repo credentials to avoid unnecessary yaml parsing (#2809) 2019-12-04 15:23:18 -08:00
Zoltán ReegnandAlex Collins 18c83772d3 Add missing externalURL for networking.k8s.io Ingress type (#2390) 2019-10-07 08:56:47 -07:00
Alex CollinsandGitHub 18c13a4ce2 codegen (#2244) 2019-09-04 10:46:14 -07:00
Rodolphe PrinandAlexander Matyushentsev 06c76be5c0 Add path to externalURLs (#2208) 2019-08-23 08:26:03 -07:00
Alexander MatyushentsevandGitHub 9befa88007 Issue #1167 - Implement orphan resources support (#2103) 2019-08-19 20:14:48 +05:00
Alexander MatyushentsevandGitHub 66ba503f36 Issue #2060 - Enpoint incorrectly considered top level managed resource (#2129) 2019-08-09 10:05:54 -07:00
Alexander MatyushentsevandGitHub 12d6640e19 Issue #2060 - Make sure endpoint is shown as a child of service (#2080) 2019-08-02 16:57:54 -07:00
Alexander MatyushentsevandGitHub ef59582d81 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 CollinsandGitHub bb46ef7bc7 Enables unparam linter and fixes linting issues (#1872) 2019-07-03 14:17:58 -07:00
Alex CollinsandGitHub 30cafb5661 Display the revision of resources in the labels. Closes #1367 (#1802) 2019-06-21 17:48:21 -07:00
Alexander MatyushentsevandGitHub e97a65be32 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 CollinsandGitHub a5c294e6ab Adds Validate=false that disables validation when applying resources.… (#1750) 2019-06-18 14:07:26 -07:00
Alexander MatyushentsevandGitHub b2d159d4dd Issue #1668 - Replicasets ordering is not stable on app tree view (#1669) 2019-05-31 17:42:20 -07:00
Alexander MatyushentsevandGitHub 94039a8ac6 Issue #1352 - Dedupe live resourced by UID instead of group/kind/namespace/name (#1575) 2019-05-13 15:56:40 -07:00