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
02b3c61fd9
feat: Introduce diff normalizer knobs and allow for ignoring aggregated cluster roles ( #2382 ) ( #3076 )
...
* Add the ability to ignore rules added by aggregated cluster roles
2020-05-13 13:34:43 -07:00
Alexander Matyushentsev
05f5a79923
feat: support separate Kustomize version per application ( #3414 )
2020-04-15 12:04:31 -07:00
Alexander Matyushentsev
6411958be5
fix: pass APIVersions value to manifest generation request during app validation and during app manifests loading ( #3312 )
...
* fix: pass APIVersions value to manifest generation request during app validation and during app manifests loading
2020-03-30 13:36:46 -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
jannfis
0378819c54
Test for nil to prevent nil pointer dereference ( #3237 )
2020-03-16 09:43:44 -07:00
Alexander Matyushentsev
ebb06b8c89
fix: app reconciliation fails with panic: index out of ( #3233 )
2020-03-13 10:52:24 -07:00
Alexander Matyushentsev
aea81373eb
fix: prevent user from seeing/deleting resources not permitted in project ( #2908 ) ( #2910 )
2019-12-26 14:08:14 -08:00
Alex Collins
2707008c1a
Adds revision history limit. Closes #2790 ( #2818 )
...
* Adds revision history limit. Closes #2790
2019-12-13 11:14:43 -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
Alex Collins
a9a28b7e42
Sets app status to unknown if there is an error. Closes #2577 ( #2578 )
2019-10-29 11:44:34 -07:00
Alexander Matyushentsev
a53950e5a8
Issue #2339 - Don't update 'status.reconciledAt' unless compared with latest git version ( #2581 )
2019-10-28 16:44:23 -07:00
Devan Goodwin
e3edd2ced3
Add Time to ApplicationCondition. ( #2417 )
2019-10-16 19:29:52 -07:00
Alex Collins
f44681693a
Fix bug preventing Helm CRDs from being installed ( #2500 )
2019-10-16 10:12:38 -07:00
Alexander Matyushentsev
402ce43804
Issue #2453 - Application controller sometimes accidentally removes duplicated/excluded resource warning condition ( #2454 )
2019-10-10 17:26:53 -07:00
Alexander Matyushentsev
16e645b268
Issue #2316 - support deprecated 'helm.repositories' config ( #2405 )
...
* Issue #2316 - support deprecated 'helm.repositories' config
* Address reviewer notes
2019-10-03 12:27:19 -07:00
Alex Collins
62f029af5f
Support --kube-version. ( #2276 )
2019-09-11 16:37:00 -07:00
Alex Collins
4e9772e19b
Adds support for Helm 1st-class. Closes #1145 ( #1865 )
2019-09-06 15:37:25 -07:00
Alexander Matyushentsev
b7377a1080
Issue #2146 - Fix nil pointer dereference error during app reconciliation ( #2170 )
2019-08-20 08:43:29 -07:00
Alexander Matyushentsev
aa0f9a3aa7
Issue #1167 - Implement orphan resources support ( #2103 )
2019-08-19 20:14:48 +05:00
Alex Collins
eb7f942acb
Fixes some code issues related to Kustomize build options. See #2146 ( #2151 )
2019-08-16 12:55:36 -07:00
Alex Collins
bad2e91039
Helm hooks. Closes #355 ( #2069 )
2019-08-12 15:34:21 -07:00
Simon Behar
3a9034e68f
Added Kustomize build options to settings/argocd-cm ( #1817 )
...
Added Kustomize build options to settings/argocd-cm (#1817 )
2019-08-02 16:57:33 -07:00
Alexander Matyushentsev
d3c850b8e7
Issues #1513 - Make sure insecure flag works for remote Kustomize bases ( #1934 )
...
* Make sure insecure flag works for remote Kustomize bases
2019-07-12 17:17:23 -07:00
Alexander Matyushentsev
647275cf46
Issue #1917 - App details page incorrect uses 'requires pruning' icon for out-of-sync resources ( #1918 )
2019-07-10 16:56:52 -07:00
Alexander Matyushentsev
9f8693a6a1
Issue #1621 - Proper handling of an excluded resource in an application ( #1862 )
2019-07-02 13:56:25 -07:00
Alexander Matyushentsev
f79b49e706
Issue #1159 - Different icon for resources which require pruning ( #1854 )
2019-07-02 09:43:29 -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
Simon Behar
120502097a
Added local path syncing ( #1578 )
2019-06-17 19:09:43 -07:00
Alex Collins
00889551e7
Adds Prune=false and IgnoreExtraneous options ( #1680 )
2019-06-07 08:46:11 -07:00
Alex Collins
243378b035
Sync wave ( #1634 )
2019-06-04 18:17:41 -07:00
Alex Collins
5515b8ce9d
Public git creds ( #1633 )
2019-05-22 17:21:56 -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
0b945ef616
Issue #1570 - Application controller is unable to delete self-referenced app ( #1574 )
2019-05-06 12:49:29 -07:00
Alexander Matyushentsev
5c353a12f2
ISsue #1557 - Controller incorrectly report health state of self managed application ( #1558 )
2019-05-02 14:38:37 -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
7382ebce27
Issue #1404 - App controller unnecessary set namespace to cluster level resources ( #1405 )
2019-04-08 12:02:06 -07:00
Alexander Matyushentsev
b60067af97
Issue #1287 - Fix local diff of non-namespaced resources. Also handle duplicates in local diff ( #1289 )
2019-03-18 21:19:08 -07:00
Alexander Matyushentsev
cafe24da86
Issue #1070 - Handle duplicated resource definitions ( #1284 )
2019-03-18 13:21:03 -07:00
Alexander Matyushentsev
baf157901c
Rename Application observedAt to reconciledAt and use observedAt to notify about partial app refresh ( #1270 )
2019-03-14 16:42:36 -07:00
Alexander Matyushentsev
461d8c980f
Fix nil pointer dereference in CompareAppState ( #1234 ) ( #1240 )
2019-03-07 19:24:47 -08:00
Alexander Matyushentsev
9a7fecef06
Issue #1231 - Deprecated resource kinds from 'extensions' groups are not reconciled correctly ( #1232 )
2019-03-06 01:42:26 -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
418676ffab
Issue #701 - Support for custom templaters ( #1151 )
...
* Issue #701 - Support for custom templaters
2019-02-22 14:56:11 -08:00
Alexander Matyushentsev
87b327f52d
Issue #1075 - Ability to selectively ignore differences to support fuzzy diff comparisons ( #1130 )
...
* Issue #1075 - Ability to selectively ignore differences to support fuzzy diff comparisons
2019-02-22 13:19:10 -08:00
Danny Thomson
00421bb46e
Add custom resource health through lua
2019-01-31 11:46:09 -08:00