May Zhang and GitHub
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
Alexander Matyushentsev and GitHub
11b0b76735
fix: controller should not re-trigger auto-sync if sync failed due to comparison error ( #3824 )
2020-06-22 14:09:22 -07:00
Darshan Chaudhary and GitHub
86523f0d92
feat: add time taken to complete deployment ( #3715 )
...
* feat: add time taken to complete deployment
Signed-off-by: darshanime <[email protected] >
* feat: add test for adding deploy started at time
Signed-off-by: darshanime <[email protected] >
* feat: use hourglass for time to deploy
Signed-off-by: darshanime <[email protected] >
* feat: add comments to RevisionHistory fields
Signed-off-by: darshanime <[email protected] >
2020-06-10 14:28:40 +02:00
May Zhang and GitHub
468bdad8c7
fix: support partial sync with namespace. ( #3705 )
...
* support partial sync with namespace.
* corrected test folder name
* Trying to fix lint error
* 1. in test, delete ns after test
2. in test, created new methods for ResourceSyncStatusWithNamespaceIs and ResourceHealthWithNamespaceIs.
* reformat imports
* simplify code
* remove timeout
2020-06-08 15:59:59 -07:00
Alexander Matyushentsev and GitHub
d57d53f49d
fix: upgrade gitops engine dependency ( #3668 )
2020-05-28 18:42:01 -07:00
Alexander Matyushentsev and GitHub
a68b34dd33
feat: move engine code to argoproj/gitops-engine repo ( #3599 )
2020-05-15 14:39:29 -07:00
Alexander Matyushentsev and GitHub
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
Alexander Matyushentsev and GitHub
895ef048c2
fix: 'argocd sync' does not take into account IgnoreExtraneous annotation ( #3486 )
2020-04-28 08:49:07 -07:00
Andreas Kappler and GitHub
95e576d35f
feat: Introduce sync-option SkipDryRunOnMissingResource=true ( #2873 ) ( #3247 )
...
* feat: Introduce sync-option SkipDryRunOnMissingResource=true
2020-04-08 10:53:18 -07:00
jannfis and GitHub
496b93b717
fix: Do not panic while running hooks with short revision ( #3368 )
2020-04-05 23:54:09 -07:00
Alexander Matyushentsev and GitHub
2d9a7351a2
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 and GitHub
a4d81bc17b
feat: Supports the validate-false option at an app level. Closes #1063 ( #2542 )
2020-02-10 14:09:25 -08:00
Alexander Matyushentsev and GitHub
b5b6958f59
fix: use resource health for hook status evaluation ( #2938 )
2020-01-07 15:01:40 -08:00
Alexander Matyushentsev and GitHub
1b98497e2d
fix: prevent user from seeing/deleting resources not permitted in project ( #2908 ) ( #2910 )
2019-12-26 14:08:14 -08:00
Jesse Suen and GitHub
7b98a9734b
feat: Use kubectl apply library instead of forking binary ( #2861 )
2019-12-13 17:29:01 -08:00
Alex Collins and GitHub
77ba4585b4
Fix bug preventing Helm CRDs from being installed ( #2500 )
2019-10-16 10:12:38 -07:00
Alexander Matyushentsev and GitHub
fbaf0aff0d
Issue #2453 - Application controller sometimes accidentally removes duplicated/excluded resource warning condition ( #2454 )
2019-10-10 17:26:53 -07:00
Alexander Matyushentsev and Alex Collins
73f57354a8
Issue #2321 - Hook deletion should not fail if error message is not found ( #2458 )
2019-10-09 16:46:19 -07:00
Alex Collins and GitHub
0dce3939e3
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 and GitHub
58ef2cec68
Deals with race condition when deleting resource. Closes #2141 ( #2200 )
2019-08-22 17:17:04 -07:00
Alex Collins and GitHub
41dcd3e2ba
Improves BeforeHookCreation. Closes #2141 ( #2142 )
2019-08-22 09:39:15 -07:00
Alexander Matyushentsev and GitHub
d85eb72caa
Issue #2146 - Fix nil pointer dereference error during app reconciliation ( #2170 )
2019-08-20 08:43:29 -07:00
Alex Collins and GitHub
440bc914e0
Adds support for hook-delete-policy: BeforeHookCreation. Closes #2036 ( #2048 )
2019-08-07 10:32:49 -07:00
Alexander Matyushentsev and GitHub
62366991ec
Issue #1940 - Wait for CRD creation during sync process ( #1999 )
2019-07-24 15:00:40 -07:00
Simon Behar and Alex Collins
a877e9af74
Added SyncFail hooks ( #1795 )
2019-06-28 15:50:02 -07:00
Alexander Matyushentsev and GitHub
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 Collins and GitHub
f5954db1e0
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 and GitHub
a5c294e6ab
Adds Validate=false that disables validation when applying resources.… ( #1750 )
2019-06-18 14:07:26 -07:00
Simon Behar and Alex Collins
7b9e2b1479
Added local path syncing ( #1578 )
2019-06-17 19:09:43 -07:00
Alex Collins and GitHub
8f1e115acf
No longer waits for healthy before completing sync op. Closes #1715 ( #1727 )
2019-06-11 15:47:19 -07:00
Alex Collins and GitHub
f1f8b7f93c
Adds Prune=false and IgnoreExtraneous options ( #1680 )
2019-06-07 08:46:11 -07:00
Alex Collins and GitHub
267bded23f
Sync wave ( #1634 )
2019-06-04 18:17:41 -07:00
Alexander Matyushentsev and GitHub
d411093558
Issue #1414 - Load target resource using K8S if conversion fails ( #1527 )
2019-04-29 12:42:59 -07:00
Alex Collins and GitHub
d1bd5490eb
Enables default lint checks, fixes lint and bugs ( #1330 )
2019-03-28 13:37:53 -07:00
Jesse Suen and GitHub
ea403b21e0
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 and GitHub
14372cfe33
Prevent deletion hotloop. Improve reconciliation log for easier log queries ( #1115 )
2019-02-13 10:11:01 -08:00
Alexander Matyushentsev and GitHub
aa35d34f23
Fix sync operation sorting ( #1042 )
2019-01-18 07:32:50 -08:00
Alexander Matyushentsev and GitHub
602dfce9ab
Use informers to load ArgoCD settings ( #989 )
...
* Use informers to load Argo CD settings
2019-01-08 14:53:45 -08:00
Jesse Suen and GitHub
2eaddb9b53
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 and GitHub
895847c8be
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 and GitHub
59d38da6b2
Correctly drop cluster cache after CRD creation/deletion ( #947 )
2018-12-19 11:43:21 -08:00
Alexander Matyushentsev and GitHub
37cb8d0e64
Issue 914 - Allow invalidating application related cache ( #931 )
2018-12-17 18:23:35 -08:00
dthomson25 and GitHub
a9746b3fa1
Remove gracePeriod seconds option from API ( #900 )
2018-12-07 10:50:40 -08:00
dthomson25 and Alexander Matyushentsev
f7a5f84bd8
Add force delete option to API ( #891 )
2018-12-06 16:00:10 -08:00
Alexander Matyushentsev and GitHub
e6a9b8e233
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 and Jesse Suen
f1211f2c2a
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 and Jesse Suen
a4b095c402
Refactor, consolidate and rename resource type datastructures
2018-12-04 10:03:01 -08:00
Jesse Suen and GitHub
41ae29ffbd
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 and GitHub
a28044ea54
Rename 'controlled resources' to 'managed resources' ( #850 )
...
Rename 'resources tree' to 'resource tree'
2018-11-30 10:32:31 -08:00
Alexander Matyushentsev and GitHub
c8491e1203
Issue #696 - Support apps with static namespaces in resources ( #842 )
2018-11-29 15:34:46 -08:00