ABBOUD Moncef
fe7771cc83
fix: handle incorrect cluster RESTconfig without panic ( #20150 )
...
Signed-off-by: cef <moncef.abboud95@gmail.com >
2024-10-06 17:55:26 +03:00
Alexander Matyushentsev
03a16099b0
fix: support managing cluster with multiple argocd instances and annotation based tracking ( #20222 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2024-10-04 17:54:37 -07:00
kahoulei
75e73834bf
feat: Add ignore-resources-tracking annotation to ignore resources update ( #18343 )
...
* feat: Add ignore-resources-tracking annotation to ignore resources update
Signed-off-by: kahoulei <kahou.lei@okta.com >
* add doc
Signed-off-by: kahoulei <kahou.lei@okta.com >
* update annotation doc
Signed-off-by: kahoulei <kahou.lei@okta.com >
* refactor annotation usage base on comment feedback
Signed-off-by: kahoulei <kahou.lei@okta.com >
* update annotation
Signed-off-by: kahoulei <kahou.lei@okta.com >
* do not store boolean in resourceInfo
Signed-off-by: kahoulei <kahou.lei@okta.com >
* typo
Signed-off-by: kahoulei <kahou.lei@okta.com >
* update logic
Signed-off-by: kahoulei <kahou.lei@okta.com >
* refactor
Signed-off-by: kahoulei <kahou.lei@okta.com >
* add comment
Signed-off-by: kahoulei <kahou.lei@okta.com >
* add tests
Signed-off-by: kahoulei <kahou.lei@okta.com >
* update doc
Signed-off-by: kahoulei <kahou.lei@okta.com >
* update code base on comment feedback
Signed-off-by: kahoulei <kahou.lei@okta.com >
* update annotation doc
Signed-off-by: kahoulei <kahou.lei@okta.com >
* fix goimport
Signed-off-by: kahoulei <kahou.lei@okta.com >
* fix golint
Signed-off-by: kahoulei <kahou.lei@okta.com >
* update comments
Signed-off-by: kahoulei <kahou.lei@okta.com >
* update docs
Signed-off-by: kahoulei <kahou.lei@okta.com >
* update annotation name
Signed-off-by: kahoulei <kahou.lei@okta.com >
* rename annotation
Signed-off-by: kahoulei <kahou.lei@okta.com >
* lint check
Signed-off-by: kahoulei <kahou.lei@okta.com >
---------
Signed-off-by: kahoulei <kahou.lei@okta.com >
Co-authored-by: kahoulei <kahou.lei@okta.com >
Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com >
2024-07-29 11:26:50 -04:00
Andrii Korotkov
c59cb52b27
chore: Use more optimal iterate hierarchy v2 ( #18929 ) ( #18972 )
...
Closes #18929
Helps with #18500
Use iterate hierarchy v2 to have a roughly linear performance for getting the resource tree instead of up to quadratic.
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com >
2024-07-19 11:37:13 -04:00
Cayde6
06b0f957b8
chore(migrate): migrate mockery codegen to use packages( #18579 ) ( #18617 )
...
* chore(migrate): mockery migrate to packages
migrate interface
- remove go:generate
- generate mock
Signed-off-by: Jack-R-lantern <tjdfkr2421@gmail.com >
* chore(migrate: mockery migrate to package
add mockgen stage
- add mockgen command to Makefile
- add generate-mock.sh
- add install mockery to install-codegen-go-tool.sh
Signed-off-by: Jack-R-lantern <tjdfkr2421@gmail.com >
---------
Signed-off-by: Jack-R-lantern <tjdfkr2421@gmail.com >
2024-07-02 10:48:38 -04:00
Matthieu MOREL
140f17255a
chore: enable errorlint linter on controller folder ( #18596 )
...
* chore: enable errorlint linter on controller folder
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update cache.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update cache.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
---------
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-11 15:33:22 -04:00
Matthieu MOREL
7cf5ed06d4
chore: enable gofumpt and whitespace linters ( #18567 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-11 15:41:55 +00:00
Blake Pettersson
049900e646
chore: automate mock generation v2 ( #18371 )
...
* Add go:generate statements for mockery
Signed-off-by: Will Roden <will@roden.cc >
* revert whitespace change
Signed-off-by: Will Roden <will@roden.cc >
* go generate everything
Signed-off-by: Will Roden <will@roden.cc >
* make gogen
Signed-off-by: Will Roden <will@roden.cc >
* chore: upgrade to mockery v2.40.2
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
---------
Signed-off-by: Will Roden <will@roden.cc >
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
Co-authored-by: Will Roden <will@roden.cc >
2024-05-23 11:15:15 +03:00
Arata Furukawa
36ff5cf1e1
fix: copy visited map #11699 ( #12667 )
...
This commit fixed an issue #11699 that caused a warning even if the cycle didn't exist.
Fix false cycle discovery by copying the visited resource map before recursively calling of getAppRecursive.
Fixes #11699
Signed-off-by: Arata Furukawa <old.river.new@gmail.com >
Co-authored-by: Blake Pettersson <blake.pettersson@gmail.com >
2024-05-14 15:37:20 -07:00
pasha-codefresh
e23060540f
Merge pull request from GHSA-9m6p-x4h2-6frq
...
* feat: limit jq.Run with timeout
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* feat: ignore normalizer jq execution timeout as env variable
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* feat: customize error message and add doc section
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* feat: improve log and change a way how to get variable
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* chore: fix import`s order
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* chore: rename variable inside sts
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* chore: fix import order
Signed-off-by: pashakostohrys <pavel@codefresh.io >
---------
Signed-off-by: pashakostohrys <pavel@codefresh.io >
2024-04-26 12:24:02 +03:00
Mangaal
766a6da2cd
feat: Enhance ArgoCD CLI: Dynamic Repo Server Retrieval with --core and --refresh Flags ( #17613 )
...
* add const key value for ComponentRepoServer
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com >
* update NewRepoServerClient() to look for service with ComponentRepoServer labels , if the label exist construct label selector PortForward
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com >
* add comment for the new constants
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com >
* instead of passing nil which leads to nil ptr referance error, pass empty ClusterSharding{}
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com >
* check for operator install repo server name
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com >
* handle empty nil ptr dereference error
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com >
* handle nil prt dereference
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com >
* typo correction
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com >
* run clidocsgen
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com >
---------
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com >
2024-03-29 14:49:16 -04:00
Pelen
d76976ff12
fix: add retry condition with kube-apiserver sent GOAWAY ( #17422 )
...
Signed-off-by: penglongli <pelenli@tencent.com >
2024-03-07 09:50:34 -05:00
Lukas Wöhrl
5d6111b745
fix: infer correct shard in statefulset setup ( #17124 , #17016 ) ( #17167 )
...
* fix: infer correct shard in statefulset setup
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com >
* fix the case if only a single replica
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com >
* fix: resolving pointer on shard compare
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com >
* fix: add readlock for cluster accessor
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com >
* fix: use defer to protect access of 'shard'
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com >
* fix: revert locking in getclusteraccessor
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com >
* fix: handle nil shard case
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com >
* fix: handle any nil shard value as false
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com >
* fix: handle nil case and fix another missing pointer dereference
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com >
* revert
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com >
* fix: added tests and fixed some behaviour bugs
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com >
* test: add test to validate that Shard value is not overriden
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com >
* fix: added tests and fixe the case when server is changed inside a secret
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com >
* tests: add test cases for infering the shard logic
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com >
---------
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com >
2024-02-13 11:51:41 -05:00
Akram Ben Aissi
cd4fc97c9d
fix: Use the cache for sharding ( #15237 )
...
* feat(sharding): use a cache
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* cluster cmd
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* - Assign shard 0 to in-cluster cluster and nil check updates
- Caching clusters while sharding: Fixing unit tests
- Update generated docs
- Debug e2e tests
- Default the shardNumber to the number of replicas if it is calculated to a higher value
- defered Unlock only when a lock is set
- Disabling temporarly other versions of k3s to check if e2e passes
- Do not fail if hostname format is not abc-n
- Fix unit test and skip some e2e
- Skip TestGitSubmoduleHTTPSSupport test
- Remove breaking defer c.lock.Unlock()
- Reverting testing all k3s version
- Default sharding fix
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com >
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com >
* fixes related to code review: renaming structure param, moving db initialisation
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com >
* Code review
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com >
* Set default shard to 0
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com >
* Set different default value for Sts and Deployment mode
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com >
* Expose ClusterShardingCache
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com >
* Removing use of argoDB.db for DistributionFunction
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com >
* Update generated documentation
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com >
* Fix comment about NoShardingDistributionFunction and NoShardingAlgorithm
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com >
---------
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com >
Co-authored-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
2024-01-11 01:32:11 -05:00
Brad West
fec5b522a4
feat: Add ARGOCD_CLUSTER_CACHE_LIST_PAGE_BUFFER_SIZE environment variable ( #15159 )
...
Signed-off-by: Brad West <brad.g.west@gmail.com >
2023-09-06 22:01:35 -04:00
gdsoumya
4fadd9e541
feat: auto respect rbac for discovery/sync ( #14381 )
...
feat: auto respect rbac for discovery/sync (#14381 )
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com >
2023-09-06 10:41:30 -07:00
Michael Crenshaw
21c71320bc
chore: wrap ComparisonError messages ( #14886 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2023-08-03 22:06:19 +00:00
Nathan Romriell
2f84dacc03
fix(controller): cache deadlock on delete and re-add cluster ( #14780 )
...
Signed-off-by: Nathan Romriell <nateromriell@gmail.com >
2023-07-31 09:04:01 -07:00
Alexandre Gaudreault
53db27e88a
fix: deadlock in controller ( #14304 )
...
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
2023-07-01 16:32:33 -04:00
Alexandre Gaudreault
88994ea5cd
feat: add ignoreResourceUpdates to reduce controller CPU usage ( #13534 ) ( #13912 )
...
* feat: ignore watched resource update
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* add doc and CLI
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* update doc index
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* add command
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* codegen
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* revert formatting
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* do not skip on health change
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* update doc
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* update logging to use context
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* fix typos. local build broken...
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* change after review
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* manifestHash to string
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* more doc
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* example for argoproj Application
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* add unit test for ignored logs
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* codegen
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* Update docs/operator-manual/reconcile.md
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* move hash and set log to debug
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* Update util/settings/settings.go
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* Update util/settings/settings.go
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* feature flag
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* fix
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* less aggressive managedFields ignore rule
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* Update docs/operator-manual/reconcile.md
Co-authored-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* use local settings
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* latest settings
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* safety first
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* since it's behind a feature flag, go aggressive on overrides
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2023-06-25 01:32:20 +00:00
Alexander Matyushentsev
325878c4d1
fix: avoid acquiring lock on two mutexes at the same time to prevent deadlock ( #13636 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2023-05-18 19:20:13 +00:00
fsl
60c4ed1c27
chore: Comment format ( #12399 )
...
* feat: Comment format
Signed-off-by: fengshunli <1171313930@qq.com >
* Apply suggestions from code review
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: fengshunli <1171313930@qq.com >
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2023-03-29 19:41:22 +00:00
Tsubasa Nagasawa
42d1c85d75
fix: suppress Kubernetes API deprecation warnings from application controller ( #12067 )
...
Completely suppress warning logs only for log levels that are less than Debug.
Signed-off-by: toVersus <toversus2357@gmail.com >
2023-03-06 16:48:06 -05:00
Jellyfrog
584428edaf
fix: populate parentRefs correctly with multiple owners ( #3910 ) ( #11715 )
...
* fix: populate parentRefs correctly with multiple owners
It previously simply wrote to key 0, instead of appending all owners
Signed-off-by: Jellyfrog <Jellyfrog@users.noreply.github.com >
* test multiple resource owners
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Jellyfrog <Jellyfrog@users.noreply.github.com >
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2023-01-19 11:57:45 -05:00
Alex Eftimie
0ea88b7d72
feature: allow a custom labels on any resource to surface in the UI (tree view node tags) ( #11153 )
...
* feature: allow a custom label on any resource to surface the UI
Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com >
2022-11-18 22:29:22 +00:00
Prajilesh N
6e9e16e80f
chore: improve error logs ( #10933 )
...
Signed-off-by: Prajilesh <nprajilesh@gmail.com >
Signed-off-by: Prajilesh <nprajilesh@gmail.com >
2022-10-13 17:53:06 -04:00
jannfis
068048cb80
feat: Applications in any namespace ( #9755 )
...
* feat: Applications in any namespace
Signed-off-by: jannfis <jann@mistrust.net >
* Fix typo in CI
Signed-off-by: jannfis <jann@mistrust.net >
* Create argocd-e2e-external namespace
Signed-off-by: jannfis <jann@mistrust.net >
* Update from codegen
Signed-off-by: jannfis <jann@mistrust.net >
* Remove debug code
Signed-off-by: jannfis <jann@mistrust.net >
* Update help text for -N option to app create
Signed-off-by: jannfis <jann@mistrust.net >
* Wrap error when retrieving AppProject from cache
Signed-off-by: jannfis <jann@mistrust.net >
* Check for controller namespace first before matching on additional ns
Signed-off-by: jannfis <jann@mistrust.net >
* Improve TestAppProjectIsSourceNamespacePermitted unit test
Signed-off-by: jannfis <jann@mistrust.net >
* Get rid of some debug leftovers
Signed-off-by: jannfis <jann@mistrust.net >
* Better error wrapping; return IsNotFound as-is
Signed-off-by: jannfis <jann@mistrust.net >
* Updates from codegen
Signed-off-by: jannfis <jann@mistrust.net >
* We don't need AppShortName() anymore
Signed-off-by: jannfis <jann@mistrust.net >
* Update end-to-end tests to use annotation methods
Signed-off-by: jannfis <jann@mistrust.net >
* Add e2e tests to test for app creation in not permitted ns
Signed-off-by: jannfis <jann@mistrust.net >
* Remove deprecated code
Signed-off-by: jannfis <jann@mistrust.net >
* Remove dead code
Signed-off-by: jannfis <jann@mistrust.net >
* Add RBACName() method to application type
Signed-off-by: jannfis <jann@mistrust.net >
* Update from codegen
Signed-off-by: jannfis <jann@mistrust.net >
* Fix e2e test
Signed-off-by: jannfis <jann@mistrust.net >
* Update codegen
Signed-off-by: jannfis <jann@mistrust.net >
* Move RBAC name generation to an application receiver
Signed-off-by: jannfis <jann@mistrust.net >
* Fix sync window status in UI
Signed-off-by: jannfis <jann@mistrust.net >
* Fix pod logs viewer
Signed-off-by: jannfis <jann@mistrust.net >
* Fix application events in UI
Signed-off-by: jannfis <jann@mistrust.net >
* Fix application search in UI
Signed-off-by: jannfis <jann@mistrust.net >
* Fix yarn lint
Signed-off-by: jannfis <jann@mistrust.net >
* Only set up cluster-wide application informer when additional namespaces are specified
Signed-off-by: jannfis <jann@mistrust.net >
* Adapt e2e test to a changed error message
Signed-off-by: jannfis <jann@mistrust.net >
* Application namespace should be taken into account for create
Signed-off-by: jannfis <jann@mistrust.net >
* Use non-qualified application name as Helm release name
Signed-off-by: jannfis <jann@mistrust.net >
* Support --app-namespace in e2e tests
Signed-off-by: jannfis <jann@mistrust.net >
* Enable more e2e tests
Signed-off-by: jannfis <jann@mistrust.net >
* Increase e2e timeout for newly added tests
Signed-off-by: jannfis <jann@mistrust.net >
2022-08-10 11:39:10 +02:00
jannfis
2a3c69279f
fix: Make change of tracking method work at runtime ( #9820 )
...
* fix: Make change of tracking method work at runtime
Signed-off-by: jannfis <jann@mistrust.net >
* GetAppName() will figure tracking label or annotation on its own
Signed-off-by: jannfis <jann@mistrust.net >
* Correct test comments and add another test
Signed-off-by: jannfis <jann@mistrust.net >
* Add a read lock before getting cache settings
Signed-off-by: jannfis <jann@mistrust.net >
2022-07-06 18:53:38 +02:00
Yuan Tang
8dcf71f0a7
feat: Treat connection reset as a retryable error ( #9739 )
...
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com >
2022-06-29 08:52:28 -07:00
Alexander Matyushentsev
af03b291d4
Merge pull request from GHSA-2f5v-8r3f-8pww
...
* fix: application resource APIs must enforce project restrictions
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
* Fix unit tests
Signed-off-by: jannfis <jann@mistrust.net >
Co-authored-by: jannfis <jann@mistrust.net >
2022-03-22 10:57:30 -07:00
Yuan Tang
0a46d37fc6
feat: Support additional retryable errors ( #8578 )
...
* feat: Support additional retryable errors
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com >
* Concise conditions
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com >
2022-02-26 09:21:16 +01:00
Ben Ye
52ba42389a
feat: expose cluster sync retry duration ( #8481 )
...
Signed-off-by: Ben Ye <ben.ye@bytedance.com >
2022-02-21 22:44:22 +01:00
jannfis
f059c99aa7
feat: Make cluster cache sync more robust ( #8438 )
...
* feat: Support retry for list operations in cluster cache sync
Signed-off-by: jannfis <jann@mistrust.net >
* Fix default retries
Signed-off-by: jannfis <jann@mistrust.net >
* Pull in latest gitops-engine
Signed-off-by: jannfis <jann@mistrust.net >
* Default retry limit should be 1
Signed-off-by: jannfis <jann@mistrust.net >
* Make type conversion earlier
Signed-off-by: jannfis <jann@mistrust.net >
* Rename limit to attempt
Signed-off-by: jannfis <jann@mistrust.net >
* Revert Makefile change
Signed-off-by: jannfis <jann@mistrust.net >
2022-02-16 12:52:38 +01:00
Jesse Suen
9ff7c0b9c7
feat: update gitops-engine to v0.5.1 and add additional tuning options ( #7917 )
...
Signed-off-by: Jesse Suen <jesse@akuity.io >
2021-12-13 18:39:25 -08:00
Alexander Matyushentsev
a21b0363e3
fix: Argo CD should provide apiversion and kinds to 'helm template' command ( #7519 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2021-10-25 16:52:19 -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
58ac345f2b
feat: support managing cluster resources in a namespaced mode ( #6581 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2021-07-19 11:58:58 -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
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
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
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
kshamajain99
7ad79e5e12
fix: fix memory leak in application controller ( #5604 )
...
fix: fix memory leak in application controller
2021-02-25 08:57:54 -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
a96b476f16
refactor: upgrade gitops-engine version ( breaking API changes related to logr mirgation ) ( #4652 )
2020-10-27 14:10:24 -07:00
Alexander Matyushentsev
303925f4a0
feat: Support controller horizontal scaling ( #4285 )
2020-10-09 13:16:54 -07:00
Alexander Matyushentsev
f215233af4
fix: limit concurrent list requests accross all clusters ( #4328 )
2020-09-14 14:45:02 -07:00
Alexander Matyushentsev
997f38d640
fix: cluster settings change is not applied correctly ( #4070 )
2020-08-10 16:13:06 -07:00
Alexander Matyushentsev
e0d0968b89
feat: support overriding default cluster re-sync duration ( #4014 )
2020-07-30 10:00:19 -07:00
May Zhang
067dcce88d
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