Leonardo Luz Almeida
7bac2c151a
fix: Inconsistent normalization logic during diff ( #7980 )
...
fix: Inconsistent normalization logic during diff (#7980 )
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
2021-12-22 08:57:48 -08:00
jomenxiao
e48350756b
fix nil point ( #7905 )
...
Signed-off-by: jomenxiao <jomenxiao@gmail.com>
2021-12-10 21:23:37 -08:00
Alexander Matyushentsev
bea379b036
refactor: add indexes to secret informers to speedup settings parsing ( #7882 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2021-12-07 14:15:11 -08:00
Alexander Matyushentsev
05935a9d7e
refactor: avoid loading project in frequently executed controller methods ( #7853 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2021-12-03 13:18:08 -08:00
Alexander Matyushentsev
0c0bc1f769
refactor: use cached project while calculating resource tree ( #7747 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2021-11-18 15:45:19 -08:00
Leonardo Luz Almeida
0d4e40ed6a
fix: Address issue during diff when secret data is nil ( #7603 )
...
* fix: update gitops-engine to latest + log improvements
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* run go mod tidy
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
2021-11-03 12:46:05 -07:00
Alexander Matyushentsev
81e801d8ee
fix: Invalid memory address or nil pointer dereference in processRequestedAppOperation ( #7501 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2021-10-20 08:03:55 -07:00
Alexander Matyushentsev
872eff292b
fix: Operation has completed with phase: Running ( #7482 )
...
* fix: Operation has completed with phase: Running
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2021-10-19 17:16:31 -07:00
pasha-codefresh
ddc9f56d05
feat: Cluster name as part of sync ( #7394 )
...
feat: Cluster name as part of sync (#7394 )
Signed-off-by: pashavictorovich <pavel@codefresh.io>
2021-10-18 18:44:54 -07:00
Leonardo Luz Almeida
384f5b2bae
Expose Application labels in prometheus metric ( #7374 )
...
Expose Application labels in prometheus metric (#7374 )
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
2021-10-08 10:15:51 -07:00
pasha-codefresh
3d4deeb4f0
fix: compare app state ( #7341 )
...
* fix compare app state
Signed-off-by: pashavictorovich <pavel@codefresh.io>
2021-10-01 09:18:01 -07:00
pasha-codefresh
bb88a1c975
feat: rename app identifier ( #7251 )
...
feat: rename app identifier (#7251 )
Signed-off-by: pashavictorovich <pavel@codefresh.io>
2021-09-28 08:35:17 -07:00
Alexander Matyushentsev
3799d706df
refactor: cache virtual project calculation to improve performance ( #7274 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2021-09-21 12:20:49 -07:00
pasha-codefresh
7b89c4e53c
feat: Project scoped repo ( #6943 )
...
feat: Project scoped repo (#6943 )
Signed-off-by: pashavictorovich <pavel@codefresh.io>
2021-08-16 09:38:37 -07:00
Josh Soref
1602ec992d
chore: Spelling ( #5373 )
...
* spelling: across
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: anyway
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: assessment
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: attribute
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: crlf
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: cmux
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: committed
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: convenience
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: does-not
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: e.g.
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: fall back
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: fall back to
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: then ... falls back
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: formatted
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: github
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: gitlab
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: gitops
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: health checks
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: located
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: logging
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: oidc
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: openshift
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: os
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: powershell
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: preferred
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: redact
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: repo
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: similarly
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: staging
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: statefulset
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: stopped
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: superseded
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: synchronization
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: to
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: unified
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: verification
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: zookeeper
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2021-07-13 19:02:03 +02:00
Jonathan West
4a4b43f1d2
fix: unable to delete an Application if its target cluster is deleted, Argo CD enters infinite app deletion reconciliation loop ( #6557 )
...
Signed-off-by: Jonathan West <jonwest@redhat.com>
2021-06-29 16:32:21 -04:00
Kshama Jain
2ba6223b6c
feat: update app informer to avoid stale cache ( #6372 )
...
feat: update app informer to avoid stale cache (#6372 )
Signed-off-by: kshamajain99 <kshamajain99@gmail.com>
2021-06-03 15:40:35 -07:00
Aikawa
e44fa434ab
fix: use current logrus config when logrus is created internally ( #6234 ) ( #6301 )
...
fix: use current logrus config when logrus is created internally (#6234 ) (#6301 )
Signed-off-by: yu-croco <yuki.kita22@gmail.com>
2021-05-28 16:27:57 -07:00
Alexander Matyushentsev
696610688e
fix: controller should refresh app before running sync operation ( #6294 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2021-05-21 13:32:31 -07:00
Shoubhik Bose
cc4eea0d69
chore: Organize Application-related defaults/constants in the Application API's package. ( #5893 )
...
chore: Organize Application-related defaults/constants in the Application API's package. (#5893 )
Signed-off-by: Shoubhik Bose <shbose@redhat.com>
2021-05-19 12:43:04 -07:00
Alexander Matyushentsev
9b32e01104
feat: cache resolved git/helm repository revisions ( #6102 )
...
* feat: cache resolved git/helm repository revisions
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2021-05-19 12:30:15 -07:00
Remington Breeze
7d12385aed
fix(ui): Don't count errored or completed neighbor pods toward resource consumption ( #6259 )
...
Signed-off-by: Remington Breeze <remington@breeze.software>
2021-05-18 16:01:23 -07:00
yancl
a125794dba
fix: remove break for appsCount ( #6115 )
...
Signed-off-by: yancl <kmoving@gmail.com>
2021-04-28 12:37:46 -07:00
jannfis
ae49b45249
chore: Upgrade Go module to v2 ( #5931 )
...
* chore: Upgrade Go module to v2
Signed-off-by: jannfis <jann@mistrust.net>
* Restore import order
Signed-off-by: jannfis <jann@mistrust.net>
* fix knowntypes_normalizer codegen error
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
* fix codegen
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
* fix Procfile
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2021-04-01 20:44:18 +02:00
Chetan Banavikalmutt
b728505c9f
feat: support background propagation policy while deleting applications ( #5216 ) ( #5524 )
...
* feat: support background propagation policy
Currently, Argo CD only supports foreground propagation policy ie. delete all the resources in the foreground and then delete the application in the end. This PR introduces a new flag `propagation-policy` to decide the type of policy when cascading is enabled. It also adds an annotation `propagation-policy.argocd.argoproj.io`, which is used by the application controller to decide the order of deletion.
Fixes : #5216
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>
* fix lint and doc errors
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>
* update logs to display the application name
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>
* address review comments
* remove application name from logs since it's already present
* update the propagation policy annotation key
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>
* Add radio buttons in the UI to select propagation policy
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>
* inject finalizers instead of annotations for specifying propagation policy
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>
* rebase branch on master
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>
* update the controller to set the policy only for application's resources
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>
* fix the label of policy radio button
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>
2021-03-15 17:27:41 +01:00
Ishita Sequeira
445d091d49
feat: added cascade option to delete resources #5368 ( #5538 )
...
* feat: added cascade option to delete resources #5368
Signed-off-by: ishitasequeira <isequeir@redhat.com>
* addressed PR comments related to cascade delete
Signed-off-by: ishitasequeira <isequeir@redhat.com>
* feat: update gitops-engine version
Signed-off-by: ishitasequeira <isequeir@redhat.com>
* Fix e2e tests
Signed-off-by: ishitasequeira <isequeir@redhat.com>
* feat: update gitops-engine version
Signed-off-by: ishitasequeira <isequeir@redhat.com>
* fix: Address PR comments
Signed-off-by: ishitasequeira <isequeir@redhat.com>
2021-03-09 14:04:14 +01:00
Abhishek Veeramalla
73edc0a652
fix: Exclude kube-root-ca.crt ConfigMap from Orphaned Resources monitoring by default ( #5490 ) ( #5523 )
...
Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
2021-02-17 11:25:21 +01:00
Victor Boissiere
e0f7731fee
feat(prom): Add prometheus metrics reset support #5287 ( #5304 )
...
* feat(prom): Add prometheus metrics reset support
Signed-off-by: Victor Boissiere <victor.boissiere@gmail.com>
2021-02-09 17:27:08 -08:00
Remington Breeze
3967baf0c9
feat: Prevent unnecessary controller diffing with caching ( #5255 )
...
Signed-off-by: Remington Breeze <remington@breeze.software>
Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2021-01-27 16:13:29 -08:00
Alexander Matyushentsev
27a609fb1a
fix: controller should load application related nodes from target cluster ( #5208 )
...
* fix: controller should load application related nodes from target cluster
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
* fix: make sure node capasity and pod requests are in same unit, improve unit formatting
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
* fix: application hosts should include info about resources requested by app neighbors
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
* apply reviewer notes
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2021-01-11 12:35:47 -08:00
Alexander Matyushentsev
85ea4c445e
fix: add api-server liveness probe that catches bad data in informer ( #5026 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2020-12-10 11:48:27 -08:00
Alexander Matyushentsev
dcf2694285
fix: sync retry is broken for multi-phase syncs ( #5017 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2020-12-09 18:05:34 -08:00
Alexander Matyushentsev
bb7bdbab9b
fix: infer app destination server in indexer to prevent concurrent app object modification ( #4993 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2020-12-08 08:45:37 -08:00
Josh Soref
44c31e278c
Allow deny ( #4293 ) ( #4294 )
...
* chore(ui): switch to using allow/deny (#4293 )
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-11-03 10:54:13 -08:00
Alexander Matyushentsev
a96b476f16
refactor: upgrade gitops-engine version ( breaking API changes related to logr mirgation ) ( #4652 )
2020-10-27 14:10:24 -07:00
Jonathan West
2e06118792
fix: Data race between processAppRefreshQueueItem and processAppOperationQueueItem, in appcontroller.go ( #4643 ) ( #4644 )
2020-10-23 12:05:41 -07:00
Josh Soref
05c493b3a6
Spelling ( #4596 )
2020-10-19 18:21:06 -07:00
Chetan Banavikalmutt
dff7da7271
fix: Infer destination server when latest version of app is fetched ( #4574 )
2020-10-15 08:57:18 -07:00
Chetan Banavikalmutt
5fa808a788
fix: Infer cluster URL while deleting app resource ( #4559 )
...
An application can be created by specifying only cluster name. Since cluster URL is used for queries, it should inferred. ValidateDestination() method will infer the cluster URL if cluster name is present.
Fixes : #4534
2020-10-14 10:32:41 -07:00
May Zhang
f512d213cf
feat: global project ( #4506 )
...
* feat: global project
* feat: revert back argocd-cm.yaml
* feat: remove commented code.
* feat: check err
* feat: corrected comments.
* feat: merge sync windows
* feat: getProject
* feat: fix lint error
* feat: update existing test case
* feat: minor comments
* feat: Fixed for sync window which is also called from API server.
* feat: fix application tests
* feat: block by sync window
* feat: test using sync window
* feat: updated based on code review
* feat: fixed comment
2020-10-13 15:12:05 -07:00
Alexander Matyushentsev
303925f4a0
feat: Support controller horizontal scaling ( #4285 )
2020-10-09 13:16:54 -07:00
May Zhang
286f98ba82
feat: autosync protection ( #4475 )
...
* feat: autosync protection
* feat: autosync protection - update doc
* feat: autosync protection - update doc with version
2020-10-06 21:10:50 -07:00
Alexander Matyushentsev
1b3d7a02e1
fix: failed syncs are not retried soon enough ( #4353 )
2020-09-16 13:39:18 -07:00
Alexander Matyushentsev
fca0f69b5e
refactor: Replace status.observedAt with redis pub/sub channels for resource tree updates ( #1340 ) ( #4208 )
2020-08-31 10:18:12 -07:00
Oleg Sucharevich
3a50f8df81
feat: do not include kube-api check in application liveness flow ( #4163 )
...
* feat: do not include kube-api liveness check in application liveness flow
2020-08-26 10:33:36 -07:00
Alexander Matyushentsev
68597718bf
fix: terminated sync operation should not auto-retry ( #4056 )
2020-08-05 17:58:59 -07:00
Alexander Matyushentsev
c82451ca9a
fix: infer app destination server URL prior app deletion and during lightweight reconciliation ( #4039 )
...
* fix: infer app destination server URL prior app deletion and during lightweight reconciliation
* apply reviewer notes
2020-08-05 17:58:20 -07:00
Alexander Matyushentsev
ba71ad934c
refactor: upgrade k8s client to 1.18 ( #4046 )
...
* refactor: upgrade k8s client to 1.18
* remove unnecessary go mod replacements
2020-08-05 11:36:40 -07:00
May Zhang
382bbdf031
feat: autosync protection ( #3996 )
2020-07-28 19:52:30 -07:00
Alexander Matyushentsev
a6399e59e1
feat: support retrying failed sync attempts ( #3997 )
...
* feat: support retrying failed sync attempts
* fix: sync results should be cleared in retry sync attempt
2020-07-28 10:14:17 -07:00