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
Alexander Matyushentsev
44087fa1b5
Issue #621 - Remove resources state from application CRD ( #758 )
2018-11-16 17:10:04 -08:00
Taylor D. Edmiston
34bb60f064
Make Argo CD naming consistent ( #694 )
...
* Make Argo CD naming consistent
* Change ArgoCD to Argo CD on new lines
2018-11-05 11:29:01 -08:00
Jesse Suen
2498f60c57
Update dependencies to k8s v1.12 and client-go v9.0 ( #729 )
...
Update dependencies to k8s v1.12 and client-go v9.0 (resolves #353 )
Fix issue where applications could not be deleted on k8s v1.12 (resolves #718 )
Refactor k8s dynamic resource libraries to promote code reuse
2018-10-28 22:46:13 -07:00
Alexander Matyushentsev
c76db90437
Issue #628 - Remove RollbackOperation in favor of Sync with ParameterOverrides ( #706 )
2018-10-18 20:23:22 -07:00
Alexander Matyushentsev
9c79af9340
Issue #682 - Operation stuck in 'in progress' state if application has no resources ( #684 )
2018-10-11 11:18:17 -04:00
Andrew Merenbach
1ba52c8880
Allow more fine-grained sync ( closes #508 ) ( #666 )
2018-10-10 10:12:20 -07:00
Jesse Suen
0af77a0706
Add more event sources and provide better detail in event messages (issue #635 ) ( #637 )
...
* Expand SyncOperation to also store parameter overrides
Fix auto-sync when used with parameter overrides
* Add more event sources and provide better detail in event messages (issue #635 )
2018-09-24 08:52:43 -07:00
Alexander Matyushentsev
70b9db68b4
Issue #599 - Lazy enforcement of unknown cluster/namespace restricted resources ( #612 )
2018-09-20 09:48:54 -07:00
Jesse Suen
bfb558eb92
Fix issue where helm hooks were being deployed as part of sync (issue #605 )
2018-09-17 11:29:44 -07:00
dthomson25
954706570c
Reorder K8s resources to correct creation order ( #551 )
2018-09-10 10:14:14 -07:00
Jesse Suen
a7c7523a8c
Support helm charts and yaml directories as an application source ( #432 )
...
* Support helm charts and yaml directories as an application source
* Run e2e test in parallel and increase timeout
2018-07-24 16:37:12 -07:00
Jesse Suen
c0367ed595
Add support for hook deletion policies (OnSuccess, OnFailure) ( resolves #374 ) ( #412 )
2018-07-16 10:15:53 -07:00
Jesse Suen
39b9f4d31a
Add ability to terminate a running operation ( resolves #379 ) ( #409 )
2018-07-13 17:13:31 -07:00
Jesse Suen
078b2339bd
Apply logic was ignoring kubectl apply failures ( #395 )
2018-07-13 10:03:56 -07:00
Jesse Suen
f65859bc25
Label hooks so that the cluster resource watch will be notified about completions ( #387 )
2018-07-12 14:01:54 -07:00
Jesse Suen
7b92977889
Improve logging. Prevent some unecessary patches to app ( #383 )
2018-07-12 12:39:46 -07:00
Jesse Suen
9d921f65f3
Various fixes to sync logic ( #370 )
...
* move hook resource state into SyncResult (from operation state)
* fix rollback to use apply based sync
* re-assess sync/health status between each sync phases
* PostSync hook should wait until application is Healthy (resolves #363 )
2018-07-11 19:12:30 -07:00
Alexander Matyushentsev
8db465c699
Issue #277 - Warning message if controller detect resources which belongs to multiple application ( #372 )
...
* Issue #277 - Warning message if controller detect resources which belongs to multiple application
* Reviewer notes: add missing nil check
2018-07-11 23:00:48 +03:00
Jesse Suen
eb1caf2231
Use hook strategy as the default when performing a sync ( #368 )
2018-07-10 16:02:55 -07:00
Alexander Matyushentsev
adb84f3d03
Issue #210 - Application controller should not erase previously collected info about resources if repo or cluster is not available ( #367 )
2018-07-11 00:45:18 +03:00
Jesse Suen
d633f6b299
Support for PreSync, Sync, PostSync resource hooks ( #350 )
...
* Rewrite controller sync logic to support workflow-based sync
* Redesign hook implementation to support generic resources as hooks
2018-07-07 00:54:06 -07:00