Commit Graph
132 Commits
Author SHA1 Message Date
Prajilesh NandGitHub eeae87f157 chore: improve error logs (#10933)
Signed-off-by: Prajilesh <[email protected]>

Signed-off-by: Prajilesh <[email protected]>
2022-10-13 17:53:06 -04:00
jannfisandGitHub 75d334705a feat: Applications in any namespace (#9755)
* feat: Applications in any namespace

Signed-off-by: jannfis <[email protected]>

* Fix typo in CI

Signed-off-by: jannfis <[email protected]>

* Create argocd-e2e-external namespace

Signed-off-by: jannfis <[email protected]>

* Update from codegen

Signed-off-by: jannfis <[email protected]>

* Remove debug code

Signed-off-by: jannfis <[email protected]>

* Update help text for -N option to app create

Signed-off-by: jannfis <[email protected]>

* Wrap error when retrieving AppProject from cache

Signed-off-by: jannfis <[email protected]>

* Check for controller namespace first before matching on additional ns

Signed-off-by: jannfis <[email protected]>

* Improve TestAppProjectIsSourceNamespacePermitted unit test

Signed-off-by: jannfis <[email protected]>

* Get rid of some debug leftovers

Signed-off-by: jannfis <[email protected]>

* Better error wrapping; return IsNotFound as-is

Signed-off-by: jannfis <[email protected]>

* Updates from codegen

Signed-off-by: jannfis <[email protected]>

* We don't need AppShortName() anymore

Signed-off-by: jannfis <[email protected]>

* Update end-to-end tests to use annotation methods

Signed-off-by: jannfis <[email protected]>

* Add e2e tests to test for app creation in not permitted ns

Signed-off-by: jannfis <[email protected]>

* Remove deprecated code

Signed-off-by: jannfis <[email protected]>

* Remove dead code

Signed-off-by: jannfis <[email protected]>

* Add RBACName() method to application type

Signed-off-by: jannfis <[email protected]>

* Update from codegen

Signed-off-by: jannfis <[email protected]>

* Fix e2e test

Signed-off-by: jannfis <[email protected]>

* Update codegen

Signed-off-by: jannfis <[email protected]>

* Move RBAC name generation to an application receiver

Signed-off-by: jannfis <[email protected]>

* Fix sync window status in UI

Signed-off-by: jannfis <[email protected]>

* Fix pod logs viewer

Signed-off-by: jannfis <[email protected]>

* Fix application events in UI

Signed-off-by: jannfis <[email protected]>

* Fix application search in UI

Signed-off-by: jannfis <[email protected]>

* Fix yarn lint

Signed-off-by: jannfis <[email protected]>

* Only set up cluster-wide application informer when additional namespaces are specified

Signed-off-by: jannfis <[email protected]>

* Adapt e2e test to a changed error message

Signed-off-by: jannfis <[email protected]>

* Application namespace should be taken into account for create

Signed-off-by: jannfis <[email protected]>

* Use non-qualified application name as Helm release name

Signed-off-by: jannfis <[email protected]>

* Support --app-namespace in e2e tests

Signed-off-by: jannfis <[email protected]>

* Enable more e2e tests

Signed-off-by: jannfis <[email protected]>

* Increase e2e timeout for newly added tests

Signed-off-by: jannfis <[email protected]>
2022-08-10 11:39:10 +02:00
jannfisandGitHub 2c9fa95c4d fix: Make change of tracking method work at runtime (#9820)
* fix: Make change of tracking method work at runtime

Signed-off-by: jannfis <[email protected]>

* GetAppName() will figure tracking label or annotation on its own

Signed-off-by: jannfis <[email protected]>

* Correct test comments and add another test

Signed-off-by: jannfis <[email protected]>

* Add a read lock before getting cache settings

Signed-off-by: jannfis <[email protected]>
2022-07-06 18:53:38 +02:00
Yuan TangandGitHub c49c8d55a0 feat: Treat connection reset as a retryable error (#9739)
Signed-off-by: Yuan Tang <[email protected]>
2022-06-29 08:52:28 -07:00
a94795cdc4 Merge pull request from GHSA-2f5v-8r3f-8pww
* fix: application resource APIs must enforce project restrictions

Signed-off-by: Alexander Matyushentsev <[email protected]>

* Fix unit tests

Signed-off-by: jannfis <[email protected]>

Co-authored-by: jannfis <[email protected]>
2022-03-22 10:57:30 -07:00
Yuan TangandGitHub 9e699c8361 feat: Support additional retryable errors (#8578)
* feat: Support additional retryable errors

Signed-off-by: Yuan Tang <[email protected]>

* Concise conditions

Signed-off-by: Yuan Tang <[email protected]>
2022-02-26 09:21:16 +01:00
Ben YeandGitHub 3308575dbb feat: expose cluster sync retry duration (#8481)
Signed-off-by: Ben Ye <[email protected]>
2022-02-21 22:44:22 +01:00
jannfisandGitHub 3cdc292899 feat: Make cluster cache sync more robust (#8438)
* feat: Support retry for list operations in cluster cache sync

Signed-off-by: jannfis <[email protected]>

* Fix default retries

Signed-off-by: jannfis <[email protected]>

* Pull in latest gitops-engine

Signed-off-by: jannfis <[email protected]>

* Default retry limit should be 1

Signed-off-by: jannfis <[email protected]>

* Make type conversion earlier

Signed-off-by: jannfis <[email protected]>

* Rename limit to attempt

Signed-off-by: jannfis <[email protected]>

* Revert Makefile change

Signed-off-by: jannfis <[email protected]>
2022-02-16 12:52:38 +01:00
Tristan KeenandGitHub 309159e5e3 fix: Allow all resources to add external links (#7923)
Signed-off-by: Tristan Keen <[email protected]>
2022-01-18 08:23:58 -08:00
Jesse SuenandGitHub cc7091a1b0 feat: update gitops-engine to v0.5.1 and add additional tuning options (#7917)
Signed-off-by: Jesse Suen <[email protected]>
2021-12-13 18:39:25 -08:00
Alexander MatyushentsevandGitHub 8fa6dda80f fix: Argo CD should provide apiversion and kinds to 'helm template' command (#7519)
Signed-off-by: Alexander Matyushentsev <[email protected]>
2021-10-25 16:52:19 -07:00
pasha-codefreshandGitHub f9cc2cf2b8 fix: compare app state (#7341)
* fix compare app state

Signed-off-by: pashavictorovich <[email protected]>
2021-10-01 09:18:01 -07:00
pasha-codefreshandGitHub 38c8ba460b feat: rename app identifier (#7251)
feat: rename app identifier (#7251)

Signed-off-by: pashavictorovich <[email protected]>
2021-09-28 08:35:17 -07:00
Yuan TangandGitHub 343a5e6f41 chore: Update Ingress apiVersion to networking.k8s.io/v1beta1 (#7188)
* chore: Update Ingress apiVersion to networking.k8s.io/v1beta1

Signed-off-by: Yuan Tang <[email protected]>

* Revert changes in  controller/cache/info_test.go

Signed-off-by: Yuan Tang <[email protected]>
2021-09-10 10:04:52 -07:00
Jonah BackandGitHub d25b89fc00 fix(ui): calculate service info correctly for networking.k8s.io/v1 ingress (#6923)
Signed-off-by: Jonah Back <[email protected]>
2021-08-26 14:47:26 -07:00
Remington BreezeandGitHub 79bab0f399 fix: Add https prefix to ingress URLs if hosts field is present (#6901)
Signed-off-by: Remington Breeze <[email protected]>
2021-08-04 09:33:41 -07:00
Alexander MatyushentsevandGitHub 5340dce0f9 feat: support managing cluster resources in a namespaced mode (#6581)
Signed-off-by: Alexander Matyushentsev <[email protected]>
2021-07-19 11:58:58 -07:00
AikawaandGitHub ddca6da103 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 <[email protected]>
2021-05-28 16:27:57 -07:00
Shoubhik BoseandGitHub 043f559fac 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 <[email protected]>
2021-05-19 12:43:04 -07:00
Remington BreezeandGitHub 246600530b fix(ui): Don't count errored or completed neighbor pods toward resource consumption (#6259)
Signed-off-by: Remington Breeze <[email protected]>
2021-05-18 16:01:23 -07:00
1d472ba293 chore: Upgrade Go module to v2 (#5931)
* chore: Upgrade Go module to v2

Signed-off-by: jannfis <[email protected]>

* Restore import order

Signed-off-by: jannfis <[email protected]>

* fix knowntypes_normalizer codegen error

Signed-off-by: Alexander Matyushentsev <[email protected]>

* fix codegen

Signed-off-by: Alexander Matyushentsev <[email protected]>

* fix Procfile

Signed-off-by: Alexander Matyushentsev <[email protected]>

Co-authored-by: Alexander Matyushentsev <[email protected]>
2021-04-01 20:44:18 +02:00
kshamajain99andGitHub 741a80dca3 fix: fix memory leak in application controller (#5604)
fix: fix memory leak in application controller
2021-02-25 08:57:54 -08:00
J. Mark PimandGitHub fe1d052e5d chore: Remove usages of k8s.io/kubernetes (#4055) (#5434)
* chore:Remove usages of k8s.io/kubernetes

Signed-off-by: Mark Pim <[email protected]>

* Linting fix

Signed-off-by: Mark Pim <[email protected]>
2021-02-09 17:12:43 -08:00
kshamajain99andGitHub 4cad37341b fix invalid external url (#5396)
Signed-off-by: kshamajain99 <[email protected]>
2021-02-09 13:06:42 -08:00
Keith ChongandGitHub e7723b9a99 feat: Show number of pod restarts in the argo ui (5041) (#5384)
Signed-off-by: Keith Chong <[email protected]>
2021-02-02 15:18:35 -08:00
Alexander MatyushentsevandGitHub 8e53175ee1 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 <[email protected]>

* fix: make sure node capasity and pod requests are in same unit, improve unit formatting

Signed-off-by: Alexander Matyushentsev <[email protected]>

* fix: application hosts should include info about resources requested by app neighbors

Signed-off-by: Alexander Matyushentsev <[email protected]>

* apply reviewer notes

Signed-off-by: Alexander Matyushentsev <[email protected]>
2021-01-11 12:35:47 -08:00
Remington BreezeandGitHub 6f38a1939a feat(ui): Pod view (#5091)
* feat(server): Pod view server (#5089)

Signed-off-by: Remington Breeze <[email protected]>
2021-01-05 12:28:14 -08:00
jannfisandGitHub 38cd9309a4 chore: Fix failing unit test for TestGetIstioVirtualServiceInfo (#4711) 2020-10-29 08:38:06 -07:00
Omer KahaniandGitHub fb8651a955 feat: add Istio virtual service to the network view - part of #4675 (#4677) 2020-10-28 16:24:06 -07:00
Alexander MatyushentsevandGitHub 301d9bf4c9 refactor: upgrade gitops-engine version ( breaking API changes related to logr mirgation ) (#4652) 2020-10-27 14:10:24 -07:00
Alexander MatyushentsevandGitHub d351d134e3 feat: Support controller horizontal scaling (#4285) 2020-10-09 13:16:54 -07:00
Isaac GaskinandGitHub 506d14b2e7 fix(info.go): omitting wildcard paths from controller cache (#4479)
edge case where /* should not be appended to path
2020-10-05 08:36:26 +02:00
Carson AandGitHub ccfb26cdd5 feat: Add external link annotation support (#4380)
Example implementation of https://github.com/argoproj/argo-cd/issues/3487
2020-09-30 07:39:10 +02:00
jheydukandGitHub a6e3c84c2d fix: application external url falsely uses backend servicePort (#4339)
* fix: application external url falsely uses backend servicePort #2318

Use https if spec.tls is specified for the related host. Otherwise use http

* refactor / add new test
2020-09-16 16:18:28 -07:00
Alexander MatyushentsevandGitHub 8698c5d42c fix: limit concurrent list requests accross all clusters (#4328) 2020-09-14 14:45:02 -07:00
Alexander MatyushentsevandGitHub 07374b294a fix: cluster settings change is not applied correctly (#4070) 2020-08-10 16:13:06 -07:00
Alexander MatyushentsevandGitHub dff8d5e81b feat: support overriding default cluster re-sync duration (#4014) 2020-07-30 10:00:19 -07:00
May ZhangandGitHub 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
Hiroki SakamotoandGitHub d4b37b4007 feat: add resource's age & creation time (#3931)
* feat: add resource creation time to api response

* feat: add creation time to model

* feat: add resource's age to app detail page

* feat: add created_at to resource summary page
2020-07-14 16:54:00 +02:00
Alexander MatyushentsevandGitHub 59f07746cd fix: avoid lock contention in GetClustersInfo method (#3844) 2020-06-24 17:19:39 -07:00
Alexander MatyushentsevandGitHub ca0967a624 feat: Display cluster info on cluster details page (#3793)
* feat: Display cluster info on cluster details page

* Store cluster info in cache instead of secret
2020-06-22 17:51:20 -07:00
Alexander MatyushentsevandGitHub 09f9e991db fix: application controller should not modify cached applications (#3821) 2020-06-22 11:04:25 -07:00
Alexander MatyushentsevandGitHub b46eeb2209 fix: cluster state cache should be initialized before using (#3752) (#3763) 2020-06-12 15:05:01 -07:00
Alexander MatyushentsevandGitHub 7eff98e2dd fix: ensure cache settings read/writes are protected by mutex (#3753) 2020-06-11 12:54:10 -07:00
May ZhangandGitHub 518e28be40 feat: get cluster connection status from cluster synced time (#3604)
feat: get cluster connection status from cluster synced time (#3604)
2020-06-04 11:36:26 -07:00
Alexander MatyushentsevandGitHub 853075ea25 refactor: upgrade gitops engine (#3687) 2020-06-01 20:23:07 +02:00
Alexander MatyushentsevandGitHub d57d53f49d fix: upgrade gitops engine dependency (#3668) 2020-05-28 18:42:01 -07:00
Josh SorefandGitHub 53500a12b8 chore: Spelling (#3647)
chore: Spelling (#3647)
2020-05-27 10:22:13 -07:00
May ZhangandGitHub d29238e176 Fixing how to compare two objects. (#3636) 2020-05-22 15:10:25 -07:00
Alexander MatyushentsevandGitHub 295c74ddfc fix: fix nil pointer dereference error after cluster deletion (#3634) 2020-05-22 09:35:04 -07:00