Alexander Matyushentsev
ee64a4d9ca
fix: upgrade gitops engine dependency ( #3668 )
2020-05-28 18:42:01 -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
Alexander Matyushentsev
9b142c799a
fix: 'argocd sync' does not take into account IgnoreExtraneous annotation ( #3486 )
2020-04-28 08:49:07 -07:00
Andreas Kappler
8d082cc46e
feat: Introduce sync-option SkipDryRunOnMissingResource=true ( #2873 ) ( #3247 )
...
* feat: Introduce sync-option SkipDryRunOnMissingResource=true
2020-04-08 10:53:18 -07:00
jannfis
9fdd782854
fix: Do not panic while running hooks with short revision ( #3368 )
2020-04-05 23:54:09 -07:00
Alexander Matyushentsev
7fd7999e49
fix: increase max connections count to support clusters with very large number of CRDs ( #3278 )
2020-03-25 01:02:33 -07:00
Alex Collins
ebc048167c
feat: Supports the validate-false option at an app level. Closes #1063 ( #2542 )
2020-02-10 14:09:25 -08:00
Alexander Matyushentsev
08e50d4eb3
fix: use resource health for hook status evaluation ( #2938 )
2020-01-07 15:01:40 -08: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
Jesse Suen
73f0437ef3
feat: Use kubectl apply library instead of forking binary ( #2861 )
2019-12-13 17:29:01 -08: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
9aa1b18610
Issue #2321 - Hook deletion should not fail if error message is not found ( #2458 )
2019-10-09 16:46:19 -07:00
Alex Collins
21bc70be05
If there is only one wave and no pre/post hooks, we should be synced.… ( #2217 )
2019-08-27 08:56:59 -07:00
Alex Collins
38b0f9d21f
Deals with race condition when deleting resource. Closes #2141 ( #2200 )
2019-08-22 17:17:04 -07:00
Alex Collins
fc934fd4d7
Improves BeforeHookCreation. Closes #2141 ( #2142 )
2019-08-22 09:39:15 -07:00
Alexander Matyushentsev
b7377a1080
Issue #2146 - Fix nil pointer dereference error during app reconciliation ( #2170 )
2019-08-20 08:43:29 -07:00
Alex Collins
3f312a9e92
Adds support for hook-delete-policy: BeforeHookCreation. Closes #2036 ( #2048 )
2019-08-07 10:32:49 -07:00
Alexander Matyushentsev
017f9c06fb
Issue #1940 - Wait for CRD creation during sync process ( #1999 )
2019-07-24 15:00:40 -07:00
Simon Behar
fb5e85d7fa
Added SyncFail hooks ( #1795 )
2019-06-28 15:50:02 -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
d2647e85a9
Fixes a bug where cluster objs could leave app is running op state. C… ( #1796 )
2019-06-20 21:26:19 -07:00
Alex Collins
4660456ad9
Adds Validate=false that disables validation when applying resources.… ( #1750 )
2019-06-18 14:07:26 -07:00
Simon Behar
120502097a
Added local path syncing ( #1578 )
2019-06-17 19:09:43 -07:00
Alex Collins
b7f1639016
No longer waits for healthy before completing sync op. Closes #1715 ( #1727 )
2019-06-11 15:47:19 -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
Alexander Matyushentsev
686fab7fec
Issue #1414 - Load target resource using K8S if conversion fails ( #1527 )
2019-04-29 12:42:59 -07:00
Alex Collins
cd25c4b3c9
Enables default lint checks, fixes lint and bugs ( #1330 )
2019-03-28 13:37:53 -07: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
Jesse Suen
3e4e4f30ec
Prevent deletion hotloop. Improve reconciliation log for easier log queries ( #1115 )
2019-02-13 10:11:01 -08:00
Alexander Matyushentsev
074c812592
Fix sync operation sorting ( #1042 )
2019-01-18 07:32:50 -08:00
Alexander Matyushentsev
fa4b761612
Use informers to load ArgoCD settings ( #989 )
...
* Use informers to load Argo CD settings
2019-01-08 14:53:45 -08:00
Jesse Suen
5490766972
Fix issue where custom resource objects might get synced to incorrect namespace during initial sync ( #982 )
2019-01-07 13:46:11 -08:00
Alexander Matyushentsev
df0591a831
Issue #978 - Fix application rollback to deployment without overrides ( #979 )
...
* Issue #978 - Fix application rollback to deployment without overrides
* Fix imports sorting
2019-01-04 10:16:41 -08:00
Alexander Matyushentsev
eee33e336d
Correctly drop cluster cache after CRD creation/deletion ( #947 )
2018-12-19 11:43:21 -08:00
Alexander Matyushentsev
c904fa9092
Issue 914 - Allow invalidating application related cache ( #931 )
2018-12-17 18:23:35 -08:00
dthomson25
8ea474a3c9
Remove gracePeriod seconds option from API ( #900 )
2018-12-07 10:50:40 -08:00
dthomson25
0af3836f74
Add force delete option to API ( #891 )
2018-12-06 16:00:10 -08:00
Alexander Matyushentsev
c73ea2de1d
Remove parameters field from ApplicationStatus ( #872 )
...
* Remove parameters field from ApplicationStatus
* Remove unnecessary override parameters validation
2018-12-04 22:28:58 -08:00
Jesse Suen
cbaf8a0bc8
Promote resources field in ComparisonStatus to application.status
...
Fix pruning/syncing when changing application namespace
Rename DeploymentInfo to RevisionHistory to be consistent with k8s
2018-12-04 10:03:01 -08:00
Jesse Suen
f5861aa708
Refactor, consolidate and rename resource type datastructures
2018-12-04 10:03:01 -08:00
Jesse Suen
4fa33f300b
Proper treatment of resource lifecycle hooks: ( #859 )
...
* do not allow hooks to affect Synced or Health status
* do not delete hooks during a sync --prune
* add health statuses for jobs and pods
2018-12-03 10:27:43 -08:00
Jesse Suen
83fb5fb388
Rename 'controlled resources' to 'managed resources' ( #850 )
...
Rename 'resources tree' to 'resource tree'
2018-11-30 10:32:31 -08:00
Alexander Matyushentsev
6dede28f72
Issue #696 - Support apps with static namespaces in resources ( #842 )
2018-11-29 15:34:46 -08:00
Alexander Matyushentsev
6368a3e548
Refactor application controller ( #840 )
...
* Refactor application controller
2018-11-28 13:38:02 -08:00
Zvi Cahana
2b23812e6e
Relax validation to permit app with no manifests ( #832 )
2018-11-27 02:52:46 -08:00
Jesse Suen
3b447a19ea
Support for Pods as a sync hook ( #801 )
...
Add app label to pod metadata in job.spec.template.labels
Fix issue where hooks could bypass a project whitelist/blacklist (issue #794 )
Fix issue where deletion of hooks did not perform a cascaded deletion (issue #797 )
2018-11-21 11:58:08 -08:00
Alexander Matyushentsev
275b9e194d
Issue #355 - Treat 'crd-install' hooks as normal k8s resource ( #792 )
2018-11-16 17:12:21 -08:00